summaryrefslogtreecommitdiff
path: root/data/en_us/ddoscoo/2020-01-01
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/ddoscoo/2020-01-01
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/ddoscoo/2020-01-01')
-rw-r--r--data/en_us/ddoscoo/2020-01-01/api-docs.php32935
1 files changed, 16405 insertions, 16530 deletions
diff --git a/data/en_us/ddoscoo/2020-01-01/api-docs.php b/data/en_us/ddoscoo/2020-01-01/api-docs.php
index ba56247..bbaf3fc 100644
--- a/data/en_us/ddoscoo/2020-01-01/api-docs.php
+++ b/data/en_us/ddoscoo/2020-01-01/api-docs.php
@@ -1,331 +1,114 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'ddoscoo',
- 'version' => '2020-01-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2020-01-01'],
'directories' => [
[
- 'id' => 362006,
- 'title' => null,
+ 'children' => ['DescribeInstanceIds', 'ModifyElasticBizQps', 'ModifyQpsMode', 'DescribeInstanceExt'],
'type' => 'directory',
- 'children' => [
- 'ReleaseInstance',
- 'ModifyInstanceRemark',
- 'ModifyElasticBandWidth',
- 'DescribeInstanceIds',
- 'DescribeInstanceStatus',
- 'DescribeElasticBandwidthSpec',
- 'DescribeInstanceStatistics',
- 'DescribeInstances',
- 'DescribeInstanceSpecs',
- 'DescribeInstanceDetails',
- 'ModifyElasticBizQps',
- 'ModifyQpsMode',
- 'DescribeInstanceExt',
- ],
+ 'title' => 'Instance',
],
[
- 'id' => 362020,
- 'title' => null,
- 'type' => 'directory',
'children' => [
- 'CreateWebRule',
- 'DeleteWebRule',
- 'ModifyWebRule',
- 'ModifyTlsConfig',
- 'ModifyHttp2Enable',
- 'ModifyWebAccessMode',
- 'ModifyCnameReuse',
- 'DescribeWebRules',
- 'DescribeWebInstanceRelations',
- 'DescribeCerts',
- 'DescribeWebCustomPorts',
- 'DescribeWebAccessMode',
- 'DescribeCnameReuses',
- 'DescribeL7RsPolicy',
- 'AssociateWebCert',
- 'ConfigL7RsPolicy',
- 'ModifyOcspStatus',
- 'ConfigL7UsKeepalive',
- 'DescribeL7UsKeepalive',
- 'ModifyHeaders',
- 'DescribeHeaders',
- 'DescribeDomainH2Fingerprint',
- 'DescribeDomainTopReferer',
- 'DescribeDomainTopUserAgent',
- 'DescribeDomainTopFingerprint',
- 'DescribeDomainBps',
+ 'CreateWebRule', 'ModifyWebRule', 'ModifyTlsConfig', 'DescribeWebRules', 'DescribeCerts', 'DescribeWebCustomPorts', 'DescribeWebAccessMode', 'DescribeCnameReuses', 'DescribeL7RsPolicy', 'AssociateWebCert', 'ConfigL7RsPolicy', 'ConfigL7UsKeepalive', 'DescribeL7UsKeepalive', 'ModifyHeaders', 'DescribeHeaders', 'DescribeDomainH2Fingerprint', 'DescribeDomainTopReferer', 'DescribeDomainTopUserAgent', 'DescribeDomainTopFingerprint', 'DescribeDomainBps',
'DescribeDomainTopHttpMethod',
],
+ 'type' => 'directory',
+ 'title' => 'Domain name',
],
[
- 'id' => 362048,
- 'title' => null,
+ 'children' => ['CreateAsyncTask'],
'type' => 'directory',
- 'children' => [
- 'CreateAsyncTask',
- 'DeleteAsyncTask',
- ],
+ 'title' => 'Task',
],
[
- 'id' => 362051,
- 'title' => null,
+ 'children' => ['CreateNetworkRules', 'DescribeNetworkRules', 'ConfigNetworkRules'],
'type' => 'directory',
- 'children' => [
- 'CreateNetworkRules',
- 'DeleteNetworkRule',
- 'ModifyHealthCheckConfig',
- 'DescribeNetworkRules',
- 'DescribeHealthCheckStatus',
- 'ConfigNetworkRules',
- ],
+ 'title' => 'Network forwarding rule',
],
[
- 'id' => 362058,
- 'title' => null,
+ 'children' => ['DescribeSchedulerRules', 'SwitchSchedulerRule', 'DescribeCdnLinkageRules'],
'type' => 'directory',
- 'children' => [
- 'CreateSchedulerRule',
- 'DeleteSchedulerRule',
- 'ModifySchedulerRule',
- 'DescribeSchedulerRules',
- 'SwitchSchedulerRule',
- 'DescribeCdnLinkageRules',
- ],
+ 'title' => 'Traffic scheduler',
],
[
- 'id' => 362065,
- 'title' => null,
+ 'children' => ['AddAutoCcBlacklist', 'AddAutoCcWhitelist', 'DeleteAutoCcBlacklist', 'DescribeAutoCcBlacklist', 'DescribeBlackholeStatus', 'EmptyAutoCcBlacklist', 'EmptyAutoCcWhitelist', 'ConfigNetworkRegionBlock', 'ConfigUdpReflect'],
'type' => 'directory',
- 'children' => [
- 'AddAutoCcBlacklist',
- 'AddAutoCcWhitelist',
- 'DeleteAutoCcBlacklist',
- 'DeleteAutoCcWhitelist',
- 'ModifyBlackholeStatus',
- 'ModifyBlockStatus',
- 'DescribeAutoCcListCount',
- 'DescribeAutoCcBlacklist',
- 'DescribeAutoCcWhitelist',
- 'DescribeUnBlackholeCount',
- 'DescribeBlackholeStatus',
- 'DescribeNetworkRegionBlock',
- 'DescribeBlockStatus',
- 'DescribeUnBlockCount',
- 'EmptyAutoCcBlacklist',
- 'EmptyAutoCcWhitelist',
- 'ConfigNetworkRegionBlock',
- 'DescribeUdpReflect',
- 'ConfigUdpReflect',
- ],
+ 'title' => 'Infrastructure protection policy',
],
[
- 'id' => 362085,
- 'title' => null,
+ 'children' => ['CreateWebCCRule', 'DeleteWebPreciseAccessRule', 'EnableWebCCRule', 'ModifyWebCCRule', 'ModifyWebPreciseAccessRule', 'ModifyWebAreaBlockSwitch', 'ModifyWebAreaBlock', 'DescribeWebCcProtectSwitch', 'DescribeWebPreciseAccessRule', 'DescribeWebAreaBlockConfigs', 'ConfigWebIpSet', 'ConfigWebCCTemplate', 'DeleteWebCCRuleV2', 'DescribeWebCCRulesV2', 'ConfigWebCCRuleV2', 'ModifyWebCCGlobalSwitch', 'ConfigL7GlobalRule', 'DescribeL7GlobalRule', 'DescribeDomainCcProtectSwitch', 'ConfigDomainSecurityProfile'],
'type' => 'directory',
- 'children' => [
- 'CreateWebCCRule',
- 'DeleteWebCCRule',
- 'DeleteWebPreciseAccessRule',
- 'ModifyWebAIProtectSwitch',
- 'ModifyWebAIProtectMode',
- 'ModifyWebIpSetSwitch',
- 'EnableWebCC',
- 'DisableWebCC',
- 'EnableWebCCRule',
- 'DisableWebCCRule',
- 'ModifyWebCCRule',
- 'ModifyWebPreciseAccessSwitch',
- 'ModifyWebPreciseAccessRule',
- 'ModifyWebAreaBlockSwitch',
- 'ModifyWebAreaBlock',
- 'DescribeWebCcProtectSwitch',
- 'DescribeWebCCRules',
- 'DescribeWebPreciseAccessRule',
- 'DescribeWebAreaBlockConfigs',
- 'ConfigWebIpSet',
- 'ConfigWebCCTemplate',
- 'DeleteWebCCRuleV2',
- 'DescribeWebCCRulesV2',
- 'ConfigWebCCRuleV2',
- 'ModifyWebCCGlobalSwitch',
- 'ConfigL7GlobalRule',
- 'DescribeL7GlobalRule',
- 'DescribeDomainCcProtectSwitch',
- 'ConfigDomainSecurityProfile',
- ],
+ 'title' => 'Website service protection policy',
],
[
- 'id' => 362115,
- 'title' => null,
+ 'children' => ['ModifyNetworkRuleAttribute', 'DescribeHealthCheckList', 'DescribeNetworkRuleAttributes'],
'type' => 'directory',
- 'children' => [
- 'ModifyPortAutoCcStatus',
- 'ModifyNetworkRuleAttribute',
- 'DescribePortAutoCcStatus',
- 'DescribeDomains',
- 'DescribeHealthCheckList',
- 'DescribeNetworkRuleAttributes',
- ],
+ 'title' => 'Non-website service protection policy',
],
[
- 'id' => 362122,
- 'title' => null,
+ 'children' => ['AttachSceneDefenseObject', 'DetachSceneDefenseObject', 'DisableSceneDefensePolicy'],
'type' => 'directory',
- 'children' => [
- 'CreateSceneDefensePolicy',
- 'DeleteSceneDefensePolicy',
- 'ModifySceneDefensePolicy',
- 'AttachSceneDefenseObject',
- 'DetachSceneDefenseObject',
- 'EnableSceneDefensePolicy',
- 'DisableSceneDefensePolicy',
- 'DescribeSceneDefensePolicies',
- 'DescribeSceneDefenseObjects',
- ],
+ 'title' => 'Scenario-specific policy',
],
[
- 'id' => 362132,
- 'title' => null,
+ 'children' => ['DeleteWebCacheCustomRule'],
'type' => 'directory',
- 'children' => [
- 'DeleteWebCacheCustomRule',
- 'ModifyWebCacheSwitch',
- 'ModifyWebCacheMode',
- 'ModifyWebCacheCustomRule',
- 'DescribeWebCacheConfigs',
- ],
+ 'title' => 'Static page cache',
],
[
- 'id' => 362138,
- 'title' => null,
+ 'children' => ['DescribeDDosEventArea', 'DescribeDDosEventIsp', 'DescribeDDoSEvents', 'DescribeSlaEventList', 'DescribeAttackAnalysisMaxQps', 'DescribeDestinationPortEvent'],
'type' => 'directory',
- 'children' => [
- 'DescribeDDosEventMax',
- 'DescribeDDosEventArea',
- 'DescribeDDosEventAttackType',
- 'DescribeDDosEventIsp',
- 'DescribeDDosEventSrcIp',
- 'DescribeBackSourceCidr',
- 'DescribeDDosAllEventList',
- 'DescribeDDoSEvents',
- 'DescribeSlaEventList',
- 'DescribeDomainAttackEvents',
- 'DescribeDefenseCountStatistics',
- 'DescribeAttackAnalysisMaxQps',
- 'DescribeDestinationPortEvent',
- ],
+ 'title' => 'Attack analysis',
],
[
- 'id' => 362152,
- 'title' => null,
+ 'children' => ['DescribePortFlowList', 'DescribePortConnsList', 'DescribePortConnsCount', 'DescribePortAttackMaxFlow', 'DescribeDomainStatusCodeList', 'DescribeDomainStatusCodeCount', 'DescribeDomainTopAttackList', 'DescribeDomainViewTopUrl'],
'type' => 'directory',
- 'children' => [
- 'DescribePortFlowList',
- 'DescribePortConnsList',
- 'DescribePortConnsCount',
- 'DescribePortMaxConns',
- 'DescribePortAttackMaxFlow',
- 'DescribePortViewSourceCountries',
- 'DescribePortViewSourceIsps',
- 'DescribePortViewSourceProvinces',
- 'DescribeDomainQPSList',
- 'DescribeDomainStatusCodeList',
- 'DescribeDomainOverview',
- 'DescribeDomainStatusCodeCount',
- 'DescribeDomainTopAttackList',
- 'DescribeDomainViewSourceCountries',
- 'DescribeDomainViewSourceProvinces',
- 'DescribeDomainViewTopCostTime',
- 'DescribeDomainViewTopUrl',
- ],
+ 'title' => 'Monitoring report',
],
[
- 'id' => 362170,
- 'title' => null,
+ 'children' => ['DescribeSlsLogstoreInfo', 'DescribeDefenseRecords', 'EmptySlsLogstore'],
'type' => 'directory',
- 'children' => [
- 'EnableWebAccessLogConfig',
- 'ModifyFullLogTtl',
- 'DisableWebAccessLogConfig',
- 'DescribeWebAccessLogDispatchStatus',
- 'DescribeWebAccessLogStatus',
- 'DescribeLogStoreExistStatus',
- 'DescribeOpEntities',
- 'DescribeSlsAuthStatus',
- 'DescribeSlsLogstoreInfo',
- 'DescribeSlsOpenStatus',
- 'DescribeWebAccessLogEmptyCount',
- 'DescribeDefenseRecords',
- 'EmptySlsLogstore',
- ],
+ 'title' => 'Log',
],
[
- 'id' => 362184,
- 'title' => null,
+ 'children' => ['DescribeStsGrantStatus', 'DescribeAsyncTasks', 'DescribeSystemLog', 'DescribeElasticQps', 'DescribeElasticQpsRecord'],
'type' => 'directory',
- 'children' => [
- 'DescribeStsGrantStatus',
- 'DescribeAsyncTasks',
- 'DescribeSystemLog',
- 'DescribeElasticQps',
- 'DescribeElasticQpsRecord',
- ],
+ 'title' => 'System configuration and log',
],
[
- 'id' => 362190,
- 'title' => null,
+ 'children' => ['CreateTagResources', 'DeleteTagResources'],
'type' => 'directory',
- 'children' => [
- 'CreateTagResources',
- 'DeleteTagResources',
- 'DescribeTagKeys',
- 'DescribeTagResources',
- ],
+ 'title' => 'Tag',
],
[
- 'id' => 362195,
- 'title' => null,
+ 'children' => ['CreatePort', 'ModifyPort'],
'type' => 'directory',
- 'children' => [
- 'CreatePort',
- 'DeletePort',
- 'ModifyPort',
- 'DescribePort',
- ],
+ 'title' => 'Port',
],
[
- 'id' => 362200,
- 'title' => null,
+ 'children' => ['CreateDomainResource', 'DeleteDomainResource', 'DescribeDomainResource', 'ModifyDomainResource', 'ConfigLayer4Remark', 'ConfigLayer4RuleBakMode', 'ConfigLayer4RulePolicy'],
'type' => 'directory',
+ 'title' => 'Other',
+ ],
+ [
'children' => [
- 'CreateDomainResource',
- 'DeleteDomainResource',
- 'DescribeDomainResource',
- 'ModifyDomainResource',
- 'ConfigLayer4Remark',
- 'ConfigLayer4RuleBakMode',
- 'ConfigLayer4RulePolicy',
- 'DescribeLayer4RulePolicy',
- 'ModifyInstance',
+ 'CreateSceneDefensePolicy', 'CreateSchedulerRule', 'DeleteAsyncTask', 'DeleteAutoCcWhitelist', 'DeleteNetworkRule', 'DeletePort', 'DeleteSceneDefensePolicy', 'DeleteSchedulerRule', 'DeleteWebCCRule', 'DeleteWebRule', 'DescribeAutoCcListCount', 'DescribeAutoCcWhitelist', 'DescribeBackSourceCidr', 'DescribeBlockStatus', 'DescribeDDosAllEventList', 'DescribeDDosEventAttackType', 'DescribeDDosEventMax', 'DescribeDDosEventSrcIp', 'DescribeDefenseCountStatistics', 'DescribeDomainAttackEvents',
+ 'DescribeDomainOverview', 'DescribeDomainQPSList', 'DescribeDomainViewSourceCountries', 'DescribeDomainViewSourceProvinces', 'DescribeDomainViewTopCostTime', 'DescribeDomains', 'DescribeElasticBandwidthSpec', 'DescribeHealthCheckStatus', 'DescribeInstanceDetails', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeInstanceStatus', 'DescribeInstances', 'DescribeLayer4RulePolicy', 'DescribeLogStoreExistStatus', 'DescribeNetworkRegionBlock', 'DescribeOpEntities', 'DescribePort', 'DescribePortAutoCcStatus', 'DescribePortMaxConns',
+ 'DescribePortViewSourceCountries', 'DescribePortViewSourceIsps', 'DescribePortViewSourceProvinces', 'DescribeSceneDefenseObjects', 'DescribeSceneDefensePolicies', 'DescribeSlsAuthStatus', 'DescribeSlsOpenStatus', 'DescribeTagKeys', 'DescribeTagResources', 'DescribeUdpReflect', 'DescribeUnBlackholeCount', 'DescribeUnBlockCount', 'DescribeWebAccessLogDispatchStatus', 'DescribeWebAccessLogEmptyCount', 'DescribeWebAccessLogStatus', 'DescribeWebCCRules', 'DescribeWebCacheConfigs', 'DescribeWebInstanceRelations', 'DisableWebAccessLogConfig', 'DisableWebCC',
+ 'DisableWebCCRule', 'EnableSceneDefensePolicy', 'EnableWebAccessLogConfig', 'EnableWebCC', 'ModifyBlackholeStatus', 'ModifyBlockStatus', 'ModifyCnameReuse', 'ModifyElasticBandWidth', 'ModifyFullLogTtl', 'ModifyHealthCheckConfig', 'ModifyHttp2Enable', 'ModifyInstance', 'ModifyInstanceRemark', 'ModifyOcspStatus', 'ModifyPortAutoCcStatus', 'ModifySceneDefensePolicy', 'ModifySchedulerRule', 'ModifyWebAIProtectMode', 'ModifyWebAIProtectSwitch', 'ModifyWebAccessMode',
+ 'ModifyWebCacheCustomRule', 'ModifyWebCacheMode', 'ModifyWebCacheSwitch', 'ModifyWebIpSetSwitch', 'ModifyWebPreciseAccessSwitch', 'ReleaseInstance',
],
+ 'title' => 'Others',
+ 'type' => 'directory',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'ReleaseInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddAutoCcBlacklist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -334,22 +117,31 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106274',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106046',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro instance.'."\n"
+ ."\n"
+ .'> Call the **DescribeInstanceIds** operation to query the IDs of all Anti-DDoS Pro instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Blacklist',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IP addresses to add to the blacklist. This is a JSON array. Each object in the array contains the following field:'."\n"
+ ."\n"
+ .'- **src**: String. Required. The IP address to add.'."\n"
+ ."\n"
+ .'> You can add up to 2,000 IP addresses per request.', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExpireTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The expiration time for the blacklist entries, in seconds. Valid values: **300** to **604800**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '300', 'title' => ''],
],
],
'responses' => [
@@ -357,31 +149,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515',
- ],
+ 'RequestId' => ['description' => 'The request ID. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]',
- 'title' => 'ReleaseInstance',
- 'summary' => 'Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ 'title' => 'AddAutoCcBlacklist',
+ 'summary' => 'Adds IP addresses to the blacklist for an Anti-DDoS Pro instance.',
+ 'description' => '### QPS limit'."\n"
+ ."\n"
+ .'If you exceed the limit, your API calls are throttled, which may impact your business. To avoid throttling, call this operation at a reasonable rate.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyInstanceRemark' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AddAutoCcWhitelist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -390,36 +199,31 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106250',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106047',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy instance for which you want to add whitelist IP addresses.'."\n"
+ ."\n"
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
],
[
- 'name' => 'Remark',
+ 'name' => 'Whitelist',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the instance.'."\n"
- ."\n"
- .'The value can contain letters, digits, and some special characters, such as`, . + - * / _` The value can be up to 500 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'new-remark',
- ],
+ 'schema' => ['description' => 'The configuration of the whitelist IP addresses that you want to add. This parameter is a string that is converted from a JSON array. Each element in the JSON array is a struct of a whitelist IP address that contains the following parameter:'."\n"
+ ."\n"
+ .'- **src**: String type | Required | The IP address that you want to add to the whitelist.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]'],
+ ],
+ [
+ 'name' => 'ExpireTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'This parameter is deprecated.'."\n"
+ ."\n"
+ .'> This parameter specifies the validity period of blacklist IP addresses. Whitelist IP addresses are permanently valid by default. You do not need to set this parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '0'],
],
],
'responses' => [
@@ -427,72 +231,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceRemarkResponse>\\n <RequestId>7EFA2BA6-9C0A-4410-B735-FC337EB634A1</RequestId>\\n</ModifyInstanceRemarkResponse>","errorExample":""}]',
- 'title' => 'ModifyInstanceRemark',
- 'summary' => 'Modifies the description of an Anti-DDoS Proxy instance.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","type":"json"}]',
+ 'title' => 'AddAutoCcWhitelist',
+ 'summary' => 'Add whitelist IP addresses for an Anti-DDoS Proxy instance.',
+ 'description' => 'This operation adds whitelist IP addresses for a single Anti-DDoS instance, allowing the Anti-DDoS instance to directly forward request traffic from the specified IP addresses.'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'By default, whitelist IP addresses are permanently valid once added. If you no longer need a whitelist IP address, you can call [EmptyAutoCcWhitelist](~~157505~~) to remove all added whitelist IP addresses.'."\n"
+ ."\n"
+ .'### QPS limits'."\n"
+ ."\n"
+ .'The queries per second (QPS) limit for this operation is 10 per second per user. If the limit is exceeded, API calls will be throttled, which may affect your business. We recommend that you call this operation at an appropriate rate.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common parameters for API operations. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the **Examples** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyElasticBandWidth' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcWhitelist'],
+ ],
],
+ ],
+ 'AssociateWebCert' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '106239',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106049',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ElasticBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The new burstable protection bandwidth that you want to use. Unit: Gbit/s.'."\n"
- ."\n"
- .'> You can call the [DescribeElasticBandwidthSpec](~~91502~~) operation to query the available burstable protection bandwidth of the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '50',
- ],
+ 'name' => 'Domain',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> The instance must be in a normal state. You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'name' => 'CertId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The ID of the certificate.'."\n"
+ ."\n"
+ .'> If you specify a certificate ID, you do not need to specify a value for the CertName, Cert, and Key parameters. You can specify only one of this parameter and the CertIdentifier parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2404693', 'title' => ''],
+ ],
+ [
+ 'name' => 'CertName',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The name of the certificate.'."\n"
+ ."\n"
+ .'> You can specify the name of the certificate that you want to associate. This parameter must be used together with the Cert and Key parameters.', 'type' => 'string', 'required' => false, 'example' => 'example-cert'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Cert',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.'."\n"
+ ."\n"
+ .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSf*************************************************************************************************************************************************************************ZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Key',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.'."\n"
+ ."\n"
+ .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJT**************************************************************************************************************************************************************************qf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'CertIdentifier',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.'."\n"
+ ."\n"
+ .'> You can specify only one of this parameter and the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '9430680-cn-hangzhou'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'CertRegion',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The region of the certificate. Valid values: **cn-hangzhou** and **ap-southeast-1**. Default value: **cn-hangzhou**.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -500,32 +347,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyElasticBandWidthResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyElasticBandWidthResponse>","errorExample":""}]',
- 'title' => 'ModifyElasticBandWidth',
- 'summary' => 'Modifies the burstable protection bandwidth of a specified Anti-DDoS Proxy (Chinese Mainland) instance.',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
+ 'title' => 'AssociateWebCert',
+ 'summary' => 'Associates an SSL certificate with the forwarding rule of a website.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeInstanceIds' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2024-05-29T02:26:20.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateWebCert'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40F11005-A75C-4644-95F2-52A4E7D43E91\\"\\n}","type":"json"}]',
+ ],
+ 'AttachSceneDefenseObject' => [
+ 'summary' => 'Adds an object to a scenario-specific custom policy for protection.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -534,60 +386,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106150',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106050',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the policy.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''],
],
[
- 'name' => 'Edition',
+ 'name' => 'ObjectType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the instance to query. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
- .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
- .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n"
- .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n"
- .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '9',
- ],
+ 'schema' => ['description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.', 'type' => 'string', 'required' => true, 'example' => 'Domain', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Objects',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to query.'."\n"
- ."\n"
- .'If you do not configure this parameter, all instances are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The object that you want to add to the policy. Separate multiple objects with commas (,).', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -595,236 +416,191 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444',
- ],
- 'InstanceIds' => [
- 'description' => 'The ID, type, description, and IP version of the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'IpMode' => [
- 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n"
- ."\n"
- .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n"
- .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n",
- 'type' => 'string',
- 'example' => 'fnat',
- ],
- 'Edition' => [
- 'description' => 'The type of the instance. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
- .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
- .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the CMA mitigation plan'."\n"
- .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Sec-CMA mitigation plan'."\n"
- .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'IpVersion' => [
- 'description' => 'The IP version of the instance. Valid values:'."\n"
- ."\n"
- .'* **Ipv4**'."\n"
- .'* **Ipv6**'."\n",
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
- 'Remark' => [
- 'description' => 'The description of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'- **true**: yes'."\n"
+ ."\n"
+ .'- **false**: no', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"InstanceIds\\": [\\n {\\n \\"IpMode\\": \\"fnat\\",\\n \\"Edition\\": 9,\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceIdsResponse>\\n <RequestId>310A41FD-0990-5610-92E0-A6A55D7C6444</RequestId>\\n <InstanceIds>\\n <IpMode>fnat</IpMode>\\n <Edition>9</Edition>\\n <InstanceId>ddoscoo-cn-zvp2eibz****</InstanceId>\\n <IpVersion>Ipv4</IpVersion>\\n <Remark>test</Remark>\\n </InstanceIds>\\n</DescribeInstanceIdsResponse>","errorExample":""}]',
- 'title' => 'DescribeInstanceIds',
- 'summary' => 'The description of the instance.',
+ 'title' => 'AttachSceneDefenseObject',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeInstanceStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachSceneDefenseObject'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigDomainSecurityProfile' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106154',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106289',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy (Chinese Mainland) or Anti-DDoS Proxy (Outside Chinese Mainland) instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-6ja1y6p5****',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''],
],
[
- 'name' => 'ProductType',
+ 'name' => 'Config',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the Anti-DDoS Proxy instance to query. Valid values:'."\n"
- ."\n"
- .'* **1**: an Anti-DDoS Proxy (Chinese Mainland) instance'."\n"
- .'* **2**: an Anti-DDoS Proxy (Outside Chinese Mainland) instance'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The JSON string contains the configurations for the global mitigation policy:'."\n"
+ ."\n"
+ .'- **global\\_rule\\_mode**: The protection level of the global mitigation policy. This parameter is a string. Valid values:'."\n"
+ ."\n"
+ .' - **weak**: Loose'."\n"
+ ."\n"
+ .' - **default**: Normal'."\n"
+ ."\n"
+ .' - **hard**: Strict'."\n"
+ ."\n"
+ .'- **global\\_rule\\_enable**: Specifies whether to enable the global mitigation policy. This parameter is an integer. Valid values:'."\n"
+ ."\n"
+ .' - **0**: disabled'."\n"
+ ."\n"
+ .' - **1**: enabled'."\n"
+ ."\n"
+ .'The JSON string also contains the configuration for the blacklist/whitelist feature of a custom mitigation policy:'."\n"
+ ."\n"
+ .'- **bwlist\\_enable**: Specifies whether to enable the blacklist/whitelist feature. This parameter is an integer. Valid values:'."\n"
+ ."\n"
+ .' - **0**: disabled'."\n"
+ ."\n"
+ .' - **1**: enabled', 'type' => 'string', 'required' => true, 'example' => '{"global_rule_mode":"hard"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'Cluster',
+ 'in' => 'query',
+ 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response object.',
'type' => 'object',
'properties' => [
- 'InstanceStatus' => [
- 'description' => 'The status of the instance. Valid values:'."\n"
- ."\n"
- .'* **1**: normal'."\n"
- .'* **2**: expired'."\n"
- .'* **3**: overdue'."\n"
- .'* **4**: released'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-6ja1y6p5****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. A unique ID is returned for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '9728769F-9466-534E-BE12-CAB29A675828'],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceStatus\\": 1,\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-6ja1y6p5****\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeInstanceStatusResponse>\\r\\n\\t<RequestId>112777CC-2AD6-46FC-A263-00B931406FCD</RequestId>\\r\\n\\t<InstanceId>ddoscoo-cn-6ja1y6p5****</InstanceId>\\r\\n\\t<InstanceStatus>1</InstanceStatus>\\r\\n</DescribeInstanceStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeInstanceStatus',
- 'summary' => 'Queries the status of a specified Anti-DDoS Proxy instance.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeElasticBandwidthSpec' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'ConfigDomainSecurityProfile',
+ 'summary' => 'Configures the status and protection level of an Anti-DDoS Global Mitigation Policy.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigL7GlobalRule' => [
+ 'summary' => 'Configures an Anti-DDoS Global Mitigation Policy.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106142',
- 'abilityTreeNodes' => [
- 'FEATUREddosIJFWZ1',
- ],
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '254166',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The domain name of the website service to configure.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'RuleAttr',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The action and switch settings for global template rules. The value is a string that represents a JSON struct array. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .' - **RuleId**: String | Required | The rule ID.'."\n"
+ .' - **Action**: String | Required | The rule action. Valid values:'."\n"
+ .' - **block**: Block.'."\n"
+ .' - **watch**: Monitor.'."\n"
+ .' - **challenge**: JavaScript Challenge.'."\n"
+ .' - **Enabled**: Integer | Required | Specifies whether to enable the rule. Valid values:'."\n"
+ .' - **1**: enables the rule.'."\n"
+ .' - **0**: disables the rule.', 'type' => 'string', 'required' => true, 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'ElasticBandwidthSpec' => [
- 'description' => 'An array that consists of the available burstable protection bandwidths. Unit: Gbit/s.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The burstable protection bandwidth.'."\n",
- 'type' => 'string',
- 'example' => '5',
- ],
- ],
+ 'RequestId' => ['title' => '', 'description' => 'The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"5\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeElasticBandwidthSpecResponse>\\r\\n\\t<ElasticBandwidthSpec>5</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>10</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>20</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>30</ElasticBandwidthSpec>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeElasticBandwidthSpecResponse>","errorExample":""}]',
- 'title' => 'DescribeElasticBandwidthSpec',
- 'summary' => 'Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeInstanceStatistics' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'Configure an Anti-DDoS Global Mitigation Policy',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigL7RsPolicy' => [
+ 'summary' => 'Configures a back-to-origin policy for the forwarding rule of a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -833,34 +609,68 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106153',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106052',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The ID of the instance that you want to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of instance N to query. The maximum value of N is 200. You can specify up to 200 instances. Separate the IDs of multiple instances with commas (,).'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Policy',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The back-to-origin policy. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .'- **ProxyMode**: The load balancing algorithm for back-to-origin traffic. This field is required and must be a string. Valid values:'."\n"
+ ."\n"
+ .' - **ip\\_hash**: the IP hash algorithm. This algorithm is used to redirect requests from the same IP address to the same origin server.'."\n"
+ ."\n"
+ .' - **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn. If you use this algorithm, you can specify a weight for each server based on server performance.'."\n"
+ ."\n"
+ .' - **least\\_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n"
+ ."\n"
+ .'- **Attributes**: the parameters for back-to-origin processing. This field is optional and must be a JSON array. Each element in the array contains the following fields:'."\n"
+ ."\n"
+ .' - **RealServer**: the address of the origin server. This field is optional and must be a string.'."\n"
+ ."\n"
+ .' - **Attribute**: the parameter for back-to-origin processing. This field is optional and must be a JSON object. Valid values:'."\n"
+ ."\n"
+ .' - **Weight**: the weight of the server. This field is optional and must be an integer. This field takes effect only when **ProxyMode** is set to **rr**. Valid values: **1** to **100**. Default value: **100**. An origin server with a higher weight receives more requests.'."\n"
+ ."\n"
+ .' - **ConnectTimeout**: the timeout period for new connections. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n"
+ ."\n"
+ .' - **FailTimeout**: the period after which a connection is considered to have failed. This field is optional and must be an integer. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n"
+ ."\n"
+ .' - **MaxFails**: the maximum number of failures allowed. This field is related to health checks. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n"
+ ."\n"
+ .' - **Mode**: the primary/secondary attribute flag. This parameter is optional and must be a string. Valid values: **active** (primary) and **backup** (secondary).'."\n"
+ ."\n"
+ .' - **ReadTimeout**: the read timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n"
+ ."\n"
+ .' - **SendTimeout**: the write timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'string', 'required' => true, 'example' => '{"ProxyMode":"rr","Attributes":[{"RealServer":"1.***.***.1","Attribute":{"Weight":100,"ConnectTimeout":5,"FailTimeout":10,"MaxFails":3,"Mode":"active","ReadTimeout":120,"SendTimeout":120}},{"RealServer":"2.***.***.2","Attribute":{"Weight":100,"ConnectTimeout":5,"FailTimeout":10,"MaxFails":3,"Mode":"active","ReadTimeout":120,"SendTimeout":120}}]}', 'title' => ''],
+ ],
+ [
+ 'name' => 'UpstreamRetry',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The retry switch. Valid values:'."\n"
+ ."\n"
+ .'- **1**: on'."\n"
+ ."\n"
+ .'- **0**: off', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -868,268 +678,306 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE',
- ],
- 'InstanceStatistics' => [
- 'description' => 'The statistics on the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DomainUsage' => [
- 'description' => 'The number of domain names that are protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DefenseCountUsage' => [
- 'description' => 'The number of advanced mitigation sessions that are used in this month.'."\n"
- ."\n"
- .'> This parameter is returned only if Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'SiteUsage' => [
- 'description' => 'The number of websites that are protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PortUsage' => [
- 'description' => 'The number of ports that are protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"642319A9-D1F2-4459-A447-E57CFC599FDE\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 1,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceStatisticsResponse>\\n <RequestId>642319A9-D1F2-4459-A447-E57CFC599FDE</RequestId>\\n <InstanceStatistics>\\n <DomainUsage>1</DomainUsage>\\n <DefenseCountUsage>1</DefenseCountUsage>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <SiteUsage>1</SiteUsage>\\n <PortUsage>2</PortUsage>\\n </InstanceStatistics>\\n</DescribeInstanceStatisticsResponse>","errorExample":""}]',
- 'title' => 'DescribeInstanceStatistics',
- 'summary' => 'Queries the statistics on one or more Anti-DDoS Proxy instances, such as the numbers of protected domain names and ports.',
- 'requestParamsDescription' => ' ',
+ 'title' => 'ConfigL7RsPolicy',
+ 'description' => 'If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeInstances' => [
- 'summary' => '查询实例列表',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigL7RsPolicy'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigL7UsKeepalive' => [
+ 'summary' => 'Configures the persistent connection settings for back-to-origin requests of a domain name.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106151',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215883',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ .'> The domain name must have a website service forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'UpstreamKeepalive',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The persistent connection settings for back-to-origin requests of Anti-DDoS Proxy. The value is a string that represents a JSON struct. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .'- **enabled**: Boolean | Required | Specifies whether to enable persistent connections for back-to-origin requests.'."\n"
+ .'- **keepalive_requests**: Integer | Required | The number of requests that can be sent over a persistent connection.'."\n"
+ .'- **keepalive_timeout**: Integer | Required | The idle timeout period of a persistent connection.', 'type' => 'string', 'required' => true, 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DownstreamKeepalive',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The idle timeout period of the persistent connection between the client and Anti-DDoS Proxy.', 'type' => 'string', 'required' => false, 'example' => '60', 'title' => ''],
],
- [
- 'name' => 'Ip',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The IP address of the instance to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '203.107.XX.XX',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AW2'],
+ ],
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Configure back-to-origin persistent connection settings for a domain name',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Remark',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The remarks of the instance to query. Fuzzy match is supported.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doc-test',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigL7RsKeepalive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigLayer4Remark' => [
+ 'summary' => 'Adds a description to a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Edition',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The mitigation plan of the instance to query. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
- .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
- .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n"
- .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '9',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106053',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Enabled',
+ 'name' => 'Listeners',
'in' => 'query',
+ 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n"
+ ."\n"
+ .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
+ ."\n"
+ .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
+ ."\n"
+ .'Each port forwarding rule contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **Remark**: the remarks of the port forwarding rule. This field is required and must be of the STRING type. The value can contain letters, digits, and some special characters, such as `, . + - * / _`. The value can be up to 200 characters in length.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The traffic forwarding status of the instance to query. Valid values:'."\n"
- ."\n"
- .'* **0**: The instance no longer forwards service traffic.'."\n"
- .'* **1**: The instance forwards service traffic as expected.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'ConfigLayer4Remark',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4Remark'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigLayer4RuleBakMode' => [
+ 'summary' => 'Enables or disables the origin redundancy mode for a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ExpireStartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. Instances whose expiration time is later than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1640361500000',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106054',
+ 'abilityTreeNodes' => ['FEATUREddosCRC1QI'],
+ ],
+ 'parameters' => [
[
- 'name' => 'ExpireEndTime',
+ 'name' => 'BakMode',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. Instances whose expiration time is earlier than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1640361700000',
- ],
+ 'schema' => ['description' => 'The mode that you want to use to forward service traffic. Valid values:'."\n"
+ ."\n"
+ .'- **0**: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n"
+ ."\n"
+ .'- **1**: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Listeners',
'in' => 'query',
- 'style' => 'repeatList',
+ 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n"
+ ."\n"
+ .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
+ ."\n"
+ .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
+ ."\n"
+ .'Each port forwarding rule contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The IDs of the instances to query. You can specify up to 200 instance IDs.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-7pp2g9ed****',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''],
],
- 'required' => false,
- 'maxItems' => 100,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'ConfigLayer4RuleBakMode',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RuleBakMode'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigLayer4RulePolicy' => [
+ 'summary' => 'Configures the IP addresses of the primary and secondary origin servers for a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Status',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The states of the instances to query. You can specify up to two states.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The status of the instances to query. Valid values:'."\n"
- ."\n"
- .'* **1**: normal'."\n"
- .'* **2**: expired'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106055',
+ 'abilityTreeNodes' => ['FEATUREddosCRC1QI'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Tag',
+ 'name' => 'Listeners',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The tags that are added to the instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag that is added to the instance to query. You can specify up to 200 tag keys. When you specify tags, take note of the following rules:'."\n"
- ."\n"
- .'* Each tag consists of a key (**Key**) and a value (**Value**), which are separated with a comma (,).'."\n"
- .'* Separate multiple tags with commas (,).'."\n"
- ."\n"
- .'> The tag key (**Key**) and tag value (**Value**) must be specified in pairs.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-key',
- ],
- 'Value' => [
- 'description' => 'The value of the tag that is added to the instance to query. You can specify up to 200 tag values. When you specify tags, take note of the following rules:'."\n"
- ."\n"
- .'* Each tag consists of a key (**Key**) and a value (**Value**), which are separated with a comma (,).'."\n"
- .'* Separate multiple tags with commas (,).'."\n"
- ."\n"
- .'> The tag key (**Key**) and tag value (**Value**) must be specified in pairs.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-value',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n"
+ ."\n"
+ .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
+ ."\n"
+ .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
+ ."\n"
+ .'Each port forwarding rule contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **PriRealServers**: the IP addresses of the primary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the primary origin server. You can configure a maximum of 20 IP addresses.'."\n"
+ ."\n"
+ .' Each element in the JSON array contains the following field:'."\n"
+ ."\n"
+ .' - **RealServer**: the IP address of the primary origin server. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **SecRealServers**: the IP addresses of the secondary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the secondary origin server. You can configure a maximum of 20 IP addresses.'."\n"
+ ."\n"
+ .' Each element in the JSON array contains the following field:'."\n"
+ ."\n"
+ .' - **RealServer**: the IP address of the secondary origin server. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **CurrentRsIndex**: the origin server that you want to use to receive service traffic. This field is required and must be of the INTEGER type. Valid values:'."\n"
+ ."\n"
+ .' - **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
+ ."\n"
+ .' - **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"Protocol\\":\\"udp\\",\\"FrontendPort\\":2020,\\"BackendPort\\":2022,\\"PriRealServers\\":[{\\"RealServer\\":\\"192.0.2.1\\"},{\\"RealServer\\":\\"192.0.2.2\\"}],\\"SecRealServers\\":[{\\"RealServer\\":\\"192.0.2.3\\"},{\\"RealServer\\":\\"192.0.2.4\\"}],\\"CurrentRsIndex\\":1}]', 'title' => ''],
],
],
'responses' => [
@@ -1137,173 +985,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of the instances.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39',
- ],
- 'Instances' => [
- 'description' => 'The details about the instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The status of the instance. Valid values:'."\n"
- ."\n"
- .'* **1**: normal'."\n"
- .'* **2**: expired'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IpMode' => [
- 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n"
- ."\n"
- .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n"
- .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n",
- 'type' => 'string',
- 'example' => 'fnat',
- ],
- 'DebtStatus' => [
- 'description' => 'The overdue status of the instance. The value is fixed as **0**, which indicates that your Alibaba Cloud account does not have overdue payments. The instance supports only the subscription billing method.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Edition' => [
- 'description' => 'The mitigation plan of the instance. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
- .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
- .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n"
- .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'IpVersion' => [
- 'description' => 'The IP version of the instance. Valid values:'."\n"
- ."\n"
- .'* **Ipv4**'."\n"
- .'* **Ipv6**'."\n",
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
- 'ExpireTime' => [
- 'description' => 'The time when the instance expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1640361600000',
- ],
- 'Remark' => [
- 'description' => 'The remarks of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'doc-test',
- ],
- 'CreateTime' => [
- 'description' => 'The time when the instance was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1637751953000',
- ],
- 'Enabled' => [
- 'description' => 'The traffic forwarding status of the instance. Valid values:'."\n"
- ."\n"
- .'* **0**: The instance no longer forwards service traffic.'."\n"
- .'* **1**: The instance forwards service traffic as expected.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-7pp2g9ed****',
- ],
- 'IsFirstOpenBw' => [
- 'description' => 'Indicates whether the metering method of the 95th percentile burstable clean bandwidth is enabled for the instance. Valid values:'."\n"
- ."\n"
- .'* 0: no'."\n"
- .'* 1: yes'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'IsFirstOpenQps' => [
- 'description' => 'Indicates whether the metering method of the 95th percentile burstable QPS is enabled for the instance. Valid values:'."\n"
- ."\n"
- .'* 0: no'."\n"
- .'* 1: yes'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Ip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.199.XX.XX',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"IpMode\\": \\"fnat\\",\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"ExpireTime\\": 1640361600000,\\n \\"Remark\\": \\"doc-test\\",\\n \\"CreateTime\\": 1637751953000,\\n \\"Enabled\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-7pp2g9ed****\\",\\n \\"IsFirstOpenBw\\": 0,\\n \\"IsFirstOpenQps\\": 0,\\n \\"Ip\\": \\"203.199.XX.XX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstancesResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>A0AF40CC-814A-5A86-AEAA-6F19E88B8A39</RequestId>\\n <Instances>\\n <Status>1</Status>\\n <IpMode>fnat</IpMode>\\n <DebtStatus>0</DebtStatus>\\n <Edition>9</Edition>\\n <IpVersion>Ipv4</IpVersion>\\n <ExpireTime>1640361600000</ExpireTime>\\n <Remark>doc-test</Remark>\\n <CreateTime>1637751953000</CreateTime>\\n <Enabled>1</Enabled>\\n <InstanceId>ddoscoo-cn-7pp2g9ed****</InstanceId>\\n <IsFirstOpenBw>0</IsFirstOpenBw>\\n </Instances>\\n</DescribeInstancesResponse>","errorExample":""}]',
- 'title' => 'DescribeInstances',
- 'description' => 'You can call the DescribeInstances operation to query the details of Anti-DDoS Pro or Anti-DDoS Premium instances within the Alibaba Cloud account by page. The details include the ID, mitigation plan, expiration time, and forwarding status.',
- ],
- 'DescribeInstanceSpecs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ConfigLayer4RulePolicy',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RulePolicy'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigNetworkRegionBlock' => [
+ 'summary' => 'Configures blocked locations for an Anti-DDoS Proxy instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106152',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106056',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IDs of instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the configurations of blocked locations. This parameter is a JSON string. The value consists of the following fields:'."\n"
+ ."\n"
+ .'- **RegionBlockSwitch**: the status of the location blacklist feature. This field is required and must be of the string type. Valid values:'."\n"
+ ."\n"
+ .' - **on**'."\n"
+ ."\n"
+ .' - **off**'."\n"
+ ."\n"
+ .'- **Countries**: the codes of the countries and areas from which you want to block requests. This field is optional and must be of the array type.'."\n"
+ ."\n"
+ .' \\*\\*'."\n"
+ ."\n"
+ .' **Note** For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n"
+ ."\n"
+ .'- **Provinces**: the codes of the administrative regions in China from which you want to block requests. This field is optional and must be of the array type.'."\n"
+ ."\n"
+ .' \\*\\*'."\n"
+ ."\n"
+ .' **Note** For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n"
+ ."\n"
+ .' For example, `[11,12]` specifies Beijing and Tianjin.', 'type' => 'string', 'required' => true, 'example' => '{"RegionBlockSwitch":"on","Countries":[],"Provinces":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,54,61,62,63,64,65,71,81,82]}', 'title' => ''],
],
],
'responses' => [
@@ -1311,158 +1067,35 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B',
- ],
- 'InstanceSpecs' => [
- 'description' => 'The details of the specifications of the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'BaseBandwidth' => [
- 'description' => 'The basic protection bandwidth. Unit: Gbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'QpsLimit' => [
- 'description' => 'The clean QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3000',
- ],
- 'BandwidthMbps' => [
- 'description' => 'The clean bandwidth. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ElasticBw' => [
- 'description' => 'The burstable clean bandwidth. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'DefenseCount' => [
- 'description' => 'The number of available advanced mitigation sessions for this month. **-1**: unlimited'."\n"
- ."\n"
- .'> This parameter is returned only when the request parameter **RegionId** is set to **ap-southeast-1**. If RegionId is set to ap-southeast-1, the specifications of Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'SiteLimit' => [
- 'description' => 'The number of sites that can be protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'PortLimit' => [
- 'description' => 'The number of ports that can be protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ElasticBandwidth' => [
- 'description' => 'The burstable protection bandwidth. Unit: Gbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'FunctionVersion' => [
- 'description' => 'The function plan of the instance. Valid values:'."\n"
- ."\n"
- .'* **default**: Standard'."\n"
- .'* **enhance**: Enhanced'."\n"
- .'* **cnhk**: Chinese Mainland Acceleration (CMA)'."\n"
- .'* **cnhk_default**: Secure Chinese Mainland Acceleration (Sec-CMA) standard'."\n"
- .'* **cnhk_enhance**: Sec-CMA enhanced'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'DomainLimit' => [
- 'description' => 'The number of domain names that can be protected by the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ElasticBwModel' => [
- 'description' => 'The metering method of the burstable clean bandwidth. Valid values:'."\n"
- ."\n"
- .'* **day**: the metering method of daily 95th percentile'."\n"
- .'* **month**: the metering method of monthly 95th percentile'."\n",
- 'type' => 'string',
- 'example' => 'day',
- ],
- 'CpsLimit' => [
- 'description' => 'The specification of new connections of the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'ConnLimit' => [
- 'description' => 'The specification of concurrent connections of the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
- ],
- 'RealLimitBw' => [
- 'description' => 'The threshold of the clean bandwidth. Valid values: 0 to 15360. The value 0 indicates that rate limiting is never triggered. Unit: Mbit/s'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ElasticQpsMode' => [
- 'description' => 'The metering method of the burstable QPS. Valid values:'."\n"
- ."\n"
- .'* **day**: the metering method of daily 95th percentile'."\n"
- .'* **month**: the metering method of monthly 95th percentile'."\n",
- 'type' => 'string',
- 'example' => 'day',
- ],
- 'ElasticQps' => [
- 'description' => 'The burstable QPS. Unit: QPS'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 30,\\n \\"QpsLimit\\": 3000,\\n \\"BandwidthMbps\\": 100,\\n \\"ElasticBw\\": 300,\\n \\"DefenseCount\\": 2,\\n \\"SiteLimit\\": 5,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 30,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"DomainLimit\\": 50,\\n \\"ElasticBwModel\\": \\"day\\",\\n \\"CpsLimit\\": 5000,\\n \\"ConnLimit\\": 100000,\\n \\"RealLimitBw\\": 0,\\n \\"ElasticQpsMode\\": \\"day\\",\\n \\"ElasticQps\\": 10\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeInstanceSpecs',
- 'summary' => 'Queries the specifications of Anti-DDoS Pro or Anti-DDoS Premium instances.',
- 'description' => 'You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'title' => 'ConfigNetworkRegionBlock',
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- ],
- 'DescribeInstanceDetails' => [
- 'methods' => [
- 'post',
- 'get',
+ .'For more information about sample requests, see the **Examples** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRegionBlock'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigNetworkRules' => [
+ 'summary' => 'Modifies the IP addresses of the origin server that is configured in a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1471,31 +1104,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106149',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106057',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'NetworkRules',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IDs of instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n"
+ ."\n"
+ .'> You can modify only the value of **RealServers** when you modify a port forwarding rule.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}]', 'title' => ''],
],
],
'responses' => [
@@ -1503,120 +1134,32 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '3C814429-21A5-4673-827E-FDD19DC75681',
- ],
- 'InstanceDetails' => [
- 'description' => 'The IP address and ISP line information about the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Line' => [
- 'description' => 'The protection line of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'coop-line-001',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'EipInfos' => [
- 'description' => 'The IP address information about the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The status of the instance. Valid values:'."\n"
- ."\n"
- .'* **normal**: indicates that the instance is normal.'."\n"
- .'* **expired**: indicates that the instance expired.'."\n"
- .'* **defense**: indicates that traffic scrubbing is performed on the asset that is protected by the instance.'."\n"
- .'* **blackhole**: indicates that blackhole filtering is triggered for the asset that is protected by the instance.'."\n"
- .'* **punished**: indicates that the instance is in penalty.'."\n",
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'IpMode' => [
- 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n"
- ."\n"
- .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n"
- .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n",
- 'type' => 'string',
- 'example' => 'fnat',
- ],
- 'Eip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.117.XX.XX',
- ],
- 'IpVersion' => [
- 'description' => 'The IP version of the protocol. Valid values:'."\n"
- ."\n"
- .'* **Ipv4**: IPv4'."\n"
- .'* **Ipv6**: IPv6'."\n",
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
- 'CertConfigured' => [
- 'description' => 'Indicates whether a custom certificate is configured.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TlsVersion' => [
- 'description' => 'The Transport Layer Security (TLS) version that is configured.'."\n",
- 'type' => 'string',
- 'example' => 'tls1.2',
- ],
- 'Ssl13Enabled' => [
- 'description' => 'Indicates whether the TLS 1.3 version is supported.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FunctionVersion' => [
- 'description' => 'The type of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- ],
- 'description' => '',
- ],
- ],
- ],
- 'description' => '',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C814429-21A5-4673-827E-FDD19DC75681\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"EipInfos\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"IpMode\\": \\"fnat\\",\\n \\"Eip\\": \\"203.117.XX.XX\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"CertConfigured\\": true,\\n \\"TlsVersion\\": \\"tls1.2\\",\\n \\"Ssl13Enabled\\": false,\\n \\"FunctionVersion\\": \\"default\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceDetailsResponse>\\n <RequestId>3C814429-21A5-4673-827E-FDD19DC75681</RequestId>\\n <InstanceDetails>\\n <Line>coop-line-001</Line>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <EipInfos>\\n <Status>normal</Status>\\n <IpMode>fnat</IpMode>\\n <Eip>203.117.XX.XX</Eip>\\n <IpVersion>Ipv4</IpVersion>\\n </EipInfos>\\n </InstanceDetails>\\n</DescribeInstanceDetailsResponse>","errorExample":""}]',
- 'title' => 'DescribeInstanceDetails',
- 'summary' => 'Queries the IP addresses and Internet service provider (ISP) lines of Anti-DDoS Pro or Anti-DDoS Premium instances.',
- 'description' => 'You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- ],
- 'ModifyElasticBizQps' => [
- 'summary' => 'Configures the burstable QPS and mode of an Anti-DDoS Proxy instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ConfigNetworkRules',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRules'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigUdpReflect' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1628,49 +1171,60 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '172640',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeCode' => '106059',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''],
],
[
- 'name' => 'Mode',
+ 'name' => 'Config',
'in' => 'query',
- 'schema' => [
- 'description' => 'The metering method for the burstable QPS. Valid values:'."\n"
- ."\n"
- .'* **month**: monthly 95th percentile'."\n"
- .'* **day**: daily 95th percentile QPS'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'month',
- ],
+ 'schema' => ['description' => 'The configuration of the filtering policy for UDP reflection attacks.'."\n"
+ ."\n"
+ .'The value is a string that consists of a JSON struct. The JSON struct contains the following field:'."\n"
+ ."\n"
+ .'- **UdpSports**: the source ports of the UDP traffic that you want to block. This field is required and must be of the ARRAY type. Example: `[17,19]`.'."\n"
+ ."\n"
+ .' We recommend that you block the following source ports of UDP traffic:'."\n"
+ ."\n"
+ .' - UDP 17: QOTD reflection attacks'."\n"
+ ."\n"
+ .' - UDP 19: CharGEN reflection attacks'."\n"
+ ."\n"
+ .' - UDP 69: TFTP reflection attacks'."\n"
+ ."\n"
+ .' - UDP 111: Portmap reflection attacks'."\n"
+ ."\n"
+ .' - UDP 123: NTP reflection attacks'."\n"
+ ."\n"
+ .' - UDP 137: NetBIOS reflection attacks'."\n"
+ ."\n"
+ .' - UDP 161: SNMPv2 reflection attacks'."\n"
+ ."\n"
+ .' - UDP 389: CLDAP reflection attacks'."\n"
+ ."\n"
+ .' - UDP 1194: OpenVPN reflection attacks'."\n"
+ ."\n"
+ .' - UDP 1900: SSDP reflection attacks'."\n"
+ ."\n"
+ .' - UDP 3389: RDP reflection attacks'."\n"
+ ."\n"
+ .' - UDP 11211: memcached reflection attacks', 'type' => 'string', 'required' => true, 'example' => '{\\"UdpSports\\":[17,19]}', 'title' => ''],
],
[
- 'name' => 'OpsElasticQps',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The burstable QPS value.'."\n"
- ."\n"
- .'> The default value is 300,000 for the Chinese mainland and 150,000 for regions outside the Chinese mainland.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '300000',
- ],
+ 'schema' => ['description' => 'The region ID of the Anti-DDoS Proxy instance. Valid values:'."\n"
+ ."\n"
+ .'- **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n"
+ ."\n"
+ .'- **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -1678,33 +1232,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
- 'title' => 'ModifyElasticBizQps',
- 'description' => 'You can enable burstable QPS only for IPv4 instances.'."\n",
- ],
- 'ModifyQpsMode' => [
- 'summary' => 'Switches between the metering methods of the burstable clean bandwidth feature.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ConfigUdpReflect',
+ 'summary' => 'Adds the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance to filter out the source ports of UDP traffic.',
+ 'description' => 'You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigUdpReflect'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigWebCCRuleV2' => [
+ 'summary' => 'Creates or modifies a custom rule for frequency control (HTTP flood mitigation) of website services.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1716,69 +1278,127 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '169181',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeCode' => '198715',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the Anti-DDoS Pro instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-7e225i41****',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ .'> The domain name must have a website service forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''],
],
[
- 'name' => 'Mode',
+ 'name' => 'RuleList',
'in' => 'query',
- 'schema' => [
- 'description' => 'The metering method of QPS. Valid values:'."\n"
- ."\n"
- .'* **month**: monthly 95th percentile QPS.'."\n"
- .'* **day**: daily 95th percentile QPS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'month',
- ],
+ 'schema' => ['description' => 'The configuration of the frequency control rule, expressed as a JSON-formatted string with the following structure:'."\n"
+ .'- **action**: String type. Required. The matching action. Valid values:'."\n"
+ .' - **block**: Block.'."\n"
+ .' - **challenge**: JavaScript Challenge.'."\n"
+ .' - **watch**: Monitor.'."\n"
+ .'- **name**: String type. Required. The rule name.'."\n"
+ .'- **condition**: Map type. Required. The matching condition. The structure is as follows:'."\n"
+ ."\n"
+ .' > If multiple matching conditions are specified, the conditions are evaluated using the AND logic.'."\n"
+ ."\n"
+ .' - **field**: String type. Required. The matching field.'."\n"
+ .' - **match_method**: String type. Required. The matching method.'."\n"
+ .' '."\n"
+ .' > For the valid values of **field** and **match_method**, see the supplementary description below the request parameters table.'."\n"
+ ."\n"
+ .' - **header_name**: String type. Optional. The name of the custom HTTP header field.'."\n"
+ ."\n"
+ .' > This parameter takes effect only when **field** is set to **header**.'."\n"
+ ."\n"
+ .' - **content**: String type. Required. The matching content.'."\n"
+ .'- **ratelimit**: String type. Required. The frequency control field. You can collect frequency statistics by IP address or custom header. The structure is as follows:'."\n"
+ .' - **interval**: Integer type. Required. The statistical period (seconds).'."\n"
+ .' - **ttl**: Integer type. Required. The action duration (seconds).'."\n"
+ .' - **threshold**: Integer type. Required. The threshold (count).'."\n"
+ .' - **subkey**: String type. Optional. The field name. Set this parameter only when the statistical source is header.'."\n"
+ .' - **target**: String type. Required. The statistical source. Valid values: ip and header.'."\n"
+ .'- **status_code**: String type. Optional. The frequency control field. You can collect statistics based on the count or ratio of status codes. The structure is as follows:'."\n"
+ .' - **enabled**: Boolean type. Required. Specifies whether to enable status code statistics.'."\n"
+ .' - **code**: Integer type. Required. Enabling status code. Valid values: **100** to **599**.'."\n"
+ .' - **use_ratio**: Boolean type. Required. Specifies whether to use the ratio. If set to true, the ratio is used.'."\n"
+ .' - **ratio_threshold**: Integer type. Optional. The ratio at which enabling status code appears. When the ratio is used, the action is triggered only when the corresponding status code reaches **ratio_threshold**. Valid values: **1** to **100**.'."\n"
+ .' - **count_threshold**: Integer type. Optional. The count at which enabling status code appears. When the ratio is not used, the action is triggered only when the corresponding status code reaches **count_threshold**. Valid values: **2** to **50000**.'."\n"
+ .'- **statistics**: String type. Optional. The deduplication statistics. This parameter can be left empty, which indicates that deduplication is not performed. The structure is as follows:'."\n"
+ .' - **mode**: String type. Required. Specifies whether to enable deduplication statistics. Valid values:'."\n"
+ .' - **count**: deduplication disabled'."\n"
+ .' - **distinct**: deduplication enabled'."\n"
+ .' - **field**: String type. Required. The statistical source for deduplication. Valid values: ip, header, and uri.'."\n"
+ .' - **header_name**: String type. Optional. The field name. Set this parameter only when the statistical source is header.', 'type' => 'string', 'required' => true, 'example' => '[{"action":"block","name":"trdsss","statistics":{"mode":"count","field":"header","header_name":"hahah"},"ratelimit":{"interval":60,"ttl":300,"threshold":70,"target":"ip"},"status_code":{"enabled":true,"code":404,"use_ratio":true,"ratio_threshold":80,"count_threshold":2},"condition":[{"field":"ip","match_method":"belong","content":"1.1.1.1"}]}]', 'title' => ''],
+ ],
+ [
+ 'name' => 'Expires',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The validity period of the rule. Unit: seconds. Default value: 0, which indicates that the rule is permanently effective.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776',
- ],
+ 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Create or modify a custom frequency control rule for website services',
+ 'requestParamsDescription' => '**Valid values and mappings of field and match_method**'."\n"
+ ."\n"
+ .'| Match field (field) | Description | Applicable logical operators (match_method) |'."\n"
+ .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n"
+ .'| **ip** | The source IP address of the request. | **belong**: belongs to<br>**nbelong**: does not belong to<br>**ipinlist**: in the list<br>**ipninlist**: not in the list |'."\n"
+ .'| **uri** | The URI of the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**prefix**: prefix match<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **referer** | The source URL of the request, which indicates the page from which the request was redirected. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**nexist**: does not exist<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **user-agent** | The browser-related information of the client that initiates the request, such as the identifier of the browser, rendering engine identity, and version information. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **params** | Request parameter part of the request URL, which typically refers to the part after "?" in the URL. For example, `action=login` is request parameter part in `demo.aliyundoc.com/index.html?action=login`. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **cookie** | The cookie information in the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**nexist**: does not exist<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **content-type** | The HTTP content type (MIME type) specified in the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **x-forwarded-for** | The real IP address of the client. X-Forwarded-For (XFF) is an HTTP request header field used to identify the original IP address of a client that connects through an HTTP proxy or load balancer. This field is included only in requests forwarded through an HTTP proxy or load balancer. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**nexist**: does not exist<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **content-length** | The number of bytes contained in the request. | **vless**: value less than<br>**vequal**: value equals<br>**vgreat**: value greater than |'."\n"
+ .'| **post-body** | The body content of the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **http-method** | The method of the request, such as GET or POST. | **equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **header** | The header information of the request, used for custom HTTP header fields. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**nexist**: does not exist<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **scheme** | The protocol of the request, such as HTTP or HTTPS. | **equal**: equals<br>**nequal**: does not equal |'."\n"
+ .'| **protocol** | The HTTP version of the request, such as HTTP/1.0, HTTP/1.1, or HTTP/2.0. | <br>**equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **http2-fingerprint** | The HTTP 2.0 fingerprint of the request. | <br>**equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **ja3-fingerprint** | The JA3 fingerprint of the request. | <br>**equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **ja4-fingerprint** | The JA4 fingerprint of the request. | <br>**equal**: equals<br>**nequal**: does not equal<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **area** | The continent or country of the request. | <br>**areainlist**: location blacklist selection |'."\n"
+ .'| **uri-path** | The URI path of the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**prefix**: prefix match<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **cookie-name** | The custom cookie. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**prefix**: prefix match<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **query-parameter** | The custom query parameter. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length less than<br>**lequal**: length equals<br>**lgreat**: length greater than<br>**prefix**: prefix match<br>**inlist**: equals one of multiple values<br>**ninlist**: does not equal any of multiple values |'."\n"
+ .'| **server-port** | The server port of the request. | **vless**: value less than<br>**vequal**: value equals<br>**vgreat**: value greater than |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]',
- 'title' => 'ModifyQpsMode',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
],
- 'DescribeInstanceExt' => [
- 'summary' => 'Queries the information about Anti-DDoS Pro and Anti-DDoS Premium instances.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ConfigWebCCTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1787,256 +1407,125 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeCode' => '106060',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-i7m25564****',
- ],
+ 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS instance belongs in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ ."\n"
+ .'> The domain name must have website forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Template',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => 'The defense mode for Frequency Control (HTTP flood protection). Valid values:'."\n"
+ ."\n"
+ .'- **default**: Normal'."\n"
+ ."\n"
+ .'- **gf\\_under\\_attack**: Attack Emergency'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_verify**: Strict'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'InstanceExtSpecs' => [
- 'description' => 'The extended information about the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-i7m25564****'."\n",
- ],
- 'NormalBandwidth' => [
- 'description' => 'The clean bandwidth. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'FunctionVersion' => [
- 'description' => 'The function plan. Valid values:'."\n"
- ."\n"
- .'* **0**: Standard'."\n"
- .'* **1**: Enhanced'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServicePartner' => [
- 'description' => 'The Internet service provider (ISP) line of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'example' => 'coop-line-001',
- ],
- 'ProductPlan' => [
- 'description' => 'The type of the instance. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
- .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
- .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n"
- .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n"
- .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'description' => 'The total number of queried instances.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceExtSpecs\\": [\\n {\\n \\"InstanceId\\": \\"ddoscoo-cn-i7m25564****\\\\n\\",\\n \\"NormalBandwidth\\": 100,\\n \\"FunctionVersion\\": 0,\\n \\"ServicePartner\\": \\"coop-line-001\\",\\n \\"ProductPlan\\": 0\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","type":"json"}]',
- 'title' => 'DescribeInstanceExt',
- ],
- 'CreateWebRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ConfigWebCCTemplate',
+ 'summary' => 'Sets the defense mode for website HTTP flood protection (CC protection).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigWebCCTemplate'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'ConfigWebIpSet' => [
+ 'summary' => 'Configures the IP blacklist and whitelist for a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106075',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106061',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance is added to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website that you want to add to the instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A website forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'RsType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The address type of the origin server. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address'."\n"
- .'* **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
- ],
- [
- 'name' => 'Rules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the forwarding rule. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n"
- ."\n"
- .'* **ProxyRules**: the information about the origin server. The information includes the port number and IP address. This field is required and must be a JSON array. Each element in a JSON array is a JSON struct that contains the following fields:'."\n"
- ."\n"
- .' * **ProxyPort**: the port number. This field is required and must be an integer.'."\n"
- .' * **RealServers**: the IP address. This field is required and must be a string array.'."\n"
- ."\n"
- .'* **ProxyType**: the protocol type. This field is required and must be a string. Valid values: **http**, **https**, **websocket**, and **websockets**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]',
- ],
- ],
- [
- 'name' => 'HttpsExt',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n"
- ."\n"
- .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n"
- ."\n"
- .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
- ."\n"
- .' After you turn on Enable HTTP/2, the protocol type is HTTP/2.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}',
- ],
- ],
- [
- 'name' => 'DefenseId',
+ 'name' => 'BlackList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the associated defense. This parameter applies to scenarios in which other cloud services, such as Object Storage Service (OSS), are integrated with Anti-DDoS Pro or Anti-DDoS Premium.'."\n"
- ."\n"
- .'> This parameter is in internal preview. Do not use this parameter.'."\n"
- ."\n"
- .'For example, if you integrate OSS with Anti-DDoS Pro or Anti-DDoS Premium, Anti-DDoS Pro or Anti-DDoS Premium allocates an IP address pool for the OSS production account. Each IP address corresponds to a unique defense ID. A defense ID is a CNAME, which is automatically resolved to the IP address of the required Anti-DDoS Pro or Anti-DDoS Premium instance. A defense ID can be resolved to the same IP address to facilitate scheduling.'."\n"
- ."\n"
- .'> You can specify only one of the following parameters: **InstanceIds** and **DefenseId**.'."\n",
- 'type' => 'string',
+ 'description' => 'The list of IP addresses or address segments to add to the blacklist. You can add up to 200 IP addresses or address segments.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address or address segment to add to the blacklist.', 'type' => 'string', 'required' => false, 'example' => '59.49.*.*', 'title' => ''],
'required' => false,
- 'example' => 'testid',
+ 'example' => '1.1.1.1',
+ 'maxItems' => 2000,
+ 'title' => '',
],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'WhiteList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n",
+ 'description' => 'The IP addresses or CIDR blocks for the whitelist. You can add up to 200 IP addresses or CIDR blocks.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instance is associated with the website.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-i7m27nf3****',
- ],
+ 'items' => ['description' => 'An IP address or address segment in the whitelist.', 'type' => 'string', 'required' => false, 'example' => '2.2.*.*/24', 'title' => ''],
'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => '2.2.2.2/24',
+ 'maxItems' => 2000,
+ 'title' => '',
],
],
],
@@ -2045,32 +1534,33 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateWebRuleResponse>\\n <RequestId>9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7</RequestId>\\n</CreateWebRuleResponse>","errorExample":""}]',
- 'summary' => 'Creates a forwarding rule for a website.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'title' => 'ConfigWebIpSet',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteWebRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-20T08:09:24.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ConfigWebIpSet'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'CreateAsyncTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2079,37 +1569,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106091',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106062',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
],
[
- 'name' => 'Domain',
+ 'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website from which you want to delete the forwarding rule.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The type of the task to create. Valid values:'."\n"
+ ."\n"
+ .'- **1**: A Layer 4 export task, which exports the port forwarding rules of an Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **2**: A Layer 7 export task, which exports website traffic forwarding rules.'."\n"
+ ."\n"
+ .'- **3**: A session and health check export task, which exports the session persistence and health check configurations of an Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **4**: A DDoS mitigation policy export task, which exports the DDoS mitigation policy configurations of an Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **5**: A blacklist (for destination IP addresses) download task, which exports the blacklisted IP addresses for an Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **6**: A whitelist (for destination IP addresses) download task, which exports the whitelisted IP addresses for an Anti-DDoS instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '5'],
+ ],
+ [
+ 'name' => 'TaskParams',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parameters of the task. Specify the parameters as a JSON string. The required parameters vary based on the value of **TaskType**.'."\n"
+ ."\n"
+ .'If you set **TaskType** to **1**, **3**, **4**, **5**, or **6**, the task parameters are structured as follows.'."\n"
+ ."\n"
+ .'- **instanceId**: The ID of the Anti-DDoS instance. This is a required string.'."\n"
+ ."\n"
+ .'If you set **TaskType** to **2**, the task parameters are structured as follows.'."\n"
+ ."\n"
+ .'- **domain**: The domain name of the website. This is an optional string. If you do not specify this parameter, the forwarding rules for all websites are exported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'],
],
],
'responses' => [
@@ -2117,29 +1616,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]',
- 'title' => 'DeleteWebRule',
- 'summary' => 'Deletes a forwarding rule of a website.',
- ],
- 'ModifyWebRule' => [
- 'summary' => 'Modifies the forwarding rule of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'CreateAsyncTask',
+ 'summary' => 'Creates an asynchronous export task to export website traffic forwarding rules, port forwarding rules, session persistence and health check configurations, DDoS mitigation policies, and IP blacklists and whitelists.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAsyncTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateAsyncTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'CreateDomainResource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2148,51 +1663,17 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106271',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106066',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
- ],
- [
- 'name' => 'ProxyTypes',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The protocol of the forwarding rule. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n"
- ."\n"
- .'* **ProxyType**: the protocol type. This field is required and must be a string. Valid values: **http**, **https**, **websocket**, and **websockets**.'."\n"
- .'* **ProxyPort**: the port number. This field is required and must be an array.',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]',
- ],
+ 'schema' => ['description' => 'The domain name of the website that you want to add to the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''],
],
[
'name' => 'RsType',
@@ -2200,34 +1681,50 @@
'schema' => [
'description' => 'The address type of the origin server. Valid values:'."\n"
."\n"
- .'* **0**: IP address.'."\n"
- .'* **1**: domain name. Use the domain name of the origin server if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.'."\n",
+ .'- **0**: IP address.'."\n"
+ ."\n"
+ .'- **1**: domain name.'."\n"
+ ."\n"
+ .' This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.',
'type' => 'integer',
'format' => 'int32',
'required' => true,
+ 'enum' => ['0', '1'],
'example' => '0',
+ 'title' => '',
],
],
[
'name' => 'HttpsExt',
'in' => 'query',
+ 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .'- **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n"
+ ."\n"
+ .'- **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n"
+ ."\n"
+ .'- **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' After you turn on the switch, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of **ProxyType** includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website supports both HTTP and HTTPS, this feature suits your needs. If you turn on the switch, all HTTP requests are redirected to HTTPS requests on port 443 by default.'."\n"
- ."\n"
- .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website does not support HTTPS, this feature suits your needs. If you turn on the switch, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. The feature can also redirect WebSockets requests to WebSocket requests. All requests are redirected over port 80.'."\n"
- ."\n"
- .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
+ 'description' => 'An array consisting of the IDs of instances that you want to associate.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n"
."\n"
- .' After you turn on the switch, the protocol type is HTTP/2.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'required' => true,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -2235,80 +1732,108 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'An array that consists of the addresses of origin servers.',
'type' => 'array',
- 'items' => [
- 'description' => 'The address of the origin server.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.XX.XX.2',
- ],
+ 'items' => ['description' => 'The address of the origin server.'."\n"
+ ."\n"
+ .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''],
'required' => true,
- 'example' => '1.xxx.xxx.1',
- 'maxItems' => 20,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'ProxyTypes',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'flat',
'schema' => [
- 'description' => '',
+ 'description' => 'The details about the protocol type and port number.',
'type' => 'array',
'items' => [
- 'description' => 'The ID of instance N that you want to associate.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProxyPorts' => [
+ 'description' => 'The port numbers.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The port number.'."\n"
+ ."\n"
+ .'> You must specify a port within the port range supported by the Anti-DDoS Proxy instance. For more information, see [Custom non-standard ports](~~127433~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
+ 'required' => true,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ProxyType' => [
+ 'description' => 'The type of the protocol. Valid values:'."\n"
+ ."\n"
+ .'- **http**'."\n"
+ ."\n"
+ .'- **https**'."\n"
+ ."\n"
+ .'- **websocket**'."\n"
+ ."\n"
+ .'- **websockets**',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['http', 'https', 'websocket', 'websockets'],
+ 'example' => 'http',
+ 'title' => '',
+ ],
+ ],
'required' => false,
- 'example' => 'ddoscoo-cn-i7m27nf3****',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 20,
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The data body that is returned for the request.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'UpStreamConfigConflict',
- 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.',
+ 'title' => 'CreateDomainResource',
+ 'summary' => 'Creates a forwarding rule for a website.',
+ 'changeSet' => [
+ ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDomainResource'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]',
- 'title' => 'ModifyWebRule',
- 'description' => '## Debugging'."\n"
- ."\n"
- .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=ddoscoo\\&api=ModifyWebRule\\&type=RPC\\&version=2020-01-01)'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
],
- 'ModifyTlsConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateNetworkRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2317,57 +1842,27 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106258',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106069',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
- ],
- [
- 'name' => 'Config',
+ 'name' => 'NetworkRules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the TLS policy. The value is a JSON string that contains the following fields:'."\n"
- ."\n"
- .'* **ssl_protocols**: the version of TLS. This field is required. Data type: string. Valid values:'."\n"
- ."\n"
- .' * **tls1.0**: TLS 1.0 and later'."\n"
- .' * **tls1.1**: TLS 1.1 and later'."\n"
- .' * **tls1.2**: TLS 1.2 and later'."\n"
- ."\n"
- .'* **ssl_ciphers**: the type of the cipher suite. This field is required. Data type: string. Valid values:'."\n"
- ."\n"
- .' * **all**: all cipher suites, which include strong and weak cipher suites'."\n"
- .' * **improved**: enhanced cipher suites'."\n"
- .' * **strong**: strong cipher suites'."\n"
- .' * **default**: default cipher suites, which include only strong cipher suites'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"ssl_protocols":"tls1.0","ssl_ciphers":"all"}',
- ],
+ 'schema' => ['description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
+ ."\n"
+ .'- **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2"]}]', 'title' => ''],
],
],
'responses' => [
@@ -2375,31 +1870,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyTlsConfigResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</ModifyTlsConfigResponse>","errorExample":""}]',
- 'title' => 'ModifyTlsConfig',
- 'summary' => 'Modifies the Transport Layer Security (TLS) policy configuration for the forwarding rule of a website.',
+ 'title' => 'CreateNetworkRules',
+ 'summary' => 'Creates a port forwarding rule.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyHttp2Enable' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetworkRules'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePort' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2408,81 +1908,102 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106249',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106070',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The frontend port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'FrontendProtocol',
'in' => 'query',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**: TCP'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
+ .'- **udp**: UDP',
'type' => 'string',
'required' => true,
- 'example' => 'www.aliyun.com',
+ 'enum' => ['tcp', 'udp'],
+ 'example' => 'tcp',
+ 'title' => '',
],
],
[
- 'name' => 'Enable',
+ 'name' => 'InstanceId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro instance for the port forwarding rule.'."\n"
+ ."\n"
+ .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all your Anti-DDoS Pro instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''],
+ ],
+ [
+ 'name' => 'BackendPort',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The backend port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => false, 'example' => '55', 'title' => ''],
+ ],
+ [
+ 'name' => 'RealServers',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Specifies whether to enable HTTP/2. Valid values:'."\n"
- ."\n"
- .'* **0**: disables HTTP/2.'."\n"
- .'* **1**: enables HTTP/2.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'A list of real server IP addresses.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A real server IP address.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''],
'required' => true,
- 'example' => '1',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'ProxyEnable',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The proxy switch. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled.'."\n"
+ ."\n"
+ .'- **1**: Enabled.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyHttp2EnableResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</ModifyHttp2EnableResponse>","errorExample":""}]',
- 'title' => 'ModifyHttp2Enable',
- 'summary' => 'Enables or disables HTTP/2 for the forwarding rule of a website.',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebAccessMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]',
+ 'title' => 'CreatePort',
+ 'summary' => 'Creates a port forwarding rule.',
+ 'description' => 'This operation supports integration with Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePort'],
+ ],
],
+ 'ramActions' => [],
+ ],
+ 'CreateSceneDefensePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2491,39 +2012,40 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106259',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106071',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpolicy', 'title' => ''],
+ ],
+ [
+ 'name' => 'Template',
'in' => 'query',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'The template of the policy. Valid values:'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
+ .'* **promotion**: important activity.'."\n"
+ .'* **bypass**: all traffic forwarded.'."\n",
'type' => 'string',
'required' => true,
- 'example' => 'www.aliyun.com',
+ 'example' => 'promotion',
+ 'enum' => ['promotion'],
+ 'title' => '',
],
],
[
- 'name' => 'AccessMode',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n"
- ."\n"
- .'* **0**: A record mode'."\n"
- .'* **1**: anti-DDoS mode'."\n"
- .'* **2**: origin redundancy mode'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The start time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000', 'title' => ''],
],
],
'responses' => [
@@ -2531,28 +2053,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebAccessModeResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAccessModeResponse>","errorExample":""}]',
- 'title' => 'ModifyWebAccessMode',
- 'summary' => 'Changes the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.',
- ],
- 'ModifyCnameReuse' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<CreateSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</CreateSceneDefensePolicyResponse>","errorExample":""}]',
+ 'title' => 'CreateSceneDefensePolicy',
+ 'summary' => 'Creates a scenario-specific custom policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSceneDefensePolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateSchedulerRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2561,58 +2104,69 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106229',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106072',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'Rules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
+ ."\n"
+ .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n"
+ ."\n"
+ .' * **A**: IP address'."\n"
+ .' * **CNAME**: domain name'."\n"
+ ."\n"
+ .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n"
+ ."\n"
+ .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n"
+ ."\n"
+ .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n"
+ ."\n"
+ .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
+ .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n"
+ .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n"
+ .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n"
+ .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n"
+ ."\n"
+ .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', 'title' => ''],
],
[
- 'name' => 'Cname',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The CNAME record that you want to reuse for the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '4o6ep6q217k9****.aliyunddos0004.com',
- ],
+ 'schema' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
],
[
- 'name' => 'Enable',
+ 'name' => 'RuleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable CNAME reuse. Valid values:'."\n"
- ."\n"
- .'* **0:** disabled'."\n"
- .'* **1:** enabled'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The type of the rule. Valid values:'."\n"
+ ."\n"
+ .'* **2**: tiered protection'."\n"
+ .'* **3**: network acceleration'."\n"
+ .'* **5**: Alibaba Cloud CDN (CDN) interaction'."\n"
+ .'* **6**: cloud service interaction'."\n"
+ .'* **8**: secure acceleration'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''],
+ ],
+ [
+ 'name' => 'Param',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
+ ."\n"
+ .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n"
+ ."\n"
+ .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. ParamData contains the following parameters:'."\n"
+ ."\n"
+ .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n"
+ .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n"
+ .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n"
+ .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', 'title' => ''],
],
],
'responses' => [
@@ -2620,33 +2174,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', 'title' => ''],
+ 'Cname' => ['description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n"
+ ."\n"
+ .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com', 'title' => ''],
+ 'RuleName' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'testrule', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyCnameReuseResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyCnameReuseResponse>","errorExample":""}]',
- 'title' => 'ModifyCnameReuse',
- 'summary' => 'Enables or disables CNAME reuse for a website.',
- 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSchedulerRuleResponse>\\n <RequestId>8DFB602D-1AAC-46C4-90F2-C84086E7A6E4</RequestId>\\n <Cname>48k7b372gpl4****.aliyunddos0001.com</Cname>\\n <RuleName>testrule</RuleName>\\n</CreateSchedulerRuleResponse>","errorExample":""}]',
+ 'title' => 'CreateSchedulerRule',
+ 'summary' => 'Creates a scheduling rule for Sec-Traffic Manager.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebRules' => [
- 'summary' => 'Query Configuration of Website Business Forwarding Rules.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSchedulerRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateTagResources' => [
+ 'summary' => 'Adds tags to multiple Anti-DDoS Proxy instances at a time.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2655,106 +2226,68 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106211',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '106073',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID of the DDoS protection instance in the resource management service.'."\n"
- ."\n"
- .'Not setting this parameter indicates the default resource group.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website to query.'."\n"
- ."\n"
- .'> The domain must have been configured with website business forwarding rules. You can call [DescribeDomains](~~DescribeDomains~~) to query all domains that have been configured with website business forwarding rules.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'Cname',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The CNAME address to query.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'kzmk7b8tt351****.aliyunddos1014****',
- 'maxLength' => 128,
- 'minLength' => 3,
- ],
+ 'schema' => ['description' => 'The region ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'QueryDomainPattern',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The query matching pattern. Values:'."\n"
- .'- **fuzzy** (default): Indicates fuzzy query.'."\n"
- .'- **exact**: Indicates exact query.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exact',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The page number. Default value: **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of entries per page. Valid values: **1** to **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- 'default' => '10',
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to which you want to add tags.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to which you want to add tags.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'required' => true,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 51,
+ 'title' => '',
],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The list of DDoS protection instance IDs to query.',
+ 'description' => 'An array that consists of the tags to add.',
'type' => 'array',
'items' => [
- 'description' => 'The ID of the DDoS protection instance to query. The maximum value of N is 200, meaning up to 200 DDoS protection instances can be configured, with instance IDs separated by a comma (,).'."\n"
- ."\n"
- .'> You can call [DescribeInstanceIds](~~DescribeInstanceIds~~) to query the IDs of all DDoS protection instances.',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The key of the tag to add.', 'type' => 'string', 'required' => false, 'example' => 'testkey', 'title' => ''],
+ 'Value' => ['description' => 'The value of the tag to add.', 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''],
+ ],
'required' => false,
- 'example' => 'ddoscoo-cn-i7m27nf3****',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -2763,481 +2296,244 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of queried website business forwarding rules.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8',
- ],
- 'WebRules' => [
- 'description' => 'The configurations of the forwarding rule.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Http2HttpsEnable' => [
- 'description' => 'Indicates whether Enable HTTPS Redirection was turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SslProtocols' => [
- 'description' => 'The version of the Transport Layer Security (TLS) protocol. Valid values:'."\n"
- ."\n"
- .'* **tls1.0**: TLS 1.0 or later'."\n"
- .'* **tls1.1**: TLS 1.1 or later'."\n"
- .'* **tls1.2**: TLS 1.2 or later'."\n",
- 'type' => 'string',
- 'example' => 'tls1.1',
- ],
- 'PunishReason' => [
- 'description' => 'The reason why the domain name is invalid. Valid values:'."\n"
- ."\n"
- .'* **1**: No Content Provider (ICP) filing is completed for the domain name.'."\n"
- .'* **2**: The business for which you registered the domain name does not meet regulatory requirements.'."\n"
- ."\n"
- .'If the two reasons are both involved, the value **2** is returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CcTemplate' => [
- 'description' => 'The mode of the Frequency Control policy. Valid values:'."\n"
- ."\n"
- .'* **default**: the Normal mode'."\n"
- .'* **gf_under_attack**: the Emergency mode'."\n"
- .'* **gf_sos_verify**: the Strict mode'."\n"
- .'* **gf_sos_verify**: the Super Strict mode'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'CcEnabled' => [
- 'description' => 'Indicates whether the Frequency Control policy is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SslCiphers' => [
- 'description' => 'The type of the cipher suite. Valid values:'."\n"
- ."\n"
- .'* **default**: custom cipher suites'."\n"
- .'* **all**: all cipher suites, which contain strong and weak cipher suites'."\n"
- .'* **strong**: strong cipher suites'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Ssl13Enabled' => [
- 'description' => 'Indicates whether TLS 1.3 is supported. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CcRuleEnabled' => [
- 'description' => 'Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'OcspEnabled' => [
- 'description' => 'Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'PunishStatus' => [
- 'description' => 'Indicates whether the domain name is invalid. Valid values:'."\n"
- ."\n"
- .'* **true**: You can view the specific reasons from the **PunishReason** parameter.'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ProxyEnabled' => [
- 'description' => 'Indicates whether the forwarding rule is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CertName' => [
- 'description' => 'The name of the SSL certificate.'."\n",
- 'type' => 'string',
- 'example' => 'testcert',
- ],
- 'PolicyMode' => [
- 'description' => 'The load balancing algorithm for back-to-origin traffic. Valid values:'."\n"
- ."\n"
- .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n"
- .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n"
- .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.'."\n",
- 'type' => 'string',
- 'example' => 'ip_hash',
- ],
- 'Cname' => [
- 'description' => 'The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.'."\n",
- 'type' => 'string',
- 'example' => 'kzmk7b8tt351****.aliyunddos1014****',
- ],
- 'Http2Enable' => [
- 'description' => 'Indicates whether Enable HTTP/2 is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Https2HttpEnable' => [
- 'description' => 'Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ProxyTypes' => [
- 'description' => 'The details of the protocol type and port number.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProxyType' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **http**'."\n"
- .'* **https**'."\n"
- .'* **websocket**'."\n"
- .'* **websockets**'."\n",
- 'type' => 'string',
- 'example' => 'https',
- ],
- 'ProxyPorts' => [
- 'description' => 'The ports.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The port number.'."\n",
- 'type' => 'string',
- 'example' => '443',
- ],
- ],
- ],
- ],
- ],
- 'RealServers' => [
- 'description' => 'The details of the origin server address.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'RsType' => [
- 'description' => 'The type of the origin server address. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address'."\n"
- .'* **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RealServer' => [
- 'description' => 'The address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '192.0.XX.XX',
- ],
- ],
- ],
- ],
- 'WhiteList' => [
- 'description' => 'The IP addresses in the whitelist for the domain name.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address in the whitelist for the domain name.'."\n"
- ."\n"
- .'> This parameter is returned only when the IP address whitelist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n",
- 'type' => 'string',
- 'example' => '192.168.XX.XX',
- ],
- ],
- 'BlackList' => [
- 'description' => 'The IP addresses in the blacklist for the domain name.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address in the blacklist for the domain name.'."\n"
- ."\n"
- .'> This parameter is returned only when the IP address blacklist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n",
- 'type' => 'string',
- 'example' => '192.0.XX.XX',
- ],
- ],
- 'CustomCiphers' => [
- 'description' => 'The custom cipher suites.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The custom cipher suite.'."\n",
- 'type' => 'string',
- 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256',
- ],
- ],
- 'GmCert' => [
- 'description' => 'The SM certificate settings.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'CertId' => [
- 'description' => 'The ID of the SM certificate.'."\n",
- 'type' => 'string',
- 'example' => '725****',
- ],
- 'GmEnable' => [
- 'description' => 'Indicates whether Enable SM Certificate-based Verification is turned on.'."\n"
- ."\n"
- .'* 0: no'."\n"
- .'* 1: yes'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'GmOnly' => [
- 'description' => 'Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.'."\n"
- ."\n"
- .'* 0: no'."\n"
- .'* 1: yes'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- ],
- ],
- 'CertRegion' => [
- 'description' => 'The region where the certificate is used. Valid values:'."\n"
- ."\n"
- .'* cn-hangzhou (default): the Chinese mainland'."\n"
- .'* ap-southeast-1: outside the Chinese mainland'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'UserCertName' => [
- 'description' => 'The name of the certificate uploaded by the user to the certificate center.',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Tls13CustomCiphers' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'CertExpireTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- 'description' => '',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0F5B72DD-96F4-423A-B12B-A5151DD746B8\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"Http2HttpsEnable\\": true,\\n \\"SslProtocols\\": \\"tls1.1\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"Ssl13Enabled\\": false,\\n \\"CcRuleEnabled\\": false,\\n \\"OcspEnabled\\": false,\\n \\"PunishStatus\\": true,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"testcert\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"kzmk7b8tt351****.aliyunddos1014****\\",\\n \\"Http2Enable\\": true,\\n \\"Https2HttpEnable\\": true,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"443\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"192.0.XX.XX\\"\\n }\\n ],\\n \\"WhiteList\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"BlackList\\": [\\n \\"192.0.XX.XX\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-ECDSA-AES128-GCM-SHA256\\"\\n ],\\n \\"GmCert\\": {\\n \\"CertId\\": \\"725****\\",\\n \\"GmEnable\\": 1,\\n \\"GmOnly\\": 1\\n },\\n \\"CertRegion\\": \\"cn-hangzhou\\",\\n \\"UserCertName\\": \\"test\\",\\n \\"Tls13CustomCiphers\\": [\\n \\"\\"\\n ],\\n \\"CertExpireTime\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeWebRulesResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>0F5B72DD-96F4-423A-B12B-A5151DD746B8</RequestId>\\n <WebRules>\\n <Domain>example.com</Domain>\\n <Http2HttpsEnable>true</Http2HttpsEnable>\\n <SslProtocols>tls1.1</SslProtocols>\\n <PunishReason>1</PunishReason>\\n <CcTemplate>default</CcTemplate>\\n <CcEnabled>true</CcEnabled>\\n <SslCiphers>default</SslCiphers>\\n <Ssl13Enabled>false</Ssl13Enabled>\\n <CcRuleEnabled>false</CcRuleEnabled>\\n <OcspEnabled>false</OcspEnabled>\\n <PunishStatus>true</PunishStatus>\\n <ProxyEnabled>true</ProxyEnabled>\\n <CertName>testcert</CertName>\\n <PolicyMode>ip_hash</PolicyMode>\\n <Cname>kzmk7b8tt351****.aliyunddos1014****</Cname>\\n <Http2Enable>true</Http2Enable>\\n <Https2HttpEnable>true</Https2HttpEnable>\\n <ProxyTypes>\\n <ProxyType>https</ProxyType>\\n <ProxyPorts>443</ProxyPorts>\\n </ProxyTypes>\\n <RealServers>\\n <RsType>0</RsType>\\n <RealServer>192.0.XX.XX</RealServer>\\n </RealServers>\\n <WhiteList>192.168.XX.XX</WhiteList>\\n <BlackList>192.0.XX.XX</BlackList>\\n <CustomCiphers>ECDHE-ECDSA-AES128-GCM-SHA256</CustomCiphers>\\n <GmCert>\\n <CertId>725****</CertId>\\n <GmEnable>1</GmEnable>\\n <GmOnly>1</GmOnly>\\n </GmCert>\\n </WebRules>\\n</DescribeWebRulesResponse>","errorExample":""}]',
- 'title' => 'DescribeWebRules',
- 'description' => 'This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.'."\n"
+ 'title' => 'CreateTagResources',
+ 'description' => 'You can call the CreateTagResources operation to add tags to multiple Anti-DDoS Proxy instances at a time.'."\n"
."\n"
- .'Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.'."\n"
+ .'### [](#qps-)Limits'."\n"
."\n"
- .'### QPS Limit'."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.',
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebInstanceRelations' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:34.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagResources'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'CreateWebCCRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
+ 'deprecated' => true,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106207',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106074',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS instance in Resource Management. Default value: empty, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domains',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The domain names of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain names. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun**.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The rule name. The name can contain letters, digits, and underscores (\\_) and cannot exceed 128 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
+ ],
+ [
+ 'name' => 'Act',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The action to be performed on requests that match the rule. Valid values:'."\n"
+ ."\n"
+ .'- **close**: blocks the request.'."\n"
+ .'- **captcha**: initiates bot detection.', 'type' => 'string', 'required' => true, 'example' => 'close', 'title' => ''],
+ ],
+ [
+ 'name' => 'Count',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of access requests from a single IP address. Valid values: **2** to **2000**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The detection duration. Valid values: **5** to **10800**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The matching mode. Valid values:'."\n"
+ ."\n"
+ .'- **prefix**: prefix match.'."\n"
+ .'- **match**: exact match.'."\n"
+ ."\n"
+ .'> If the detection path **URI** contains parameters, select prefix match (**prefix**).', 'type' => 'string', 'required' => true, 'example' => 'prefix', 'title' => ''],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''],
+ ],
+ [
+ 'name' => 'Uri',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The detection path.'."\n"
+ ."\n"
+ .'> The URI cannot be modified. A rule is uniquely identified by the domain name of the website, the detection path, and the rule name.', 'type' => 'string', 'required' => true, 'example' => '/abc/a.php', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The body of the returned data.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818',
- ],
- 'WebInstanceRelations' => [
- 'description' => 'The information about the instances to which a website service is added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'InstanceDetails' => [
- 'description' => 'The information about the instance to which a website service is added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FunctionVersion' => [
- 'description' => 'The function plan of the instance. Valid values:'."\n"
- ."\n"
- .'* **default**: Standard function plan'."\n"
- .'* **enhance**: Enhanced function plan'."\n",
- 'type' => 'string',
- 'example' => 'enhance',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-0pp163pd****',
- ],
- 'EipList' => [
- 'description' => 'The IP addresses of the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.158',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0222382B-5FE5-4FF7-BC9B-97EE31D58818\\",\\n \\"WebInstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"enhance\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-0pp163pd****\\",\\n \\"EipList\\": [\\n \\"203.***.***.158\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebInstanceRelationsResponse>\\r\\n\\t<RequestId>0222382B-5FE5-4FF7-BC9B-97EE31D58818</RequestId>\\r\\n\\t<WebInstanceRelations>\\r\\n\\t\\t<InstanceDetails>\\r\\n\\t\\t\\t<EipList>203.***.***.158</EipList>\\r\\n\\t\\t\\t<InstanceId>ddoscoo-cn-0pp163pd****</InstanceId>\\r\\n\\t\\t\\t<FunctionVersion>enhance</FunctionVersion>\\r\\n\\t\\t</InstanceDetails>\\r\\n\\t\\t<InstanceDetails>\\r\\n\\t\\t\\t<EipList>203.***.***.38</EipList>\\r\\n\\t\\t\\t<InstanceId>ddoscoo-cn-45917cd3****</InstanceId>\\r\\n\\t\\t\\t<FunctionVersion>enhance</FunctionVersion>\\r\\n\\t\\t</InstanceDetails>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t</WebInstanceRelations>\\r\\n</DescribeWebInstanceRelationsResponse>","errorExample":""}]',
- 'title' => 'DescribeWebInstanceRelations',
- 'summary' => 'Queries the information about Anti-DDoS Pro or Anti-DDoS Premium instances to which a website service is added.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeCerts' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => [
+ 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ 'title' => 'CreateWebCCRule',
+ 'summary' => 'Creates a custom rule for website HTTP flood protection (CC protection).',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebCCRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateWebRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106106',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '106075',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
'name' => 'Domain',
'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website to add to the Anti-DDoS Proxy instance for protection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'RsType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The address type of the origin server. Valid values:'."\n"
+ ."\n"
+ .'- **0**: IP address.'."\n"
+ ."\n"
+ .'- **1**: domain name. This value is typically used when a proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and the Anti-DDoS Proxy instance. The domain name is the back-to-origin address of the proxy service, such as the canonical name (CNAME) of WAF.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '0'],
+ ],
+ [
+ 'name' => 'Rules',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the forwarding rule, in a JSON string format. The value is an array of objects. Each object contains the following fields:'."\n"
+ ."\n"
+ .'- **ProxyRules**: This field is a JSON array. Required. The information about the origin server, including the port number and server address. Each object in the array contains the following fields:'."\n"
+ ."\n"
+ .' - **ProxyPort**: This field is an integer. Required. The port number that is used by the protocol.'."\n"
+ ."\n"
+ .' - **RealServers**: This field is a string array. Required. The addresses of the origin servers.'."\n"
+ ."\n"
+ .'- **ProxyType**: This field is a string. Required. The protocol of the website. Valid values: **http**, **https**, **websocket**, and **websockets**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]'],
+ ],
+ [
+ 'name' => 'HttpsExt',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of **ProxyType** includes **https**. This parameter is a JSON string. The value is a JSON object that contains the following fields:'."\n"
+ ."\n"
+ .'- **Http2https**: This field is an integer. Optional. Specifies whether to forcibly redirect HTTP requests to HTTPS requests. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n"
+ ."\n"
+ .' This setting is available when your website supports both HTTP and HTTPS. If you enable this setting, all HTTP requests are redirected to HTTPS requests over port 443.'."\n"
+ ."\n"
+ .'- **Https2http**: This field is an integer. Optional. Specifies whether to enable HTTP back-to-origin. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n"
+ ."\n"
+ .' This setting applies to websites that do not support HTTPS back-to-origin. If you enable this setting, all HTTPS requests are sent to the origin server over HTTP on port 80 by default. All WebSockets requests are sent to the origin server over WebSocket.'."\n"
+ ."\n"
+ .'- **Http2**: This field is an integer. Optional. Specifies whether to enable HTTP/2. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n"
+ ."\n"
+ .' If you enable this setting, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'],
+ ],
+ [
+ 'name' => 'DefenseId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the protection rule to associate. This parameter is used when an Alibaba Cloud service, such as Object Storage Service (OSS), is integrated with an Anti-DDoS instance.'."\n"
+ ."\n"
+ .'> This parameter is for internal use. Do not use this parameter.'."\n"
+ ."\n"
+ .'For example, if your OSS is integrated with an Anti-DDoS Proxy instance, the instance allocates a resource pool of IP addresses to the OSS tenant account. Each IP address has a unique protection ID. The protection ID is a CNAME that resolves to the IP address of the Anti-DDoS instance by default. You can resolve the CNAME to an IP address. This lets you reuse the IP address for flexible scheduling.'."\n"
+ ."\n"
+ .'> You cannot specify both **InstanceIds** and **DefenseId**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'testid'],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to associate.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to associate. You must specify either this parameter or DefenseId.'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
+ .'> Call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-i7m27nf3****'],
'required' => false,
- 'example' => 'www.aliyun.com',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -3246,88 +2542,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'Certs' => [
- 'description' => 'The certificate information about the website.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndDate' => [
- 'description' => 'The expiration date of the certificate. The value is a string.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-12',
- ],
- 'DomainRelated' => [
- 'description' => 'Indicates whether the certificate is associated with the domain name. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'StartDate' => [
- 'description' => 'The issuance date of the certificate. The value is a string.'."\n",
- 'type' => 'string',
- 'example' => '2019-09-12',
- ],
- 'Issuer' => [
- 'description' => 'The certificate authority (CA) that issued the certificate.'."\n",
- 'type' => 'string',
- 'example' => 'Symantec',
- ],
- 'Name' => [
- 'description' => 'The name of the certificate.'."\n",
- 'type' => 'string',
- 'example' => 'testcert',
- ],
- 'Common' => [
- 'description' => 'The domain name that is associated with the certificate.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Id' => [
- 'description' => 'The certificate ID.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
- ],
- 'CertIdentifier' => [
- 'description' => 'The global certificate ID, which is in the certificate ID-cn-hangzhou format. If the ID of the certificate is 123, CertIdentifier is 123-cn-hangzhou.'."\n",
- 'type' => 'string',
- 'example' => '126345-ap-southeast-1',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request. This ID is generated by Alibaba Cloud and is unique for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Certs\\": [\\n {\\n \\"EndDate\\": \\"2021-09-12\\",\\n \\"DomainRelated\\": true,\\n \\"StartDate\\": \\"2019-09-12\\",\\n \\"Issuer\\": \\"Symantec\\",\\n \\"Name\\": \\"testcert\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 81,\\n \\"CertIdentifier\\": \\"126345-ap-southeast-1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCertsResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n <Certs>\\r\\n <Id>81</Id>\\r\\n <Name>testcert</Name>\\r\\n <Common>www.aliyun.com</Common>\\r\\n <DomainRelated>true</DomainRelated>\\r\\n <Issuer>Symantec</Issuer>\\r\\n <StartDate>2019-09-12</StartDate>\\r\\n <EndDate>2021-09-12</EndDate>\\r\\n </Certs>\\r\\n</DescribeCertsResponse>","errorExample":""}]',
- 'title' => 'DescribeCerts',
- 'summary' => 'Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use.',
- 'description' => 'This operation is used to query all applicable certificates of a domain name that you want to add to Anti-DDoS Proxy. Multiple certificates may be queried for a domain name. You can use an exact domain name to query exact-domain certificates or wildcard-domain certificates.'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]',
+ 'title' => 'CreateWebRule',
+ 'summary' => 'Creates a forwarding rule for a website.',
+ 'requestParamsDescription' => 'In addition to the request parameters described in this topic, you must specify common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'> If you want to query the certificate that is in use for the current domain name, you can call the [DescribeWebRules](~~473610~~) operation to obtain the values of the CertName and CertRegion parameters. Then, you can call the [ListUserCertificateOrder](~~411733~~) operation of Certificate Management Service to query the ID and other details of the certificate by using the value of the CertName parameter.'."\n",
- 'requestParamsDescription' => ' ',
+ .'For more information about the request format, see the request example in the **Examples** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebCustomPorts' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-03-17T06:06:50.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteAsyncTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3336,23 +2591,23 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106206',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106076',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the task that you want to delete.'."\n"
+ ."\n"
+ .'> You can call the [DescribeAsyncTasks](~~DescribeAsyncTasks~~) operation to query the IDs of all asynchronous export tasks.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -3360,56 +2615,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'WebCustomPorts' => [
- 'description' => 'An array consisting of information about supported custom ports that are used by a website.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProxyType' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **http**'."\n"
- .'* **https**'."\n",
- 'type' => 'string',
- 'example' => 'http',
- ],
- 'ProxyPorts' => [
- 'description' => 'An array that consists of supported custom ports.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The supported custom port.'."\n",
- 'type' => 'string',
- 'example' => '8080',
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"WebCustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"8080\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebCustomPortsResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n\\t<WebCustomPorts>\\r\\n\\t\\t<ProxyType>https</ProxyType>\\r\\n\\t\\t<ProxyPorts>443</ProxyPorts>\\r\\n\\t\\t<ProxyPorts>8443</ProxyPorts>\\r\\n\\t</WebCustomPorts>\\r\\n\\t<WebCustomPorts>\\r\\n\\t\\t<ProxyType>http</ProxyType>\\r\\n\\t\\t<ProxyPorts>80</ProxyPorts>\\r\\n\\t\\t<ProxyPorts>8080</ProxyPorts>\\r\\n\\t</WebCustomPorts>\\r\\n</DescribeWebCustomPortsResponse>\\r\\n\\t\\r\\n","errorExample":""}]',
- 'summary' => 'Queries the supported custom ports of a website.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteAsyncTaskResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteAsyncTaskResponse>","errorExample":""}]',
+ 'title' => 'DeleteAsyncTask',
+ 'summary' => 'Deletes an asynchronous export task.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebAccessMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAutoCcBlacklist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3418,32 +2662,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106201',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106077',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'Domains',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.test****.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
+ ."\n"
+ .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'Blacklist',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A JSON string that contains the IP addresses to remove from the blacklist. The string has the following structure:'."\n"
+ ."\n"
+ .'- **src**: The IP address to remove. This is a required string.', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', 'title' => ''],
],
],
'responses' => [
@@ -3451,54 +2692,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'DomainModes' => [
- 'description' => 'An array consisting of the modes in which the website service is added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AccessMode' => [
- 'description' => 'The mode in which the website service is added. Valid values:'."\n"
- ."\n"
- .'* **0**: A record'."\n"
- .'* **1**: anti-DDoS mode'."\n"
- .'* **2**: origin redundancy mode'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModes\\": [\\n {\\n \\"AccessMode\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAccessModeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n\\t<DomainModes>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<AccessMode>0</AccessMode>\\r\\n\\t</DomainModes>\\r\\n</DescribeWebAccessModeResponse>","errorExample":""}]',
- 'summary' => 'Queries the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.',
+ 'title' => 'DeleteAutoCcBlacklist',
+ 'summary' => 'Removes IP addresses from the blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeCnameReuses' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcBlacklist'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteAutoCcWhitelist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3507,42 +2740,24 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106108',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106078',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'Domains',
+ 'name' => 'Whitelist',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The domain names of the websites. You can specify the domain names of up to 200 websites.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The IP addresses that you want to manage. This parameter is a JSON string. This parameter is a JSON string. The string contains the following field:'."\n"
+ ."\n"
+ .'* **src**: the IP address. This field is required and must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]', 'title' => ''],
],
],
'responses' => [
@@ -3550,57 +2765,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'CnameReuses' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Cname' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4o6ep6q217k9****.aliyunddos0004.com',
- ],
- 'Enable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CnameReuses\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Cname\\": \\"4o6ep6q217k9****.aliyunddos0004.com\\",\\n \\"Enable\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeCnameReusesResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n\\t<CnameReuses>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<Cname>4o6ep6q217k9****.aliyunddos0004.com</Cname>\\r\\n\\t\\t<Enable>1</Enable>\\r\\n\\t</CnameReuses>\\r\\n</DescribeCnameReusesResponse>","errorExample":""}]',
- 'title' => 'DescribeCnameReuses',
- 'summary' => 'Queries the CNAME reuse information about websites.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteAutoCcWhitelistResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</DeleteAutoCcWhitelistResponse>","errorExample":""}]',
+ 'title' => 'DeleteAutoCcWhitelist',
+ 'summary' => 'Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeL7RsPolicy' => [
- 'summary' => 'Queries the back-to-origin policies for the forwarding rule of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcWhitelist'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteDomainResource' => [
+ 'summary' => 'Deletes the specified website business forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3609,56 +2813,17 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106157',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeCode' => '106081',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website to query.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'RealServers',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'A total of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses. Separate multiple addresses with commas (,).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.***.***.1',
- ],
- 'required' => false,
- 'example' => '1.***.***.1',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The domain name corresponding to the website business forwarding rule to be deleted.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''],
],
],
'responses' => [
@@ -3666,229 +2831,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ProxyMode' => [
- 'description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n"
- ."\n"
- .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n"
- .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n"
- .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.'."\n",
- 'type' => 'string',
- 'example' => 'rr',
- ],
- 'UpstreamRetry' => [
- 'description' => 'The back-to-origin retry switch. Valid values:'."\n"
- ."\n"
- .'* **1**: on'."\n"
- .'* **0**: off'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RsAttrRwTimeoutMax' => [
- 'description' => 'The timeout period for a read or write connection.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '300',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502',
- ],
- 'Attributes' => [
- 'description' => 'The details about the parameters for back-to-origin settings.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'RsType' => [
- 'description' => 'The address type of the origin server. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address'."\n"
- .'* **1**: domain name'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RealServer' => [
- 'description' => 'The address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '1.***.***.1',
- ],
- 'Attribute' => [
- 'description' => 'The parameters for back-to-origin settings.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Weight' => [
- 'description' => 'The weight of the origin server. This parameter takes effect only if the value of **ProxyMode** is **rr** or **ip_hash**.****'."\n"
- ."\n"
- .'Valid values: **1** to **100**. Default value: **100**. A server with a higher weight receives more requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ConnectTimeout' => [
- 'description' => 'The timeout period for a new connection. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'FailTimeout' => [
- 'description' => 'The expiration time of a connection, in seconds. If the number of failures at the origin server exceeds the **MaxFails** value, the address of the origin server is set to down and the expiration time is **FailTimeout**. The final value is the maximum value of **ConnectTimeout** and **FailTimeout**. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxFails' => [
- 'description' => 'The maximum number of failures. This parameter is related to health check. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Mode' => [
- 'description' => 'The primary/secondary flag. Valid values:'."\n"
- ."\n"
- .'* **active**: primary'."\n"
- .'* **backup**: secondary'."\n",
- 'type' => 'string',
- 'example' => 'active',
- ],
- 'ReadTimeout' => [
- 'description' => 'The timeout period for a read connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '120',
- ],
- 'SendTimeout' => [
- 'description' => 'The timeout period for a write connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '120',
- ],
- ],
- ],
- ],
- 'description' => '',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ProxyMode\\": \\"rr\\",\\n \\"UpstreamRetry\\": 1,\\n \\"RsAttrRwTimeoutMax\\": 300,\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"Attributes\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.***.***.1\\",\\n \\"Attribute\\": {\\n \\"Weight\\": 100,\\n \\"ConnectTimeout\\": 5,\\n \\"FailTimeout\\": 10,\\n \\"MaxFails\\": 3,\\n \\"Mode\\": \\"active\\",\\n \\"ReadTimeout\\": 120,\\n \\"SendTimeout\\": 120\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeL7RsPolicyResponse>\\n <ProxyMode>rr</ProxyMode>\\n <RequestId>9E7F6B2C-03F2-462F-9076-B782CF0DD502</RequestId>\\n <Attributes>\\n <RsType>0</RsType>\\n <RealServer>1.***.***.1</RealServer>\\n <Attribute>\\n <Weight>100</Weight>\\n </Attribute>\\n </Attributes>\\n</DescribeL7RsPolicyResponse>","errorExample":""}]',
- 'title' => 'DescribeL7RsPolicy',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AssociateWebCert' => [
- 'methods' => [
- 'post',
+ 'title' => 'DeleteDomainResource',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainResource'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteNetworkRule' => [
+ 'summary' => 'Deletes a port forwarding rule. You can delete only one port forwarding rule at a time.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106049',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106083',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'Domain',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
- ],
- [
- 'name' => 'CertId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The ID of the certificate.'."\n"
- ."\n"
- .'> If you specify a certificate ID, you do not need to specify a value for the CertName, Cert, and Key parameters. You can specify only one of this parameter and the CertIdentifier parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2404693',
- ],
- ],
- [
- 'name' => 'CertName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the certificate.'."\n"
- ."\n"
- .'> You can specify the name of the certificate that you want to associate. This parameter must be used together with the Cert and Key parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example-cert',
- ],
- ],
- [
- 'name' => 'Cert',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.'."\n"
- ."\n"
- .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSfN9Z7rZ9fmxWr2BFN2XbahgnsSXM48ixZJ4krc+1M+j2kcubVpsE2cgHdj4v8H6jUz9Ji4mr7vMNS6dXv8PUkl/qoDeNGCNdyTS5NIL5ir+g92cL8IGOkjgvhlqt9vc65Cgb4mL+n5+DV9uOyTZTW/MojmlgfUekC2xiXa54nxJf17Y1TADGSbyJbsC0Q9nIrHsPl8YKkvRWvIAqYxXZ7wRwWWmv4TMxFhWRiNY7yZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----',
- ],
- ],
- [
- 'name' => 'Key',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.'."\n"
- ."\n"
- .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJTRgNQmioPQn2bqdKHop+B/dn/4VZL7Jt8zSDGM9sTMThLyvsmLQKBgQCr+ujntC1kN6pGBj2Fw2l/EA/W3rYEce2tyhjgmG7rZ+A/jVE9fld5sQra6ZdwBcQJaiygoIYoaMF2EjRwc0qwHaluq0C15f6ujSoHh2e+D5zdmkTg/3NKNjqNv6xA2gYpinVDzFdZ9Zujxvuh9o4Vqf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----',
- ],
- ],
- [
- 'name' => 'CertIdentifier',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.'."\n"
- ."\n"
- .'> You can specify only one of this parameter and the CertId parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '9430680-cn-hangzhou'."\n",
- ],
- ],
- [
- 'name' => 'CertRegion',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'The region of the certificate. Valid values: **cn-hangzhou** and **ap-southeast-1**. Default value: **cn-hangzhou**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'name' => 'NetworkRule',
+ 'in' => 'query',
+ 'schema' => ['description' => 'An array that consists of the information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''],
],
],
'responses' => [
@@ -3896,32 +2887,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40F11005-A75C-4644-95F2-52A4E7D43E91\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<AssociateWebCertResponse>\\r\\n\\t<RequestId>40F11005-A75C-4644-95F2-52A4E7D43E91</RequestId>\\r\\n</AssociateWebCertResponse>","errorExample":""}]',
- 'title' => 'AssociateWebCert',
- 'summary' => 'Associates an SSL certificate with the forwarding rule of a website.',
+ 'title' => 'DeleteNetworkRule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ConfigL7RsPolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNetworkRule'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteNetworkRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"49AD2F34-694A-4024-9B0E-DDCFC59CCC13\\"\\n}","type":"json"}]',
+ ],
+ 'DeletePort' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3930,80 +2933,55 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '106052',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106084',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'FrontendProtocol',
'in' => 'query',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'The type of the forwarding protocol. Valid values:'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n",
+ .'* **tcp**'."\n"
+ .'* **udp**'."\n",
'type' => 'string',
'required' => true,
- 'example' => 'www.aliyun.com',
+ 'example' => 'tcp',
+ 'enum' => ['tcp', 'udp'],
+ 'title' => '',
],
],
[
- 'name' => 'Policy',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The back-to-origin policy. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **ProxyMode**: The load balancing algorithm for back-to-origin traffic. This field is required and must be a string. Valid values:'."\n"
- ."\n"
- .' * **ip_hash**: the IP hash algorithm. This algorithm is used to redirect requests from the same IP address to the same origin server.'."\n"
- .' * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn. If you use this algorithm, you can specify a weight for each server based on server performance.'."\n"
- .' * **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n"
- ."\n"
- .'* **Attributes**: the parameters for back-to-origin processing. This field is optional and must be a JSON array. Each element in the array contains the following fields:'."\n"
- ."\n"
- .' * **RealServer**: the address of the origin server. This field is optional and must be a string.'."\n"
- ."\n"
- .' * **Attribute**: the parameter for back-to-origin processing. This field is optional and must be a JSON object. Valid values:'."\n"
- ."\n"
- .' * **Weight**: the weight of the server. This field is optional and must be an integer. This field takes effect only when **ProxyMode** is set to **rr**. Valid values: **1** to **100**. Default value: **100**. An origin server with a higher weight receives more requests.'."\n"
- .' * **ConnectTimeout**: the timeout period for new connections. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n"
- .' * **FailTimeout**: the period after which a connection is considered to have failed. This field is optional and must be an integer. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n"
- .' * **MaxFails**: the maximum number of failures allowed. This field is related to health checks. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n"
- .' * **Mode**: the primary/secondary attribute flag. This parameter is optional and must be a string. Valid values: **active** (primary) and **backup** (secondary).'."\n"
- .' * **ReadTimeout**: the read timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n"
- .' * **SendTimeout**: the write timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"ProxyMode":"rr","Attributes":[{"RealServer":"1.***.***.1","Attribute":{"Weight":100}},{"RealServer":"2.***.***.2","Attribute":{"Weight":100}}]}',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''],
],
[
- 'name' => 'UpstreamRetry',
+ 'name' => 'BackendPort',
'in' => 'query',
+ 'schema' => ['description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", 'type' => 'string', 'required' => false, 'example' => '55', 'title' => ''],
+ ],
+ [
+ 'name' => 'RealServers',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The retry switch. Valid values:'."\n"
- ."\n"
- .'* **1**: on'."\n"
- .'* **0**: off'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'An array that consists of the IP addresses of origin servers.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''],
'required' => false,
- 'example' => '1',
- 'default' => '1',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -4012,31 +2990,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigL7RsPolicyResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigL7RsPolicyResponse>","errorExample":""}]',
- 'title' => 'ConfigL7RsPolicy',
- 'summary' => 'Configures a back-to-origin policy for the forwarding rule of a website.',
- 'description' => 'If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyOcspStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
+ 'title' => 'DeletePort',
+ 'summary' => 'Deletes the specified port forwarding rule.',
+ 'description' => 'After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.'."\n"
+ ."\n"
+ .'> You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePort'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeletePort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteSceneDefensePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4045,38 +3037,18 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106252',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106085',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'click.linktech.cn',
- ],
- ],
- [
- 'name' => 'Enable',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable the OCSP feature. Valid values:'."\n"
- ."\n"
- .'* **1**: yes.'."\n"
- .'* **0**: no.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The ID of the policy that you want to delete.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''],
],
],
'responses' => [
@@ -4084,204 +3056,117 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D',
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**'."\n"
+ .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]',
- 'title' => 'ModifyOcspStatus',
- 'summary' => 'Specifies whether to enable the Online Certificate Status Protocol (OCSP) feature.',
- 'description' => 'This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.'."\n",
- ],
- 'ConfigL7UsKeepalive' => [
- 'summary' => 'Configures the settings for back-to-origin persistent connections for a domain name.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</DeleteSceneDefensePolicyResponse>","errorExample":""}]',
+ 'title' => 'DeleteSceneDefensePolicy',
+ 'summary' => 'Deletes a scenario-specific custom policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSceneDefensePolicy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteSchedulerRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '215883',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106086',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'UpstreamKeepalive',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The settings for back-to-origin persistent connections. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **enabled**: the switch for back-to-origin persistent connections. This field is required, and the value is of the Boolean type.'."\n"
- .'* **keepalive_requests**: the number of requests that reuse a persistent connection. This field is required, and the value is of the integer type.'."\n"
- .'* **keepalive_timeout**: the timeout period for an idle persistent connection. This field is required, and the value is of the integer type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}',
- ],
- ],
- [
- 'name' => 'DownstreamKeepalive',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The name of the scheduling rule that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]',
- 'title' => 'ConfigL7UsKeepalive',
- ],
- 'DescribeL7UsKeepalive' => [
- 'summary' => 'Queries the configuration of back-to-origin persistent connections of a domain name.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteSchedulerRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteSchedulerRuleResponse>","errorExample":""}]',
+ 'title' => 'DeleteSchedulerRule',
+ 'summary' => 'Deletes a scheduling rule of Sec-Traffic Manager.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSchedulerRule'],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '215888',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
- 'RsKeepalive' => [
- 'description' => 'The value of the Back-to-origin Persistent Connections parameter.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Enabled' => [
- 'description' => 'Indicates whether Back-to-origin Persistent Connections is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'KeepaliveRequests' => [
- 'description' => 'The number of requests that reuse persistent connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'KeepaliveTimeout' => [
- 'description' => 'The timeout period of idle persistent connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'DsKeepaliveTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDHE\\",\\n \\"RsKeepalive\\": {\\n \\"Enabled\\": true,\\n \\"KeepaliveRequests\\": 1000,\\n \\"KeepaliveTimeout\\": 30,\\n \\"DsKeepaliveTimeout\\": 0\\n }\\n}","type":"json"}]',
- 'title' => 'DescribeL7UsKeepalive',
],
- 'ModifyHeaders' => [
- 'summary' => 'Modifies the custom header of a domain name that is added to an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteTagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4290,149 +3175,150 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106247',
- 'abilityTreeNodes' => [
- 'FEATUREddosCT2Z4D',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106087',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID of the Anti-DDoS instance. The value is fixed to **cn-hangzhou**, which indicates the Chinese mainland.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs.'."\n"
- ."\n"
- .'> '."\n"
- ."\n"
- .'* You can query resource group IDs in the Anti-DDoS Pro or Anti-DDoS Premium console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).'."\n"
- ."\n"
- .'* Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmz6jbof5****'."\n",
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not set this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'Domain',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The resource type. The value is fixed to **INSTANCE**, which indicates an Anti-DDoS instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'INSTANCE'],
],
[
- 'name' => 'CustomHeaders',
+ 'name' => 'All',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n"
+ ."\n"
+ .'- **true**'."\n"
+ ."\n"
+ .'- **false** (default)', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The key-value pair of the custom header. The key specifies the header name, and the value specifies the header value. You can specify up to five key-value pairs. The key-value pairs can be up to 200 characters in length.'."\n"
- ."\n"
- .'Take note of the following items:'."\n"
- ."\n"
- .'* Do not use the following default HTTP headers:'."\n"
- ."\n"
- .' * X-Forwarded-ClientSrcPort: This header is used to obtain the source ports of clients that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n"
- .' * X-Forwarded-ProxyPort: This header is used to obtain the ports of listeners that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n"
- .' * X-Forwarded-For: This header is used to obtain the IP addresses of clients that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n"
- ."\n"
- .'* Do not use standard HTTP headers or specific widely used custom HTTP headers. The standard HTTP headers include Host, User-Agent, Connection, and Upgrade, and the widely used custom HTTP headers include X-Real-IP, X-True-IP, X-Client-IP, Web-Server-Type, WL-Proxy-Client-IP, eEagleEye-RpcID, EagleEye-TraceID, X-Forwarded-Cluster, and X-Forwarded-Proto. If the preceding headers are used, the original content of the headers is overwritten.'."\n"
+ 'description' => 'A list of IDs of the Anti-DDoS instances from which you want to remove tags.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS instance from which you want to remove tags.'."\n"
."\n"
- .'> If you specify a key of X-Forwarded-ClientSrcPort, the system obtains the originating ports of clients that access Anti-DDoS Proxy (a Layer 7 proxy). In this case, the value is an empty string.'."\n",
- 'type' => 'string',
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-zvp2eibz****'],
'required' => true,
- 'example' => '{\\"X-Forwarded-ClientSrcPort\\":\\"\\"}',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 51,
+ 'title' => '',
],
],
[
- 'name' => 'EmbeddedHeaders',
+ 'name' => 'TagKey',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'title' => '请求头字段转发配置',
- 'type' => 'string',
- 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}',
+ 'description' => 'A list of tag keys to remove.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag key to remove.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'doc-test-key'],
+ 'required' => false,
+ 'example' => 'testkey',
+ 'maxItems' => 21,
+ 'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The unique ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidEmbeddedHeaders',
- 'errorMessage' => 'EmbeddedHeaders parameter is invalid.',
+ 'title' => 'DeleteTagResources',
+ 'summary' => 'Removes tags from an Anti-DDoS Proxy (Chinese Mainland) instance.',
+ 'description' => 'This API operation removes tags from an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n"
+ ."\n"
+ .'> Only Anti-DDoS Proxy (Chinese Mainland) supports the tag feature.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The queries per second (QPS) limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Plan your calls accordingly.',
+ 'requestParamsDescription' => 'In addition to the parameters specific to this operation, you must specify common request parameters. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the example in the **Examples** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]',
- 'title' => 'ModifyHeaders',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]',
],
- 'DescribeHeaders' => [
- 'summary' => 'Queries the custom header that is specified for a domain name.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteWebCCRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
+ 'deprecated' => true,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106146',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106089',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek3cmuvpia****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name that you want to query.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the custom frequency control rule that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'wq', 'title' => ''],
],
],
'responses' => [
@@ -4440,113 +3326,84 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D',
- ],
- 'CustomHeader' => [
- 'description' => 'The information about the custom header.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Headers' => [
- 'description' => 'The header of the response.'."\n",
- 'type' => 'string',
- 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- ],
- ],
- 'EmbeddedHeaders' => [
- 'title' => '请求头字段转发配置',
- 'type' => 'string',
- 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48BC7BA5-69BE-5C31-A080-AFF2431AE48D\\",\\n \\"CustomHeader\\": {\\n \\"Headers\\": \\"{\\\\\\"X-Forwarded-ClientSrcPort\\\\\\":\\\\\\"\\\\\\",\\\\\\"header1\\\\\\":\\\\\\"hLeLele\\\\\\"}\\",\\n \\"Domain\\": \\"example.aliyundoc.com\\"\\n },\\n \\"EmbeddedHeaders\\": \\"{\\\\\\"X-Client-IP\\\\\\":true,\\\\\\"X-True-IP\\\\\\":true,\\\\\\"Web-Server-Type\\\\\\":true,\\\\\\"WL-Proxy-Client-IP\\\\\\":true,\\\\\\"X-Forwarded-Proto\\\\\\":true}\\"\\n}","type":"json"}]',
- 'title' => 'DescribeHeaders',
- ],
- 'DescribeDomainH2Fingerprint' => [
- 'summary' => 'Queries the information about HTTP/2 fingerprints of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => [
+ 'substitutions' => ['ddoscoo::2020-01-01::DeleteWebCCRuleV2'],
],
- 'schemes' => [
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteWebCCRuleResponse>","errorExample":""}]',
+ 'title' => 'DeleteWebCCRule',
+ 'summary' => 'Deletes a custom frequency control rule of a website.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCCRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteWebCCRuleV2' => [
+ 'summary' => 'Deletes custom frequency control rules of a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '231662',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '198862',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query the domain names of all websites that are protected by Anti-DDoS Proxy.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1716435180',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'RuleNames',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1726318200',
- ],
+ 'schema' => ['description' => 'The names of the rules that you want to delete.', 'type' => 'string', 'required' => false, 'example' => '[\\"trdsss\\"]', 'title' => ''],
],
[
- 'name' => 'Limit',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of entries to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'The source of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **manual** (default): manually created.'."\n"
+ ."\n"
+ .'- **clover**: automatically created. Specify this value when you want to delete intelligent protection rules.', 'type' => 'string', 'required' => false, 'example' => 'manual', 'title' => ''],
],
],
'responses' => [
@@ -4554,57 +3411,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD',
- ],
- 'DomainH2Fp' => [
- 'description' => 'The information about top N HTTP/2 fingerprints.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the HTTP/2 fingerprint.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'H2Fingerprint' => [
- 'description' => 'The HTTP/2 fingerprint.'."\n",
- 'type' => 'string',
- 'example' => '532501bc316d02c8b1a007db76f2c796',
- ],
- 'Pv' => [
- 'description' => 'The page views.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '471755',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteWebCCRuleV2',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"DomainH2Fp\\": [\\n {\\n \\"H2Fingerprint\\": \\"532501bc316d02c8b1a007db76f2c796\\",\\n \\"Pv\\": 471755,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainH2Fingerprint',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]',
],
- 'DescribeDomainTopReferer' => [
- 'summary' => 'Queries the information about top N referers of a website.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteWebCacheCustomRule' => [
+ 'summary' => 'Deletes the custom rules of the Static Page Caching policy for a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4613,74 +3452,39 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106088',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1701991920',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1721561100',
- ],
+ 'schema' => ['description' => 'The domain name for which you want to delete the custom rules of the Static Page Caching policy.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''],
],
[
- 'name' => 'Limit',
+ 'name' => 'RuleNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The maximum number of entries to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'An array consisting of the names of the rules that you want to delete.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rule that you want to delete.', 'type' => 'string', 'required' => false, 'example' => 'doc-test-rule', 'title' => ''],
'required' => true,
- 'example' => '10',
+ 'example' => 'test',
+ 'maxItems' => 10,
+ 'title' => '',
],
],
],
@@ -4689,57 +3493,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'DomainTopReferer' => [
- 'description' => 'The information about top referers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the referer.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Referer' => [
- 'description' => 'The Base64-encoded referer.'."\n",
- 'type' => 'string',
- 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=',
- ],
- 'Pv' => [
- 'description' => 'The page views.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '257031',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'DeleteWebCacheCustomRule',
+ 'description' => 'You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopReferer\\": [\\n {\\n \\"Referer\\": \\"aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=\\",\\n \\"Pv\\": 257031,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainTopReferer',
- ],
- 'DescribeDomainTopUserAgent' => [
- 'summary' => 'Queries the information about top user agents of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCacheCustomRule'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCacheCustomRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteWebPreciseAccessRule' => [
+ 'summary' => 'Deletes the accurate access control rules that are created for a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4748,74 +3547,37 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106090',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com'."\n",
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1609430400',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1708352700',
- ],
- ],
- [
- 'name' => 'Limit',
+ 'name' => 'RuleNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The maximum number of entries to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'An array that consists of the names of rules to delete.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => 'testrule', 'title' => ''],
'required' => true,
- 'example' => '20',
+ 'example' => 'testrule',
+ 'maxItems' => 10,
+ 'title' => '',
],
],
],
@@ -4824,57 +3586,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'DomainTopUa' => [
- 'description' => 'The information about the user agents.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the user agent.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'UserAgent' => [
- 'description' => 'The Base64-encoded user agent.'."\n",
- 'type' => 'string',
- 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2',
- ],
- 'Pv' => [
- 'description' => 'The page views.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22121',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.example.com'."\n",
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'DeleteWebPreciseAccessRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopUa\\": [\\n {\\n \\"UserAgent\\": \\"TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"www.example.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainTopUserAgent',
- ],
- 'DescribeDomainTopFingerprint' => [
- 'summary' => 'Queries the information about the fingerprints of top N clients that access a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebPreciseAccessRule'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteWebRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4883,86 +3632,25 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '106091',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1719211800',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1723552200',
- ],
- ],
- [
- 'name' => 'Limit',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of entries to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'The domain name of the website from which you want to delete the forwarding rule.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -4970,57 +3658,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'DomainTopFp' => [
- 'description' => 'The information about the fingerprints of the clients.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the fingerprint of the client.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Fingerprinting' => [
- 'description' => 'The fingerprint of the client.'."\n",
- 'type' => 'string',
- 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc',
- ],
- 'Pv' => [
- 'description' => 'The page views.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22121',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteWebRule',
+ 'summary' => 'Deletes a forwarding rule of a website.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainTopFp\\": [\\n {\\n \\"Fingerprinting\\": \\"8a374c9724582b14a4cfa58c8c9fb2bc\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainTopFingerprint',
- ],
- 'DescribeDomainBps' => [
- 'summary' => 'Queries the bandwidths of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebRule'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeAsyncTasks' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5029,75 +3702,27 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106092',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
- ],
- [
- 'name' => 'StartTime',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1719211800',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS instance in Resource Management.'."\n"
+ ."\n"
+ .'If this parameter is not specified, the default resource group is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1722339300',
- ],
+ 'schema' => ['description' => 'The page number for the paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'],
],
[
- 'name' => 'Interval',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '600',
- ],
+ 'schema' => ['description' => 'The number of asynchronous export tasks to return on each page for the paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'],
],
],
'responses' => [
@@ -5105,59 +3730,114 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'DomainBps' => [
- 'description' => 'The bandwidths.'."\n",
+ 'TotalCount' => ['description' => 'The total number of asynchronous export tasks that are queried.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'RequestId' => ['description' => 'The ID of this request, which is generated by Alibaba Cloud as a unique identifier for this request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'],
+ 'AsyncTasks' => [
+ 'description' => 'The detailed information about the asynchronous export tasks.',
'type' => 'array',
'items' => [
- 'description' => 'The bandwidth values.'."\n",
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'InBps' => [
- 'description' => 'The inbound bandwidth. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OutBps' => [
- 'description' => 'The outbound bandwidth. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'EndTime' => ['description' => 'The end time of the task. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '157927362000'],
+ 'TaskType' => ['description' => 'The type of the task. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Layer 4 export task, which indicates exporting port forwarding rules of the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **2**: Layer 7 export task, which indicates exporting website forwarding rules.'."\n"
+ ."\n"
+ .'- **3**: Session and health check export task, which indicates exporting session and health check configuration of the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **4**: DDoS mitigation policies export task, which indicates exporting DDoS mitigation policies configuration of the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **5**: Blacklist (for destination IP addresses) download task, which indicates exporting blacklist IP addresses for the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'- **6**: Whitelist (for destination IP addresses) download task, which indicates exporting whitelist IP addresses for the Anti-DDoS instance.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
+ 'StartTime' => ['description' => 'The start time of the task. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '156927362000'],
+ 'TaskParams' => ['description' => 'The task parameters. This value is a string in the JSON format. Different **TaskType** values have different task parameters.'."\n"
+ ."\n"
+ .'When **TaskType** is **1**, **3**, **4**, **5**, or **6**, the task parameters have the following structure:'."\n"
+ ."\n"
+ .'- **instanceId**: the ID of the Anti-DDoS instance. The type is String.'."\n"
+ ."\n"
+ .'When **TaskType** is **2**, the task parameters have the following structure:'."\n"
+ ."\n"
+ .'- **domain**: the domain name of the website. The type is String.', 'type' => 'string', 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'],
+ 'TaskStatus' => ['description' => 'The status of the task. Valid values:'."\n"
+ ."\n"
+ .'- **0**: indicates that the task is initialized.'."\n"
+ ."\n"
+ .'- **1**: indicates that the task is in progress.'."\n"
+ ."\n"
+ .'- **2**: indicates that the task is successful.'."\n"
+ ."\n"
+ .'- **3**: indicates that the task failed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'],
+ 'TaskResult' => ['description' => 'The task result. This value is a string in the JSON format. Different **TaskType** values have different task results.'."\n"
+ ."\n"
+ .'When **TaskType** is **1**, **3**, **4**, **5**, or **6**, the task result has the following structure:'."\n"
+ ."\n"
+ .'- **instanceId**: the ID of the Anti-DDoS instance. The type is String.'."\n"
+ ."\n"
+ .'- **url**: the OSS download URL of the exported file. The type is String.'."\n"
+ ."\n"
+ .'When **TaskType** is **2**, the task result has the following structure:'."\n"
+ ."\n"
+ .'- **domain**: the domain name of the website. The type is String.'."\n"
+ ."\n"
+ .'- **url**: the OSS download URL of the exported file. The type is String.', 'type' => 'string', 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****","url": "https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****"}'],
+ 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"AsyncTasks\\": [\\n {\\n \\"EndTime\\": 157927362000,\\n \\"TaskType\\": 5,\\n \\"StartTime\\": 156927362000,\\n \\"TaskParams\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\"}\\",\\n \\"TaskStatus\\": 2,\\n \\"TaskResult\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\",\\\\\\"url\\\\\\": \\\\\\"https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****\\\\\\"}\\",\\n \\"TaskId\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeAsyncTasks',
+ 'summary' => 'Queries detailed information about asynchronous export tasks, including task ID, start and end times, status, parameters, results, and more.',
+ 'description' => 'This operation queries detailed information about asynchronous export tasks, including task ID, start and end times, status, parameters, results, and more.'."\n"
+ ."\n"
+ .'### QPS limits'."\n"
+ ."\n"
+ .'The single-user QPS limit for this operation is 10 queries per second (QPS). API calls that exceed this limit will be throttled, which may affect your business. You should call this operation at a reasonable rate.',
+ 'requestParamsDescription' => 'When you call this API operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the request example in the **Examples** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainBps\\": [\\n {\\n \\"Index\\": 1,\\n \\"InBps\\": 0,\\n \\"OutBps\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainBps',
- ],
- 'DescribeDomainTopHttpMethod' => [
- 'summary' => 'Queries the information about top N HTTP methods of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAsyncTasks'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAsyncTasks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeAttackAnalysisMaxQps' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5166,75 +3846,20 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106093',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- [
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1712449710',
- ],
+ 'schema' => ['description' => 'The start time of the query. Use the UNIX timestamp format. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1622476799'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1722339300',
- ],
- ],
- [
- 'name' => 'Limit',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of entries to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'The end time of the query. Use the UNIX timestamp format. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1619798400'],
],
],
'responses' => [
@@ -5242,57 +3867,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'DomainTopMethod' => [
- 'description' => 'The information about top HTTP methods.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the HTTP method.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'HttpMethod' => [
- 'description' => 'The HTTP method.'."\n",
- 'type' => 'string',
- 'example' => 'GET',
- ],
- 'Pv' => [
- 'description' => 'The page views.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22121',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- ],
- ],
- ],
+ 'Qps' => ['description' => 'The peak value of the DDoS attack. Unit: QPS.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '41652'],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Qps\\": 41652,\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeAttackAnalysisMaxQps',
+ 'summary' => 'Queries the peak value (QPS) of DDoS attacks within a specified time period.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopMethod\\": [\\n {\\n \\"HttpMethod\\": \\"GET\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainTopHttpMethod',
- ],
- 'CreateAsyncTask' => [
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAttackAnalysisMaxQps'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAttackAnalysisMaxQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeAutoCcBlacklist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5301,59 +3916,39 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106062',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106095',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
+ ."\n"
+ .'> Call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'TaskType',
+ 'name' => 'QueryType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the asynchronous export task that you want to create. Valid values:'."\n"
- ."\n"
- .'* **1**: the task to export the port forwarding rules of an instance'."\n"
- .'* **2**: the task to export the forwarding rules of a website protected by an instance'."\n"
- .'* **3**: the task to export the session persistence and health check settings of an instance'."\n"
- .'* **4**: the task to export the anti-DDoS mitigation policies of an instance'."\n"
- .'* **5**: the task to download the blacklist for destination IP addresses of an instance'."\n"
- .'* **6**: the task to download the whitelist for destination IP addresses of an instance'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '5',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''],
],
[
- 'name' => 'TaskParams',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the asynchronous export task. The value is a JSON string. The field in the value varies with **TaskType**.'."\n"
- ."\n"
- .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following filed is returned:'."\n"
- ."\n"
- .'* **instanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'If **TaskType** is set to **2**, the following field is returned:'."\n"
- ."\n"
- .'* **domain**: the domain name of the website, which must be of the STRING type. If you do not specify this field, the forwarding rules of all websites are exported.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}',
- ],
+ 'schema' => ['description' => 'The keyword for a fuzzy search. The value is a prefix of the source IP address that you want to query.'."\n"
+ ."\n"
+ .'> The keyword must be more than three characters long.', 'type' => 'string', 'required' => false, 'example' => '138', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of the page to return for a paged query. For example, to query the results on the first page, set the value to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of records to display on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -5361,31 +3956,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'TotalCount' => ['description' => 'The total number of blacklisted IP addresses.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2', 'title' => ''],
+ 'AutoCcBlacklist' => [
+ 'description' => 'The list of blacklisted IP addresses for the Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The source of the blacklisted IP address. Valid values:'."\n"
+ ."\n"
+ .'- **manual**: The IP address is manually added.'."\n"
+ ."\n"
+ .'- **auto**: The IP address is automatically added.', 'type' => 'string', 'example' => 'manual', 'title' => ''],
+ 'DestIp' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
+ 'EndTime' => ['description' => 'The expiration time of the blacklisted IP address. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1584093569', 'title' => ''],
+ 'SourceIp' => ['description' => 'The blacklisted IP address.', 'type' => 'string', 'example' => '47.100.XX.XX', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<CreateAsyncTaskResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateAsyncTaskResponse>","errorExample":""}]',
- 'title' => 'CreateAsyncTask',
- 'summary' => 'Creates an asynchronous export task to export forwarding rules for websites, port forwarding rules, session persistence and health check settings, DDoS mitigation policies, the IP address blacklist, or the IP address whitelist.',
+ 'title' => 'DescribeAutoCcBlacklist',
+ 'summary' => 'Queries the blacklisted IP addresses for an Anti-DDoS Pro or Anti-DDoS Premium instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAsyncTask' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcBlacklist'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"E78C8472-0B15-42D5-AF22-A32A78818AB2\\",\\n \\"AutoCcBlacklist\\": [\\n {\\n \\"Type\\": \\"manual\\",\\n \\"DestIp\\": \\"192.0.XX.XX\\",\\n \\"EndTime\\": 1584093569,\\n \\"SourceIp\\": \\"47.100.XX.XX\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeAutoCcListCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5394,37 +4027,25 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106076',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- 'FEATUREddosN7DYCX',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106096',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the **DescribeInstanceIds** operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'TaskId',
+ 'name' => 'QueryType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the task that you want to delete.'."\n"
- ."\n"
- .'> You can call the [DescribeAsyncTasks](~~DescribeAsyncTasks~~) operation to query the IDs of all asynchronous export tasks.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The mode of how an IP address is added to the whitelist or blacklist. Valid values:'."\n"
+ ."\n"
+ .'* **manual**: manually added'."\n"
+ .'* **auto**: automatically added'."\n", 'type' => 'string', 'required' => false, 'example' => 'manual', 'title' => ''],
],
],
'responses' => [
@@ -5432,32 +4053,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184', 'title' => ''],
+ 'WhiteCount' => ['description' => 'The total number of IP addresses in the whitelist.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'BlackCount' => ['description' => 'The total number of IP addresses in the blacklist.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteAsyncTaskResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteAsyncTaskResponse>","errorExample":""}]',
- 'title' => 'DeleteAsyncTask',
- 'summary' => 'Deletes an asynchronous export task.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5AC3785F-C789-4622-87A4-F58BE7F6B184\\",\\n \\"WhiteCount\\": 2,\\n \\"BlackCount\\": 0\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeAutoCcListCountResponse>\\r\\n\\t<BlackCount>0</BlackCount>\\r\\n\\t<RequestId>5AC3785F-C789-4622-87A4-F58BE7F6B184</RequestId>\\r\\n\\t<WhiteCount>2</WhiteCount>\\r\\n</DescribeAutoCcListCountResponse>","errorExample":""}]',
+ 'title' => 'DescribeAutoCcListCount',
+ 'summary' => 'Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateNetworkRules' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcListCount'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcListCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeAutoCcWhitelist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5466,28 +4102,34 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106069',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106097',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'NetworkRules',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
- .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
- .'* **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2"]}]',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'KeyWord',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n"
+ ."\n"
+ .'> The keyword must be greater than three characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => '138', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -5495,94 +4137,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD',
+ 'TotalCount' => ['description' => 'The total number of returned IP addresses in the whitelist.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162', 'title' => ''],
+ 'AutoCcWhitelist' => [
+ 'description' => 'An array that consists of details of the IP address in the whitelist of the instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The mode of how an IP address is added to the whitelist. Valid values:'."\n"
+ ."\n"
+ .'* **manual**: manually added'."\n"
+ .'* **auto**: automatically added'."\n", 'type' => 'string', 'example' => 'manual', 'title' => ''],
+ 'DestIp' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.***.***.117', 'title' => ''],
+ 'EndTime' => ['description' => 'The validity period of the IP address in the whitelist. Unit: seconds. **0** indicates that the IP address in the whitelist never expires.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'SourceIp' => ['description' => 'The IP addresses that is contained in the IP address whitelist.'."\n", 'type' => 'string', 'example' => '2.2.2.2', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<CreateNetworkRulesResponse>\\r\\n\\t<RequestId>ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD</RequestId>\\r\\n</CreateNetworkRulesResponse>","errorExample":""}]',
- 'title' => 'CreateNetworkRules',
- 'summary' => 'Creates a port forwarding rule.',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeAutoCcWhitelistResponse>\\r\\n\\t<AutoCcWhitelist>\\r\\n\\t\\t<Type>manual</Type>\\r\\n\\t\\t<SourceIp>4.4.4.4</SourceIp>\\r\\n\\t\\t<EndTime>0</EndTime>\\r\\n\\t\\t<DestIp>203.***.***.117</DestIp>\\r\\n\\t</AutoCcWhitelist>\\r\\n\\t<AutoCcWhitelist>\\r\\n\\t\\t<Type>manual</Type>\\r\\n\\t\\t<SourceIp>2.2.2.2</SourceIp>\\r\\n\\t\\t<EndTime>0</EndTime>\\r\\n\\t\\t<DestIp>203.***.***.117</DestIp>\\r\\n\\t</AutoCcWhitelist>\\r\\n\\t<TotalCount>2</TotalCount>\\r\\n\\t<RequestId>F09D085E-5E0F-4FF2-B32E-F4A644049162</RequestId>\\r\\n</DescribeAutoCcWhitelistResponse>","errorExample":""}]',
+ 'title' => 'DescribeAutoCcWhitelist',
+ 'summary' => 'Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteNetworkRule' => [
- 'summary' => 'Deletes a port forwarding rule. You can delete only one port forwarding rule at a time.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106083',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcWhitelist'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'NetworkRule',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'An array that consists of the information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"49AD2F34-694A-4024-9B0E-DDCFC59CCC13\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteNetworkRuleResponse>\\r\\n\\t<RequestId>49AD2F34-694A-4024-9B0E-DDCFC59CCC13</RequestId>\\r\\n</DeleteNetworkRuleResponse>","errorExample":""}]',
- 'title' => 'DeleteNetworkRule',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'ModifyHealthCheckConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeBackSourceCidr' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5591,82 +4206,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106248',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106098',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- [
- 'name' => 'ForwardProtocol',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'FrontendPort',
+ 'name' => 'Line',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '8080',
- ],
+ 'schema' => ['description' => 'The Internet service provider (ISP) line that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'coop-line-001', 'title' => ''],
],
[
- 'name' => 'HealthCheck',
+ 'name' => 'IpVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the health check configuration. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **Type**: the protocol type. This field is required and must be of the STRING type. Valid values: **tcp** (Layer 4) and **http** (Layer 7).'."\n"
- ."\n"
- .'* **Domain**: the domain name, which must be of the STRING type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n"
- ."\n"
- .'* **Uri**: the check path, which must be of the STRING type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n"
- ."\n"
- .'* **Timeout**: the response timeout period, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n"
- ."\n"
- .'* **Port**: the port on which you want to perform the health check, which must be of the INTEGER type.'."\n"
- ."\n"
- .'* **Interval**: the health check interval, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n"
- ."\n"
- .'* **Up**: the number of consecutive successful health checks that must occur before declaring a port healthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n"
- ."\n"
- .'* **Down**: the number of consecutive failed health checks that must occur before declaring a port unhealthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}',
- ],
+ 'schema' => ['description' => 'The IP version of the back-to-origin CIDR blocks.'."\n"
+ ."\n"
+ .'* **Ipv4**'."\n"
+ .'* **Ipv6**'."\n", 'type' => 'string', 'required' => false, 'example' => 'IPv4', 'title' => ''],
],
],
'responses' => [
@@ -5674,31 +4236,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
+ 'Cidrs' => [
+ 'description' => 'An array that consists of the back-to-origin CIDR blocks of the instance.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The back-to-origin CIDR block of the instance.'."\n", 'type' => 'string', 'example' => '47.0.XX.XX/25', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyHealthCheckConfigResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyHealthCheckConfigResponse>","errorExample":""}]',
- 'title' => 'ModifyHealthCheckConfig',
- 'summary' => 'Modifies the Layer 4 or Layer 7 health check configuration of a port forwarding rule.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Cidrs\\": [\\n \\"47.0.XX.XX/25\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeBackSourceCidrResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n <Cidrs>[ \\"47.0.XX.XX/25\\",\\"47.128.XX.XX/25\\" ]</Cidrs>\\n</DescribeBackSourceCidrResponse>","errorExample":""}]',
+ 'title' => 'DescribeBackSourceCidr',
+ 'summary' => 'Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeNetworkRules' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-11-02T07:06:44.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackSourceCidr'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBackSourceCidr',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeBlackholeStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5708,68 +4292,24 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106162',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106099',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the instance.'."\n"
+ 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n"
."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
'required' => true,
'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- [
- 'name' => 'ForwardProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tcp',
- ],
- ],
- [
- 'name' => 'FrontendPort',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -5778,122 +4318,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of returned port forwarding rules.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771',
- ],
- 'NetworkRules' => [
- 'description' => 'The details of the port forwarding rules.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'],
+ 'BlackholeStatus' => [
+ 'description' => 'The blackhole filtering status information of the Anti-DDoS Pro or Anti-DDoS Premium instance.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'IsAutoCreate' => [
- 'description' => 'Indicates whether the port forwarding rule is automatically created. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'Protocol' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'BackendPort' => [
- 'description' => 'The port of the origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'RealServers' => [
- 'description' => 'The IP addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '112.139.XX.XX',
- ],
- ],
- 'Remark' => [
- 'description' => 'The remarks of the port forwarding rule.'."\n",
- 'type' => 'string',
- 'example' => 'Test'."\n",
- ],
- 'ProxyEnable' => [
- 'description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n"
- ."\n"
- .'* 0: on.'."\n"
- .'* 1: off.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ProxyStatus' => [
- 'description' => 'The status of traffic diversion. Valid values:'."\n"
- ."\n"
- .'* on: Traffic diversion takes effect.'."\n"
- .'* off: Traffic diversion does not take effect.'."\n",
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'PayloadRuleEnable' => [
- 'description' => 'Indicates whether the payload filtering rule is enabled. Valid values:'."\n"
- ."\n"
- .'* 1: enabled.'."\n"
- .'* 0: disabled.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'EndTime' => ['description' => 'The end time of blackhole filtering. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1540196323'],
+ 'StartTime' => ['description' => 'The start time of blackhole filtering. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1540195323'],
+ 'Ip' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'title' => '', 'example' => '203.***.***.132'],
+ 'BlackStatus' => ['description' => 'The blackhole filtering status. Valid values:'."\n"
+ ."\n"
+ .'- **blackhole**: Black Hole Activated'."\n"
+ ."\n"
+ .'- **normal**: Normal', 'type' => 'string', 'title' => '', 'example' => 'blackhole'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeNetworkRulesResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>8597F235-FA5E-4FC7-BAD9-E4C0B01BC771</RequestId>\\n <NetworkRules>\\n <FrontendPort>80</FrontendPort>\\n <IsAutoCreate>true</IsAutoCreate>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <Protocol>tcp</Protocol>\\n <BackendPort>80</BackendPort>\\n <RealServers>[\\"112.139.XX.XX\\"]</RealServers>\\n </NetworkRules>\\n</DescribeNetworkRulesResponse>","errorExample":""}]',
- 'title' => 'DescribeNetworkRules',
- 'summary' => 'Queries port forwarding rules.',
+ 'title' => 'DescribeBlackholeStatus',
+ 'summary' => 'Queries the blackhole filtering status of an Anti-DDoS Proxy instance.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- 'translator' => 'machine',
- ],
- 'DescribeHealthCheckStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlackholeStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBlackholeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"BlackholeStatus\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"BlackStatus\\": \\"blackhole\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeBlockStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5903,24 +4388,33 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106148',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106101',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'NetworkRules',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'An array that consists of the details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ 'description' => 'An array consisting of information about the IDs of the instances that you want to query.'."\n"
."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -5929,153 +4423,93 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C',
- ],
- 'HealthCheckStatus' => [
- 'description' => 'An array that consists of the details of the health status of the origin server.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'StatusList' => [
+ 'description' => 'An array that consists of details of the Diversion from Origin Server configurations of the instance.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The health status of the origin server. Valid values:'."\n"
- ."\n"
- .'* **normal**: healthy'."\n"
- .'* **abnormal**: unhealthy'."\n",
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8080',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'Protocol' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'RealServerStatusList' => [
- 'description' => 'An array that consists of the health states of the IP addresses of the origin server.'."\n",
+ 'Ip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.XX.XX.88', 'title' => ''],
+ 'BlockStatusList' => [
+ 'description' => 'An array that consists of details of the Diversion from Origin Server configuration.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The health state of the IP address. Valid values:'."\n"
- ."\n"
- .'* **normal**: healthy'."\n"
- .'* **abnormal**: unhealthy'."\n",
- 'type' => 'string',
- 'example' => 'abnormal',
- ],
- 'Address' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '192.0.XX.XX',
- ],
+ 'EndTime' => ['description' => 'The end time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1540196323', 'title' => ''],
+ 'StartTime' => ['description' => 'The start time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1540195323', 'title' => ''],
+ 'Line' => ['description' => 'The Internet service provider (ISP) line from which the traffic is blocked. Valid values:'."\n"
+ ."\n"
+ .'* **ct**: China Telecom (International)'."\n"
+ .'* **cut**: China Unicom (International)'."\n", 'type' => 'string', 'example' => 'cut', 'title' => ''],
+ 'BlockStatus' => ['description' => 'The blocking status of the network traffic. Valid values:'."\n"
+ ."\n"
+ .'* **areablock**: Network traffic is blocked.'."\n"
+ .'* **normal**: Network traffic is not blocked.'."\n", 'type' => 'string', 'example' => 'areablock', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<DescribeHealthCheckStatusResponse>\\n <RequestId>DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C</RequestId>\\n <HealthCheckStatus>\\n <Status>normal</Status>\\n <FrontendPort>8080</FrontendPort>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <Protocol>tcp</Protocol>\\n <RealServerStatusList>\\n <Status>abnormal</Status>\\n <Address>192.0.XX.XX</Address>\\n </RealServerStatusList>\\n </HealthCheckStatus>\\n</DescribeHealthCheckStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeHealthCheckStatus',
- 'summary' => 'Queries the health status of an origin server.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"StatusList\\": [\\n {\\n \\"Ip\\": \\"203.XX.XX.88\\",\\n \\"BlockStatusList\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Line\\": \\"cut\\",\\n \\"BlockStatus\\": \\"areablock\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeBlockStatusResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <StatusList>\\n <Ip>203.XX.XX.88</Ip>\\n <BlockStatusList>\\n <EndTime>1540196323</EndTime>\\n <StartTime>1540195323</StartTime>\\n <Line>cut</Line>\\n <BlockStatus>areablock</BlockStatus>\\n </BlockStatusList>\\n </StatusList>\\n</DescribeBlockStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribeBlockStatus',
+ 'summary' => 'Queries the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.',
+ 'description' => 'You can call this operation to query the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.'."\n"
+ ."\n"
+ .'> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n"
+ ."\n"
+ .'### [](#qps-)QPS limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ConfigNetworkRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106057',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockStatus'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'NetworkRules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
- .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
- .'* **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n"
- ."\n"
- .'> You can modify only the value of **RealServers** when you modify a port forwarding rule.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}]',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBlockStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigNetworkRulesResponse>\\r\\n\\t<RequestId>CC042262-15A3-4A49-ADF0-130968EA47BC</RequestId>\\r\\n</ConfigNetworkRulesResponse>","errorExample":""}]',
- 'title' => 'ConfigNetworkRules',
- 'summary' => 'Modifies the IP addresses of the origin server that is configured in a port forwarding rule.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'CreateSchedulerRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeCdnLinkageRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6084,97 +4518,32 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106072',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106105',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Rules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
- ."\n"
- .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **A**: IP address'."\n"
- .' * **CNAME**: domain name'."\n"
- ."\n"
- .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n"
- ."\n"
- .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n"
- ."\n"
- .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
- .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n"
- .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n"
- .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n"
- .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n"
- ."\n"
- .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'RuleName',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
+ 'schema' => ['description' => 'The domain name of your website.'."\n"
+ ."\n"
+ .'> The domain name must be added to your Anti-DDoS instance. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
],
[
- 'name' => 'RuleType',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the rule. Valid values:'."\n"
- ."\n"
- .'* **2**: tiered protection'."\n"
- .'* **3**: network acceleration'."\n"
- .'* **5**: Alibaba Cloud CDN (CDN) interaction'."\n"
- .'* **6**: cloud service interaction'."\n"
- .'* **8**: secure acceleration'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The number of the page to return for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Param',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
- ."\n"
- .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n"
- ."\n"
- .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. ParamData contains the following parameters:'."\n"
- ."\n"
- .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n"
- .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n"
- .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n"
- .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -6182,43 +4551,114 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4',
- ],
- 'Cname' => [
- 'description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n"
- ."\n"
- .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n",
- 'type' => 'string',
- 'example' => '48k7b372gpl4****.aliyunddos0001.com',
- ],
- 'RuleName' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'testrule',
+ 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'string', 'example' => '12', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047', 'title' => ''],
+ 'SchedulerRules' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ 'CdnLinkageEnable' => ['description' => 'Specifies whether CDN interaction is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CdnLinkageRule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cname' => ['description' => 'The canonical name of the Anti-DDoS instance that is associated with the domain name.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ 'RuleName' => ['description' => 'The name of the traffic scheduling rule.', 'type' => 'string', 'example' => 'testDDos', 'title' => ''],
+ 'Rules' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The format of the resource address. Valid values:'."\n"
+ ."\n"
+ .'- **A**: IPv4 address'."\n"
+ ."\n"
+ .'- **AAAA**: IPv6 address'."\n"
+ ."\n"
+ .'- **CNAME**: canonical name', 'type' => 'string', 'example' => 'A', 'title' => ''],
+ 'Status' => ['description' => 'The status of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Inactive'."\n"
+ ."\n"
+ .'- **1**: Active', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Value' => ['description' => 'The resource address.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'ValueType' => ['description' => 'The type of the resource address. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS IP'."\n"
+ ."\n"
+ .'- **5**: Accelerated domain name for CDN interaction', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Priority' => ['description' => 'The priority of the rule. Valid values: 0 to 100. A larger value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID. The default value is empty.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The rule information.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Param' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParamType' => ['description' => 'The type of the resource for interaction. Valid values:'."\n"
+ ."\n"
+ .'- **cdn**: Alibaba Cloud CDN'."\n"
+ ."\n"
+ .'- **dcdn**: DCDN', 'type' => 'string', 'example' => 'cdn', 'title' => ''],
+ 'ParamData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessQps' => ['description' => 'The QPS threshold that triggers a resource switch.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'UpstreamQps' => ['description' => 'A reserved field. The default value is 0.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => 'The interaction conditions.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The resource for interaction.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The CDN interaction rule.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The traffic scheduling rules.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The traffic scheduling rules.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSchedulerRuleResponse>\\n <RequestId>8DFB602D-1AAC-46C4-90F2-C84086E7A6E4</RequestId>\\n <Cname>48k7b372gpl4****.aliyunddos0001.com</Cname>\\n <RuleName>testrule</RuleName>\\n</CreateSchedulerRuleResponse>","errorExample":""}]',
- 'title' => 'CreateSchedulerRule',
- 'summary' => 'Creates a scheduling rule for Sec-Traffic Manager.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteSchedulerRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'DescribeCdnLinkageRules',
+ 'summary' => 'Describes the CDN interaction rule configurations for a specified domain name.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"12\\",\\n \\"RequestId\\": \\"02FE96D9-C77B-5735-B36D-329E052C8047\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"CdnLinkageEnable\\": 0,\\n \\"CdnLinkageRule\\": {\\n \\"Cname\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"RuleName\\": \\"testDDos\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 1,\\n \\"Value\\": \\"203.107.XX.XX\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 1,\\n \\"RegionId\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"cdn\\",\\n \\"ParamData\\": {\\n \\"AccessQps\\": 100,\\n \\"UpstreamQps\\": 0\\n }\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeCerts' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6227,32 +4667,22 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106086',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106106',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
],
[
- 'name' => 'RuleName',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the scheduling rule that you want to delete.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
+ 'schema' => ['description' => 'The domain name of your website.'."\n"
+ ."\n"
+ .'> A website forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -6260,31 +4690,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
+ 'Certs' => [
+ 'description' => 'The certificate information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndDate' => ['description' => 'The expiration date of the certificate. The value is a string.', 'type' => 'string', 'title' => '', 'example' => '2021-09-12'],
+ 'DomainRelated' => ['description' => 'Indicates whether the certificate is associated with the domain name. Valid values:'."\n"
+ ."\n"
+ .'- **true**: The certificate is associated with the domain name.'."\n"
+ ."\n"
+ .'- **false**: The certificate is not associated with the domain name.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'StartDate' => ['description' => 'The issuance date of the certificate. The value is a string.', 'type' => 'string', 'title' => '', 'example' => '2019-09-12'],
+ 'Issuer' => ['description' => 'The certification authority (CA) that issued the certificate.', 'type' => 'string', 'title' => '', 'example' => 'Symantec'],
+ 'Name' => ['description' => 'The name of the certificate.', 'type' => 'string', 'title' => '', 'example' => 'testcert'],
+ 'Common' => ['description' => 'The domain name that is associated with the certificate.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'],
+ 'Id' => ['description' => 'The ID of the certificate.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '81'],
+ 'CertIdentifier' => ['description' => 'The global certificate ID. The value is a string that consists of the certificate ID and the region ID, separated by a hyphen (-). For example, if the certificate ID is \\`123\\` and the region is \\`cn-hangzhou\\`, the value of \\`CertIdentifier\\` is \\`123-cn-hangzhou\\`.', 'type' => 'string', 'title' => '', 'example' => '126345-ap-southeast-1'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteSchedulerRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteSchedulerRuleResponse>","errorExample":""}]',
- 'title' => 'DeleteSchedulerRule',
- 'summary' => 'Deletes a scheduling rule of Sec-Traffic Manager.',
+ 'title' => 'DescribeCerts',
+ 'summary' => 'Queries all certificates that are available for a domain name. This operation does not query the certificate that is currently in use.',
+ 'description' => 'You can call this operation to query all certificates that are available for a domain name protected by an Anti-DDoS instance. A domain name can be associated with multiple certificates. For example, a query for a specific domain name can return both a certificate for that specific domain name and a wildcard certificate.'."\n"
+ ."\n"
+ .'> To query the certificate that is currently used by a domain name, call the [DescribeWebRules](~~473610~~) operation to obtain the CertName and CertRegion values. Then, call the [ListUserCertificateOrder](~~411733~~) operation of Certificate Management Service. Use the returned CertName value to query the corresponding certificate ID and other details.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifySchedulerRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCerts'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeCerts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Certs\\": [\\n {\\n \\"EndDate\\": \\"2021-09-12\\",\\n \\"DomainRelated\\": true,\\n \\"StartDate\\": \\"2019-09-12\\",\\n \\"Issuer\\": \\"Symantec\\",\\n \\"Name\\": \\"testcert\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 81,\\n \\"CertIdentifier\\": \\"126345-ap-southeast-1\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeCnameReuses' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6293,98 +4767,30 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106257',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106108',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Rules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
- ."\n"
- .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **A**: IP address'."\n"
- .' * **CNAME**: domain name'."\n"
- ."\n"
- .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n"
- ."\n"
- .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n"
- ."\n"
- .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
- .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n"
- .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n"
- .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n"
- .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n"
- .' * **8**: the IP address of the Secure Chinese Mainland Acceleration (Sec-CMA) instance in the secure acceleration scenario'."\n"
- ."\n"
- .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
],
[
- 'name' => 'RuleName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the rule that you want to modify.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
- ],
- [
- 'name' => 'RuleType',
+ 'name' => 'Domains',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The type of the scheduling rule. Valid values:'."\n"
+ 'description' => 'The domain names of the websites. You can specify the domain names of up to 200 websites.'."\n"
."\n"
- .'* **2**: tiered protection'."\n"
- .'* **3**: network acceleration'."\n"
- .'* **5**: CDN interaction'."\n"
- .'* **6**: cloud service interaction'."\n"
- .'* **8**: secure acceleration'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The domain name of the website.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'],
'required' => true,
- 'example' => '2',
- ],
- ],
- [
- 'name' => 'Param',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n"
- ."\n"
- .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. The ParamData parameter contains the following parameters:'."\n"
- ."\n"
- .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n"
- .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n"
- .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n"
- .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}',
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -6393,43 +4799,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B',
- ],
- 'Cname' => [
- 'description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n"
- ."\n"
- .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n",
- 'type' => 'string',
- 'example' => '48k7b372gpl4****.aliyunddos0001.com',
- ],
- 'RuleName' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'testrule',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
+ 'CnameReuses' => [
+ 'description' => 'The CNAME reuse information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'],
+ 'Cname' => ['description' => 'The reused canonical name value.', 'type' => 'string', 'title' => '', 'example' => '4o6ep6q217k9****.aliyunddos0004.com'],
+ 'Enable' => ['description' => 'Indicates whether CNAME reuse is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **0**: disabled'."\n"
+ ."\n"
+ .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySchedulerRuleResponse>\\n <RequestId>FFC77501-BDF8-4BC8-9BF5-B295FBC3189B</RequestId>\\n <Cname>48k7b372gpl4****.aliyunddos0001.com</Cname>\\n <RuleName>testrule</RuleName>\\n</ModifySchedulerRuleResponse>","errorExample":""}]',
- 'title' => 'ModifySchedulerRule',
- 'summary' => 'Modifies the scheduling rule of Sec-Traffic Manager.',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CnameReuses\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Cname\\": \\"4o6ep6q217k9****.aliyunddos0004.com\\",\\n \\"Enable\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeCnameReuses',
+ 'summary' => 'Queries the CNAME reuse information about websites.',
+ 'description' => 'This operation is applicable only to Anti-DDoS Proxy (Outside Chinese Mainland).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSchedulerRules' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCnameReuses'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeCnameReuses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDDoSEvents' => [
+ 'summary' => 'Queries attack events on Anti-DDoS Pro or Anti-DDoS Premium instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6439,52 +4870,55 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106184',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106114',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs. By default, this parameter is empty, which means that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'RuleName',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testrule',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the first page, set this parameter to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The IDs of the Anti-DDoS Pro or Anti-DDoS Premium instances.'."\n"
+ ."\n"
+ .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '10',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -6493,238 +4927,84 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989',
- ],
- 'SchedulerRules' => [
- 'description' => '',
+ 'Total' => ['description' => 'The total number of attack events.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334', 'title' => ''],
+ 'DDoSEvents' => [
+ 'description' => 'A list of DDoS attack events.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'RuleType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Cname' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4eru5229a843****.aliyunddos0001.com',
- ],
- 'RuleName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'doctest',
- ],
- 'Rules' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '203.***.***.39',
- ],
- 'ValueType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Priority' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'RestoreDelay' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Line' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'Param' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ParamType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'GA',
- ],
- 'ParamData' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'CloudInstanceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ga-bp1htlajy5509rc99****',
- ],
- ],
- ],
- ],
- ],
+ 'EndTime' => ['description' => 'The time when the attack ended. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933330', 'title' => ''],
+ 'StartTime' => ['description' => 'The time when the attack started. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933277', 'title' => ''],
+ 'EventType' => ['description' => 'The type of the attack event. Valid values:'."\n"
+ ."\n"
+ .'- **defense**: scrubbing events.'."\n"
+ ."\n"
+ .'- **blackhole**: blackhole filtering events.', 'type' => 'string', 'example' => 'blackhole', 'title' => ''],
+ 'Region' => ['description' => 'The source location of the attack. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ ."\n"
+ .'- **alb-ap-northeast-1-gf-x**: Japan.'."\n"
+ ."\n"
+ .'- **alb-ap-southeast-gf-x**: Singapore.'."\n"
+ ."\n"
+ .'- **alb-cn-hongkong-gf-x**: Hong Kong (China).'."\n"
+ ."\n"
+ .'- **alb-eu-central-1-gf-x**: Germany.'."\n"
+ ."\n"
+ .'- **alb-us-west-1-gf-x**: US (West).'."\n"
+ ."\n"
+ .'> Values other than **cn** are available only for the Anti-DDoS Premium service, for which the **RegionId** is **ap-southeast-1**.', 'type' => 'string', 'example' => 'cn', 'title' => ''],
+ 'Ip' => ['description' => 'The attacked IP address.', 'type' => 'string', 'example' => '203.***.***.132', 'title' => ''],
+ 'Port' => ['description' => 'The attacked port.', 'type' => 'string', 'example' => '80', 'title' => ''],
+ 'Bps' => ['description' => 'The bandwidth of the attack traffic. Unit: Mbps.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Pps' => ['description' => 'The packet forwarding rate of the attack traffic. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n\\t<DescribeSchedulerRulesResponse>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<RequestId>11C55595-1757-4B17-9ACE-4ACB68C2D989</RequestId>\\r\\n\\t\\t<SchedulerRules>\\r\\n\\t\\t\\t<Param>\\r\\n\\t\\t\\t\\t<ParamData>\\r\\n\\t\\t\\t\\t\\t<CloudInstanceId>ga-bp1htlajy5509rc99****</CloudInstanceId>\\r\\n\\t\\t\\t\\t</ParamData>\\r\\n\\t\\t\\t\\t<ParamType>GA</ParamType>\\r\\n\\t\\t\\t</Param>\\r\\n\\t\\t\\t<RuleType>6</RuleType>\\r\\n\\t\\t\\t<Cname>4eru5229a843****.aliyunddos0001.com</Cname>\\r\\n\\t\\t\\t<Rules>\\r\\n\\t\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t\\t\\t<Type>A</Type>\\r\\n\\t\\t\\t\\t<RestoreDelay>60</RestoreDelay>\\r\\n\\t\\t\\t\\t<ValueType>1</ValueType>\\r\\n\\t\\t\\t\\t<Priority>100</Priority>\\r\\n\\t\\t\\t\\t<Value>203.***.***.39</Value>\\r\\n\\t\\t\\t\\t<RegionId></RegionId>\\r\\n\\t\\t\\t</Rules>\\r\\n\\t\\t\\t<Rules>\\r\\n\\t\\t\\t\\t<Status>1</Status>\\r\\n\\t\\t\\t\\t<Type>A</Type>\\r\\n\\t\\t\\t\\t<ValueType>6</ValueType>\\r\\n\\t\\t\\t\\t<Priority>50</Priority>\\r\\n\\t\\t\\t\\t<Value>47.***.***.47</Value>\\r\\n\\t\\t\\t\\t<RegionId>cn-hangzhou</RegionId>\\r\\n\\t\\t\\t</Rules>\\r\\n\\t\\t\\t<RuleName>doctest</RuleName>\\r\\n\\t\\t</SchedulerRules>\\r\\n\\t</DescribeSchedulerRulesResponse>\\r\\n","errorExample":""}]',
- 'title' => 'DescribeSchedulerRules',
- 'summary' => 'Queries the scheduling rules of Sec-Traffic Manager.',
- 'requestParamsDescription' => ' ',
+ 'title' => 'DescribeDDoSEvents',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'SwitchSchedulerRule' => [
- 'summary' => 'Switches service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switches service traffic back to the associated cloud resources.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106277',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDoSEvents'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'RuleName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the scheduling rule to manage.'."\n"
- ."\n"
- .'> You can call the [DescribeSchedulerRules](~~157481~~) operation to query the names of all scheduling rules.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
- ],
- [
- 'name' => 'RuleType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the scheduling rule. Valid values:'."\n"
- ."\n"
- .'* **2**: tiered protection rule'."\n"
- .'* **3**: network acceleration rule'."\n"
- .'* **5**: Alibaba Cloud CDN (CDN) interaction rule'."\n"
- .'* **6**: cloud service interaction rule'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '6',
- ],
- ],
- [
- 'name' => 'SwitchData',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration that is used to switch service traffic. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following parameters:'."\n"
- ."\n"
- .'* **Value**: required. The IP address of the associated resource. Data type: string.'."\n"
- ."\n"
- .'* **State**: required. The operation type. Data type: integer. Valid values:'."\n"
- ."\n"
- .' * **0**: switches service traffic from the associated resource to your Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing.'."\n"
- .' * **1**: switches service traffic back to the associated cloud resource.'."\n"
- ."\n"
- .'* **Interval**: optional. The waiting time that is required before the service traffic is switched back. Unit: minutes. Data type: integer. Usage notes:'."\n"
- ."\n"
- .' * If the **State** parameter is set to **0**, you must set this parameter to \\*\\*-1\\*\\*. Otherwise, the call fails.'."\n"
- .' * If the **State** parameter is set to **1**, you do not need to set this parameter.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDoSEvents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\"\\n}","errorExample":""},{"type":"xml","example":"<SwitchSchedulerRuleResponse>\\n <RequestId>7E3C301F-84BB-50E4-9DB9-2937B2429C1E</RequestId>\\n</SwitchSchedulerRuleResponse>","errorExample":""}]',
- 'title' => 'SwitchSchedulerRule',
- 'description' => 'You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.'."\n"
- ."\n"
- .'Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"0CA72AF5-1795-4350-8C77-50A448A2F334\\",\\n \\"DDoSEvents\\": [\\n {\\n \\"EndTime\\": 1583933330,\\n \\"StartTime\\": 1583933277,\\n \\"EventType\\": \\"blackhole\\",\\n \\"Region\\": \\"cn\\",\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"Port\\": \\"80\\",\\n \\"Bps\\": 0,\\n \\"Pps\\": 0\\n }\\n ]\\n}","type":"json"}]',
],
- 'DescribeCdnLinkageRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDDosAllEventList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6734,53 +5014,55 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106105',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeCode' => '106109',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The type of DDoS attack event to return. Valid values:'."\n"
+ ."\n"
+ .'- **web-cc**: a web resource exhaustion attack.'."\n"
+ ."\n"
+ .'- **cc**: a connection flood attack.'."\n"
+ ."\n"
+ .'- **defense**: a volumetric attack (scrubbing event).'."\n"
+ ."\n"
+ .'- **blackhole**: a volumetric attack (blackhole event).'."\n"
+ ."\n"
+ .'You can specify multiple event types. Separate them with a comma (,).'."\n"
+ ."\n"
+ .'If you do not specify this parameter, all types of attack events are returned.', 'type' => 'string', 'required' => false, 'example' => 'defense', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
+ 'schema' => ['description' => 'The start of the time range to query. The operation returns DDoS attack events that occurred at or after this time. Specify the time as a UNIX **timestamp** in seconds.'."\n"
+ ."\n"
+ .'> You can query events from the last three months only.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The operation returns DDoS attack events that occurred before this time. Specify the time as a UNIX **timestamp** in seconds.'."\n"
+ ."\n"
+ .'> You can query events from the last three months only.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966399', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of events to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'Ip',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS Pro instance to query.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1', 'title' => ''],
],
],
'responses' => [
@@ -6788,139 +5070,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '12',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047',
- ],
- 'SchedulerRules' => [
- 'description' => '',
+ 'Total' => ['description' => 'The total number of events returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005', 'title' => ''],
+ 'AttackEvents' => [
+ 'description' => 'An array of DDoS attack events.',
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- 'CdnLinkageEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CdnLinkageRule' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Cname' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com'."\n",
- ],
- 'RuleName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'testDDos',
- ],
- 'Rules' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'ValueType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Priority' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- ],
- 'Param' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ParamType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cdn',
- ],
- 'ParamData' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'AccessQps' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'UpstreamQps' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'EndTime' => ['description' => 'The time the attack ended, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1634546030', 'title' => ''],
+ 'StartTime' => ['description' => 'The time the attack started, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1634543764', 'title' => ''],
+ 'EventType' => ['description' => 'The type of DDoS attack event. Valid values:'."\n"
+ ."\n"
+ .'- **web-cc**: a web resource exhaustion attack.'."\n"
+ ."\n"
+ .'- **cc**: a connection flood attack.'."\n"
+ ."\n"
+ .'- **defense**: a volumetric attack (scrubbing event).'."\n"
+ ."\n"
+ .'- **blackhole**: a volumetric attack (blackhole event).', 'type' => 'string', 'example' => 'cc', 'title' => ''],
+ 'Mbps' => ['description' => 'The peak bandwidth of the attack traffic, in Mbps.', 'type' => 'integer', 'format' => 'int64', 'example' => '101899', 'title' => ''],
+ 'Ip' => ['description' => 'The attacked asset. The type of asset returned depends on the `EventType` value.'."\n"
+ ."\n"
+ .'- If **EventType** is **web-cc**, this is the attacked website domain name.'."\n"
+ ."\n"
+ .'- If **EventType** is **cc**, this is the attacked Anti-DDoS Pro IP.'."\n"
+ ."\n"
+ .'- If **EventType** is **defense** or **blackhole**, this is the attacked Anti-DDoS Pro IP.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'Area' => ['description' => 'The source region of the attack. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: Chinese mainland.'."\n"
+ ."\n"
+ .'- **alb-cn-hongkong-gf-2**: China (Hong Kong).'."\n"
+ ."\n"
+ .'- **alb-us-west-1-gf-2**: US (Silicon Valley).'."\n"
+ ."\n"
+ .'- **alb-ap-northeast-1-gf-1**: Japan (Tokyo).'."\n"
+ ."\n"
+ .'- **alb-ap-southeast-gf-1**: Singapore.'."\n"
+ ."\n"
+ .'- **alb-eu-central-1-gf-1**: Germany (Frankfurt).'."\n"
+ ."\n"
+ .'- **alb-eu-west-1-gf-1** and **selb-eu-west-1-gf-1a**: UK (London).'."\n"
+ ."\n"
+ .'- **alb-us-east-gf-1**: US (Virginia).'."\n"
+ ."\n"
+ .'- **CT-yundi**: China (Hong Kong). This value is returned only for Anti-DDoS Premium instances that use the Secure Acceleration plan.', 'type' => 'string', 'example' => 'cn', 'title' => ''],
+ 'Port' => ['description' => 'The attacked port number.'."\n"
+ ."\n"
+ .'> This parameter is not returned when **EventType** is **web-cc**.', 'type' => 'string', 'example' => '80', 'title' => ''],
+ 'Pps' => ['description' => 'The peak packet forwarding rate of the attack traffic, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '9664270', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"12\\",\\n \\"RequestId\\": \\"02FE96D9-C77B-5735-B36D-329E052C8047\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"CdnLinkageEnable\\": 0,\\n \\"CdnLinkageRule\\": {\\n \\"Cname\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"RuleName\\": \\"testDDos\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 1,\\n \\"Value\\": \\"203.107.XX.XX\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 1,\\n \\"RegionId\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"cdn\\",\\n \\"ParamData\\": {\\n \\"AccessQps\\": 100,\\n \\"UpstreamQps\\": 0\\n }\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
- ],
- 'AddAutoCcBlacklist' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"25D83ED5-28CB-5683-9CF7-AECE521F3005\\",\\n \\"AttackEvents\\": [\\n {\\n \\"EndTime\\": 1634546030,\\n \\"StartTime\\": 1634543764,\\n \\"EventType\\": \\"cc\\",\\n \\"Mbps\\": 101899,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Area\\": \\"cn\\",\\n \\"Port\\": \\"80\\",\\n \\"Pps\\": 9664270\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDDosAllEventList',
+ 'summary' => 'Returns a list of DDoS attack events.',
+ 'description' => 'This operation returns a paginated list of DDoS attack events within a specified time range. A DDoS attack event includes details such as its start and end times, attack type, the attacked asset, and its peak traffic, measured as either peak bandwidth or packet forwarding rate.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'This operation has a queries-per-second (QPS) limit of 10 for each user. The system throttles calls that exceed this limit. This may affect your business operations. Plan your API calls accordingly.',
+ 'requestParamsDescription' => 'You must also include the common request parameters for Alibaba Cloud APIs when you call this operation. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about the request format, see the request sample in the **Examples** section.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-06T10:55:51.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-06T10:48:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-06T10:48:20.000Z', 'description' => 'OpenAPI offline'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosAllEventList'],
+ ],
],
+ 'ramActions' => [],
+ ],
+ 'DescribeDDosEventArea' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6929,47 +5173,36 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106046',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '106110',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n"
+ ."\n"
+ .'- **defense**: volumetric attack scrubbing events.'."\n"
+ ."\n"
+ .'- **blackhole**: volumetric attack blackhole filtering events.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'defense'],
],
[
- 'name' => 'Blacklist',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. The string contains the following field:'."\n"
- ."\n"
- .'* **src**: the IP address. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'> You can manually add up to 2,000 IP addresses to the IP address blacklist. Separate multiple IP addresses with spaces or line breaks.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]',
- ],
+ 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
+ ."\n"
+ .'> You can call [DescribeDDosAllEventList](~~188604~~) to query the start time of all events.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1598948471'],
],
[
- 'name' => 'ExpireTime',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '300',
- ],
+ 'schema' => ['description' => 'The DDoS protection IP address that is under attack.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '203.XX.XX.199'],
+ ],
+ [
+ 'name' => 'Range',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return. Unit: entries.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100'],
],
],
'responses' => [
@@ -6977,31 +5210,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827'],
+ 'Areas' => [
+ 'description' => 'The information about the source region from which the volumetric attack was initiated.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InPkts' => ['description' => 'The number of request packets that were sent from the source region.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '228'],
+ 'Area' => ['description' => 'The code of the source region from which the attack was initiated. The code includes Chinese regions (at the province, city, and district levels) and international regions (at the country level). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n"
+ ."\n"
+ .'> For more information about the values of this parameter, see [Region type parameter values](~~167926~~).', 'type' => 'string', 'title' => '', 'example' => '110000'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<AddAutoCcBlacklistResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</AddAutoCcBlacklistResponse>","errorExample":""}]',
- 'title' => 'AddAutoCcBlacklist',
- 'summary' => 'Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11710C9F-BC5E-481A-BEC5-C6D8FBFCA827\\",\\n \\"Areas\\": [\\n {\\n \\"InPkts\\": 228,\\n \\"Area\\": \\"110000\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDDosEventArea',
+ 'summary' => 'Queries the source region from which a volumetric attack is initiated.',
+ 'description' => '> Currently, this operation can be used only to query data about volumetric attacks. It cannot be used to query data about web resource consumption attacks or connection flood attacks.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request syntax, see the **Examples** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddAutoCcWhitelist' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDDosEventAttackType' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7010,49 +5279,30 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106047',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106111',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n"
+ ."\n"
+ .'* **defense**: attack events that trigger traffic scrubbing'."\n"
+ .'* **blackhole**: attack events that trigger blackhole filtering'."\n", 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''],
],
[
- 'name' => 'Whitelist',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration of the IP addresses that you want to add to the whitelist. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n"
- ."\n"
- .'* **src**: the IP address that you want to add. This parameter is required. Data type: string.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]',
- ],
+ 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471', 'title' => ''],
],
[
- 'name' => 'ExpireTime',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'This parameter is deprecated.'."\n"
- ."\n"
- .'> This parameter indicates the validity period of the IP address blacklist. By default, the traffic from the IP addresses that you add to the whitelist is always allowed. You do not need to set this parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", 'type' => 'string', 'required' => true, 'example' => '203.***.***.199', 'title' => ''],
],
],
'responses' => [
@@ -7060,39 +5310,106 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555', 'title' => ''],
+ 'AttackTypes' => [
+ 'description' => 'The information about the attack types.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InPkts' => ['description' => 'The number of request packets of the attack type.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '145902', 'title' => ''],
+ 'AttackType' => ['description' => 'The type of the attack Valid values:'."\n"
+ ."\n"
+ .'* **QOTD-Reflect-Flood**: QOTD reflection attacks'."\n"
+ .'* **CharGEN-Reflect-Flood**: CHARGEN reflection attacks'."\n"
+ .'* **DNS-Reflect-Flood**: DNS reflection attacks'."\n"
+ .'* **TFTP-Reflect-Flood**: TFTP reflection attacks'."\n"
+ .'* **Portmap-Reflect-Flood**: Portmap reflection attacks'."\n"
+ .'* **NTP-Reflect-Flood**: NTP reflection attacks'."\n"
+ .'* **NetBIOS-Reflect-Flood**: NetBIOS reflection attacks'."\n"
+ .'* **SNMPv2-Reflect-Flood**: SNMPv2 reflection attacks'."\n"
+ .'* **CLDAP-Reflect-Flood**: CLDAP reflection attacks'."\n"
+ .'* **Ripv1-Reflect-Flood**: RIPv1 reflection attacks'."\n"
+ .'* **OpenVPN-Reflect-Flood**: OpenVPN reflection attacks'."\n"
+ .'* **SSDP-Reflect-Flood**: SSDP reflection attacks'."\n"
+ .'* **NetAssistant-Reflect-Flood**: NetAssistant reflection attacks'."\n"
+ .'* **WSDiscovery-Reflect-Flood**: WS-Discovery reflection attacks'."\n"
+ .'* **Kad-Reflect-Flood**: Kad reflection attacks'."\n"
+ .'* **mDNS-Reflect-Flood**: mDNS reflection attacks'."\n"
+ .'* **10001-Reflect-Flood**: reflection attacks over port 10001'."\n"
+ .'* **Memcached-Reflect-Flood**: Memcached reflection attacks'."\n"
+ .'* **QNP-Reflect-Flood**: QNP reflection attacks'."\n"
+ .'* **DVR-Reflect-Flood**: DVR reflection attacks'."\n"
+ .'* **CoAP-Reflect-Flood**: CoAP reflection attacks'."\n"
+ .'* **ADDP-Reflect-Flood**: ADDP reflection attacks'."\n"
+ .'* **Tcp-Syn**: TCP SYN flood attacks'."\n"
+ .'* **Tcp-Fin**: TCP FIN flood attacks'."\n"
+ .'* **Tcp-Ack**: TCP ACK flood attacks'."\n"
+ .'* **Tcp-Rst**: TCP RST flood attacks'."\n"
+ .'* **Tcp-Pushack**: TCP PSH-ACK flood attacks'."\n"
+ .'* **Tcp-Synack**: TCP SYN-ACK flood attacks'."\n"
+ .'* **Udp-None**: UDP attacks'."\n"
+ .'* **Udp-Ssh**: UDP-based SSH attacks'."\n"
+ .'* **Udp-Dns**: UDP-based DNS attacks'."\n"
+ .'* **Udp-Http**: UDP-based HTTP attacks'."\n"
+ .'* **Udp-Https**: UDP-based HTTPS attacks'."\n"
+ .'* **Udp-Ntp**: UDP-based NTP attacks'."\n"
+ .'* **Udp-Ldap**: UDP-based LDAP attacks'."\n"
+ .'* **Udp-Ssdp**: UDP-based SSDP attacks'."\n"
+ .'* **Udp-Memcached**: Memcached UDP reflection attacks'."\n"
+ .'* **Tcp-Other**: other TCP attacks'."\n"
+ .'* **Icmp**: ICMP flood attacks'."\n"
+ .'* **Igmp**: IGMP flood attacks'."\n"
+ .'* **Ipv6**: IPv6 attacks'."\n", 'type' => 'string', 'example' => 'Tcp-Syn', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","errorExample":""},{"type":"xml","example":"<AddAutoCcWhitelistResponse>\\n <RequestId>AB5025DA-5C52-5207-B6AC-3F198758B678</RequestId>\\n</AddAutoCcWhitelistResponse>","errorExample":""}]',
- 'summary' => 'Adds IP addresses to the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'description' => 'You can call the AddAutoCcWhitelist operation to add IP addresses to the whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance. This way, the Anti-DDoS Pro or Anti-DDoS Premium instance allows traffic from the IP addresses.'."\n"
- ."\n"
- .'By default, the traffic from the IP addresses that you add to the whitelist is always allowed. If you no longer use the whitelist, you can call the [EmptyAutoCcWhitelist](~~157505~~) operation to remove the IP addresses from the whitelist.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventAttackTypeResponse>\\r\\n\\t<RequestId>6F644A6E-40E7-483F-9DBB-CC27E16BB555</RequestId>\\r\\n\\t<AttackTypes>\\r\\n\\t\\t<AttackType>Tcp-Syn</AttackType>\\r\\n\\t\\t<InPkts>145902</InPkts>\\r\\n\\t</AttackTypes>\\r\\n\\t<AttackTypes>\\r\\n\\t\\t<AttackType>Tcp-Other</AttackType>\\r\\n\\t\\t<InPkts>3</InPkts>\\r\\n\\t</AttackTypes>\\r\\n </DescribeDDosEventAttackTypeResponse>","errorExample":""}]',
+ 'title' => 'DescribeDDosEventAttackType',
+ 'summary' => 'Queries the attack type details of a volumetric attack.',
+ 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAutoCcBlacklist' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventAttackType'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDDosEventIsp' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7101,44 +5418,36 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106077',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106112',
+ 'abilityTreeNodes' => ['FEATUREddosY2OCST'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n"
+ ."\n"
+ .'- **defense**: scrubbing events for volumetric attacks.'."\n"
+ ."\n"
+ .'- **blackhole**: blackhole filtering events for volumetric attacks.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'defense'],
],
[
- 'name' => 'QueryType',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
+ ."\n"
+ .'> You can call [DescribeDDosAllEventList](~~473646~~) to query the start time of all events.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1598948471'],
],
[
- 'name' => 'Blacklist',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **src**: the IP address. This field is required and must be of the STRING type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]',
- ],
+ 'schema' => ['description' => 'The IP address that is under attack.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '203.***.***.199'],
+ ],
+ [
+ 'name' => 'Range',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '50', 'description' => 'The number of entries to return.', 'title' => '', 'example' => '100'],
],
],
'responses' => [
@@ -7146,101 +5455,98 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C'],
+ 'Isps' => [
+ 'description' => 'The ISPs for the volumetric attack.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InPkts' => ['description' => 'The number of request packets that were sent from the ISP.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '230'],
+ 'Isp' => ['description' => 'The code of the ISP. Valid values:'."\n"
+ ."\n"
+ .'- **100017**: China Telecom'."\n"
+ ."\n"
+ .'- **100026**: China Unicom'."\n"
+ ."\n"
+ .'- **100025**: China Mobile'."\n"
+ ."\n"
+ .'- **100027**: CERNET'."\n"
+ ."\n"
+ .'- **100020**: China Tietong'."\n"
+ ."\n"
+ .'- **1000143**: Dr. Peng'."\n"
+ ."\n"
+ .'- **100080**: Gehua'."\n"
+ ."\n"
+ .'- **1000139**: Radio and Television'."\n"
+ ."\n"
+ .'- **100023**: Yongtong'."\n"
+ ."\n"
+ .'- **100063**: Founder Broadband'."\n"
+ ."\n"
+ .'- **1000337**: Haokuan Network'."\n"
+ ."\n"
+ .'- **100021**: 21Vianet'."\n"
+ ."\n"
+ .'- **1000333**: Wasu Media'."\n"
+ ."\n"
+ .'- **100093**: ChinaNetCenter'."\n"
+ ."\n"
+ .'- **1000401**: Tencent'."\n"
+ ."\n"
+ .'- **100099**: Baidu'."\n"
+ ."\n"
+ .'- **1000323**: Alibaba Cloud'."\n"
+ ."\n"
+ .'- **100098**: Alibaba', 'type' => 'string', 'title' => '', 'example' => '1000323'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAutoCcBlacklistResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</DeleteAutoCcBlacklistResponse>","errorExample":""}]',
- 'title' => 'DeleteAutoCcBlacklist',
- 'summary' => 'Removes IP addresses from the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A3BCD1-4A32-4342-941A-4745AE69508C\\",\\n \\"Isps\\": [\\n {\\n \\"InPkts\\": 230,\\n \\"Isp\\": \\"1000323\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDDosEventIsp',
+ 'summary' => 'Queries the Internet service provider (ISP) information about a volumetric attack.',
+ 'description' => '> This operation can be used only to query data about volumetric attacks. It cannot be used to query data about web resource consumption attacks or connection flood attacks.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAutoCcWhitelist' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'changeSet' => [
+ ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106078',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventIsp'],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'Whitelist',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. This parameter is a JSON string. The string contains the following field:'."\n"
- ."\n"
- .'* **src**: the IP address. This field is required and must be of the string type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventIsp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteAutoCcWhitelistResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</DeleteAutoCcWhitelistResponse>","errorExample":""}]',
- 'title' => 'DeleteAutoCcWhitelist',
- 'summary' => 'Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'ModifyBlackholeStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDDosEventMax' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7249,34 +5555,20 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106227',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106113',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'BlackholeStatus',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The action that you want to perform on the instance. Set the value to **undo**, which indicates that you want to deactivate blackhole filtering.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'undo',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598889600', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1604073600', 'title' => ''],
],
],
'responses' => [
@@ -7284,31 +5576,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'Qps' => ['description' => 'The peak of resource exhaustion attacks. Unit: queries per second (QPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26314', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', 'title' => ''],
+ 'Cps' => ['description' => 'The peak of connection flood attacks. Unit: connections per seconds (CPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1302', 'title' => ''],
+ 'Mbps' => ['description' => 'The peak of volumetric attacks. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6809', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyPortAutoCcStatusResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</ModifyPortAutoCcStatusResponse>","errorExample":""}]',
- 'title' => 'ModifyBlackholeStatus',
- 'summary' => 'Deactivates blackhole filtering that is triggered on an instance.',
- 'requestParamsDescription' => ' ',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventMaxResponse>\\r\\n\\t<RequestId>5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF</RequestId>\\r\\n\\t<Qps>26314</Qps>\\r\\n\\t<Cps>1302</Cps>\\r\\n\\t<Mbps>6809</Mbps>\\r\\n </DescribeDDosEventMaxResponse>","errorExample":""}]',
+ 'title' => 'DescribeDDosEventMax',
+ 'summary' => 'Queries the peaks of volumetric attacks (bit/s), connection flood attacks (CPS), and resource exhaustion attacks on websites (QPS).',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyBlockStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventMax'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventMax',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDDosEventSrcIp' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7317,71 +5630,35 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106228',
- 'abilityTreeNodes' => [
- 'FEATUREddosZIK01A',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106115',
+ 'abilityTreeNodes' => ['FEATUREddosY2OCST'],
],
'parameters' => [
[
- 'name' => 'Status',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies the status of the Diversion from Origin Server policy. Valid values:'."\n"
- ."\n"
- .'* **do**: enables the policy.'."\n"
- .'* **undo**: disables the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'do',
- ],
+ 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n"
+ ."\n"
+ .'* **defense**: attack events that trigger traffic scrubbing'."\n"
+ .'* **blackhole**: attack events that trigger blackhole filtering'."\n", 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''],
],
[
- 'name' => 'Duration',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The blocking period. Valid values: **15** to **43200**. Unit: minutes.'."\n"
- ."\n"
- .'> If you set **Status** to **do**, you must also specify this parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", 'type' => 'string', 'required' => true, 'example' => '203.***.***.199', 'title' => ''],
],
[
- 'name' => 'Lines',
+ 'name' => 'Range',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of the Internet service provider (ISP) lines from which traffic is blocked.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ISP line from which traffic is blocked. Valid values:'."\n"
- ."\n"
- .'* **ct**: a China Telecom line intended for users outside the Chinese mainland'."\n"
- .'* **cut**: a China Unicom line intended for users outside the Chinese mainland'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ct',
- ],
- 'required' => true,
- 'example' => 'ct',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The number of source IP addresses that you want to return. The source IP addresses are returned in descending order of attack traffic. By default, the top **five** source IP addresses are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''],
],
],
'responses' => [
@@ -7389,34 +5666,84 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9', 'title' => ''],
+ 'Ips' => [
+ 'description' => 'An array that consists of information about the source IP address of the volumetric attack.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SrcIp' => ['description' => 'The source IP address of the volumetric attack.'."\n", 'type' => 'string', 'example' => '218.***.***.24', 'title' => ''],
+ 'AreaId' => ['description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n", 'type' => 'string', 'example' => '110000', 'title' => ''],
+ 'Isp' => ['description' => 'The Internet service provider (ISP) for the volumetric attack. Valid values:'."\n"
+ ."\n"
+ .'* **100017**: China Telecom'."\n"
+ .'* **100026**: China Unicom'."\n"
+ .'* **100025**: China Mobile'."\n"
+ .'* **100027**: China Education and Research Network'."\n"
+ .'* **100020**: China Mobile Tietong'."\n"
+ .'* **1000143**: Dr.Peng Telecom & Media Group'."\n"
+ .'* **100080**: Beijing Gehua CATV Network'."\n"
+ .'* **1000139**: National Radio and Television Administration'."\n"
+ .'* **100023**: Oriental Cable Network'."\n"
+ .'* **100063**: Founder Broadband'."\n"
+ .'* **1000337**: China Internet Exchange'."\n"
+ .'* **100021**: 21Vianet Group'."\n"
+ .'* **1000333**: Wasu Media Holding'."\n"
+ .'* **100093**: Wangsu Science & Technology'."\n"
+ .'* **1000401**: Tencent'."\n"
+ .'* **100099**: Baidu'."\n"
+ .'* **1000323**: Alibaba Cloud'."\n"
+ .'* **100098**: Alibaba'."\n", 'type' => 'string', 'example' => '100026', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyBlockStatusResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</ModifyBlockStatusResponse>","errorExample":""}]',
- 'title' => 'ModifyBlockStatus',
- 'summary' => 'Modifies the Diversion from Origin Server configuration of an Anti-DDoS Proxy (Chinese Mainland) instance.',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventSrcIpResponse>\\r\\n\\t<RequestId>38A0224E-FDBC-4733-A362-B391827FC1E9</RequestId>\\r\\n\\t<Ips>\\r\\n\\t\\t<Isp>100026</Isp>\\r\\n\\t\\t<AreaId>110000</AreaId>\\r\\n\\t\\t<SrcIp>218.***.***.24</SrcIp>\\r\\n\\t</Ips>\\r\\n\\t<Ips>\\r\\n\\t\\t<Isp></Isp>\\r\\n\\t\\t<AreaId>us</AreaId>\\r\\n\\t\\t<SrcIp>193.***.***.174</SrcIp>\\r\\n\\t</Ips>\\r\\n</DescribeDDosEventSrcIpResponse>\\r\\n","errorExample":""}]',
+ 'title' => 'DescribeDDosEventSrcIp',
+ 'summary' => 'Queries the source IP address from which a volumetric attack is initiated.',
+ 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAutoCcListCount' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventSrcIp'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDefenseCountStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7426,36 +5753,17 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106096',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeCode' => '106118',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the **DescribeInstanceIds** operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- [
- 'name' => 'QueryType',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The mode of how an IP address is added to the whitelist or blacklist. Valid values:'."\n"
- ."\n"
- .'* **manual**: manually added'."\n"
- .'* **auto**: automatically added'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'manual',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
],
'responses' => [
@@ -7463,43 +5771,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184',
- ],
- 'WhiteCount' => [
- 'description' => 'The total number of IP addresses in the whitelist.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'BlackCount' => [
- 'description' => 'The total number of IP addresses in the blacklist.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', 'title' => ''],
+ 'DefenseCountStatistics' => [
+ 'description' => 'The statistics on the number of advanced mitigation sessions.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'FlowPackCountRemain' => ['description' => 'The number of available global advanced mitigation sessions for the Insurance mitigation plan.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'MaxUsableDefenseCountCurrentMonth' => ['description' => 'The maximum number of advanced mitigation sessions available for the current calendar month. The advanced mitigation sessions include the advanced mitigation sessions that are provided free of charge and the global advanced mitigation sessions that you purchase.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'DefenseCountTotalUsageOfCurrentMonth' => ['description' => 'The number of advanced mitigation sessions that are used within the current calendar month.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'SecHighSpeedCountRemain' => ['description' => 'The number of available global advanced mitigation sessions for the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5AC3785F-C789-4622-87A4-F58BE7F6B184\\",\\n \\"WhiteCount\\": 2,\\n \\"BlackCount\\": 0\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeAutoCcListCountResponse>\\r\\n\\t<BlackCount>0</BlackCount>\\r\\n\\t<RequestId>5AC3785F-C789-4622-87A4-F58BE7F6B184</RequestId>\\r\\n\\t<WhiteCount>2</WhiteCount>\\r\\n</DescribeAutoCcListCountResponse>","errorExample":""}]',
- 'title' => 'DescribeAutoCcListCount',
- 'summary' => 'Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeAutoCcBlacklist' => [
- 'methods' => [
- 'post',
- 'get',
+ '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":"<DescribeDefenseCountStatisticsResponse>\\n <RequestId>310A41FD-0990-5610-92E0-A6A55D7C6444</RequestId>\\n <DefenseCountStatistics>\\n <FlowPackCountRemain>0</FlowPackCountRemain>\\n <MaxUsableDefenseCountCurrentMonth>20</MaxUsableDefenseCountCurrentMonth>\\n <DefenseCountTotalUsageOfCurrentMonth>0</DefenseCountTotalUsageOfCurrentMonth>\\n <SecHighSpeedCountRemain>0</SecHighSpeedCountRemain>\\n </DefenseCountStatistics>\\n</DescribeDefenseCountStatisticsResponse>","errorExample":""}]',
+ 'title' => 'DescribeDefenseCountStatistics',
+ 'summary' => 'Queries the statistics on advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.',
+ 'description' => 'You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of remaining advanced mitigation sessions.'."\n"
+ ."\n"
+ .'> This operation is suitable only for Anti-DDoS Proxy (Outside Chinese Mainland).'."\n"
+ ."\n"
+ .'### [](#qps-)QPS limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the "Examples" section of this topic.'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2025-03-14T05:57:44.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2021-12-28T03:07:29.000Z', 'description' => 'Response parameters changed, Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseCountStatistics'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDefenseCountStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDefenseRecords' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7509,65 +5839,45 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106095',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeCode' => '106120',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
+ ],
+ [
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
],
[
- 'name' => 'QueryType',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: milliseconds.'."\n"
+ ."\n"
+ .'> The time span of the query cannot exceed 90 days.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000000'],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n"
- ."\n"
- .'> The keyword must be greater than three characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '138',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: milliseconds.'."\n"
+ ."\n"
+ .'> The time span of the query cannot exceed 90 days.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200000'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the first page, set this parameter to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **50**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'],
],
],
'responses' => [
@@ -7575,70 +5885,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of returned IP addresses in the blacklist.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2',
- ],
- 'AutoCcBlacklist' => [
- 'description' => 'An array that consists of the details of the IP addresses in the blacklist of the instance.'."\n",
+ 'TotalCount' => ['description' => 'The total number of advanced mitigation records.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
+ 'DefenseRecords' => [
+ 'description' => 'The advanced mitigation logs.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The mode of how the IP address is added to the blacklist. Valid values:'."\n"
- ."\n"
- .'* **manual**: manually added'."\n"
- .'* **auto**: automatically added'."\n",
- 'type' => 'string',
- 'example' => 'manual',
- ],
- 'DestIp' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '192.0.XX.XX',
- ],
- 'EndTime' => [
- 'description' => 'The validity period of the IP address in the blacklist. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1584093569',
- ],
- 'SourceIp' => [
- 'description' => 'The IP address in the blacklist.'."\n",
- 'type' => 'string',
- 'example' => '47.100.XX.XX',
- ],
+ 'EndTime' => ['description' => 'The end time of the mitigation. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1583683200000'],
+ 'Status' => ['description' => 'The status of advanced mitigation. Valid values:'."\n"
+ ."\n"
+ .'- **0**: in use'."\n"
+ ."\n"
+ .'- **1**: ended', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'StartTime' => ['description' => 'The start time of the mitigation. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000000'],
+ 'EventCount' => ['description' => 'The number of attacks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'],
+ 'InstanceId' => ['description' => 'The ID of the Anti-DDoS instance.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
+ 'AttackPeak' => ['description' => 'The peak attack throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '6584186000'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeAutoCcBlacklistResponse>\\n <TotalCount>2</TotalCount>\\n <RequestId>E78C8472-0B15-42D5-AF22-A32A78818AB2</RequestId>\\n <AutoCcBlacklist>\\n <Type>manual</Type>\\n <DestIp>192.0.XX.XX</DestIp>\\n <EndTime>1584093569</EndTime>\\n <SourceIp>47.100.XX.XX</SourceIp>\\n </AutoCcBlacklist>\\n</DescribeAutoCcBlacklistResponse>","errorExample":""}]',
- 'title' => 'DescribeAutoCcBlacklist',
- 'summary' => 'Queries IP addresses in the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'title' => 'DescribeDefenseRecords',
+ 'summary' => 'Queries the advanced mitigation logs of Anti-DDoS Premium.',
+ 'description' => '> This API operation is available only for the Anti-DDoS Premium service.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAutoCcWhitelist' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseRecords'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDefenseRecords',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DefenseRecords\\": [\\n {\\n \\"EndTime\\": 1583683200000,\\n \\"Status\\": 0,\\n \\"StartTime\\": 1582992000000,\\n \\"EventCount\\": 2,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"AttackPeak\\": 6584186000\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDestinationPortEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7647,58 +5958,47 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106097',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '187278',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The region in which your service is deployed. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: a region in the Chinese mainland.'."\n"
+ ."\n"
+ .'- **cn-hongkong**: a region outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n"
- ."\n"
- .'> The keyword must be greater than three characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '138',
- ],
+ 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n"
+ ."\n"
+ .'- **defense**: attack events that trigger traffic scrubbing.'."\n"
+ ."\n"
+ .'- **blackhole**: attack events that trigger blackhole filtering.', 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1720059000', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The IP address of the attacker.', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Range',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of destination ports to return. The ports are sorted in descending order of the number of received request packets. By default, the first **10** ports are returned.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''],
],
],
'responses' => [
@@ -7706,70 +6006,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of returned IP addresses in the whitelist.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162',
- ],
- 'AutoCcWhitelist' => [
- 'description' => 'An array that consists of details of the IP address in the whitelist of the instance.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', 'title' => ''],
+ 'PortList' => [
+ 'description' => 'The ports.',
'type' => 'array',
'items' => [
+ 'description' => 'The information about the port.',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The mode of how an IP address is added to the whitelist. Valid values:'."\n"
- ."\n"
- .'* **manual**: manually added'."\n"
- .'* **auto**: automatically added'."\n",
- 'type' => 'string',
- 'example' => 'manual',
- ],
- 'DestIp' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.117',
- ],
- 'EndTime' => [
- 'description' => 'The validity period of the IP address in the whitelist. Unit: seconds. **0** indicates that the IP address in the whitelist never expires.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SourceIp' => [
- 'description' => 'The IP addresses that is contained in the IP address whitelist.'."\n",
- 'type' => 'string',
- 'example' => '2.2.2.2',
- ],
+ 'DstPort' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '80', 'title' => ''],
+ 'InPkts' => ['description' => 'The number of request packets received by the destination port.', 'type' => 'integer', 'format' => 'int64', 'example' => '8760950', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeAutoCcWhitelistResponse>\\r\\n\\t<AutoCcWhitelist>\\r\\n\\t\\t<Type>manual</Type>\\r\\n\\t\\t<SourceIp>4.4.4.4</SourceIp>\\r\\n\\t\\t<EndTime>0</EndTime>\\r\\n\\t\\t<DestIp>203.***.***.117</DestIp>\\r\\n\\t</AutoCcWhitelist>\\r\\n\\t<AutoCcWhitelist>\\r\\n\\t\\t<Type>manual</Type>\\r\\n\\t\\t<SourceIp>2.2.2.2</SourceIp>\\r\\n\\t\\t<EndTime>0</EndTime>\\r\\n\\t\\t<DestIp>203.***.***.117</DestIp>\\r\\n\\t</AutoCcWhitelist>\\r\\n\\t<TotalCount>2</TotalCount>\\r\\n\\t<RequestId>F09D085E-5E0F-4FF2-B32E-F4A644049162</RequestId>\\r\\n</DescribeAutoCcWhitelistResponse>","errorExample":""}]',
- 'title' => 'DescribeAutoCcWhitelist',
- 'summary' => 'Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeUnBlackholeCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeDestinationPortEvent',
+ 'summary' => 'Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"PortList\\": [\\n {\\n \\"DstPort\\": \\"80\\",\\n \\"InPkts\\": 8760950\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainAttackEvents' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7779,100 +6064,45 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106194',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '106121',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD',
- ],
- 'TotalCount' => [
- 'description' => 'The total quota that you can deactivate blackhole filtering.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RemainCount' => [
- 'description' => 'The remaining quota that you can deactivate blackhole filtering.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- ],
- ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"232929FA-40B6-4C53-9476-EE335ABA44CD\\",\\n \\"TotalCount\\": 5,\\n \\"RemainCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUnBlackholeCountResponse>\\r\\n\\t<TotalCount>5</TotalCount>\\r\\n\\t<RequestId>232929FA-40B6-4C53-9476-EE335ABA44CD</RequestId>\\r\\n\\t<RemainCount>5</RemainCount>\\r\\n</DescribeUnBlackholeCountResponse>","errorExample":""}]',
- 'title' => 'DescribeUnBlackholeCount',
- 'summary' => 'Queries the total quota and remaining quota for blackhole filtering deactivation.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeBlackholeStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106099',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
- ],
- 'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -7880,64 +6110,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'BlackholeStatus' => [
- 'description' => 'An array that consists of the blackhole filtering status of the instance.'."\n",
+ 'TotalCount' => ['description' => 'The total number of returned DDoS attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'DomainAttackEvents' => [
+ 'description' => 'An array that consists of the details of the DDoS attack event.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => 'The end time of blackhole filtering. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1540196323',
- ],
- 'StartTime' => [
- 'description' => 'The start time of blackhole filtering. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1540195323',
- ],
- 'Ip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.132',
- ],
- 'BlackStatus' => [
- 'description' => 'Indicates whether blackhole filtering is triggered for the instance. Valid values:'."\n"
- ."\n"
- .'* **blackhole**: yes'."\n"
- .'* **normal**: no'."\n",
- 'type' => 'string',
- 'example' => 'blackhole',
- ],
+ 'EndTime' => ['description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1560320160', 'title' => ''],
+ 'StartTime' => ['description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1560312900', 'title' => ''],
+ 'Domain' => ['description' => 'The attacked domain name.'."\n", 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'MaxQps' => ['description' => 'The peak attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"BlackholeStatus\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"BlackStatus\\": \\"blackhole\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeBlackholeStatusResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<BlackholeStatus>\\r\\n\\t\\t<Ip>203.***.***.132</Ip>\\r\\n\\t\\t<BlackStatus>blackhole</BlackStatus>\\r\\n\\t\\t<StartTime>1540195323</StartTime>\\r\\n\\t\\t<EndTime>1540196323</EndTime>\\r\\n\\t</BlackholeStatus>\\r\\n</DescribeBlackholeStatusResponse>","errorExample":""}]',
- 'summary' => 'Queries the blackhole filtering status of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainAttackEventsResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<DomainAttackEvents>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<MaxQps>1000</MaxQps>\\r\\n\\t\\t<StartTime>1560312900</StartTime>\\r\\n\\t\\t<EndTime>1560320160</EndTime>\\r\\n\\t</DomainAttackEvents>\\r\\n</DescribeDomainAttackEventsResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainAttackEvents',
+ 'summary' => 'Queries the attack events launched against a website.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeNetworkRegionBlock' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAttackEvents'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainAttackEvents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainBps' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7946,24 +6178,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106160',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The region in which your service is deployed. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: a region in the Chinese mainland.'."\n"
+ ."\n"
+ .'- **cn-hongkong**: a region outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300', 'title' => ''],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '600', 'title' => ''],
],
],
'responses' => [
@@ -7971,67 +6225,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'Config' => [
- 'description' => 'The configuration of blocked locations.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RegionBlockSwitch' => [
- 'description' => 'The status of the Location Blacklist policy. Valid values:'."\n"
- ."\n"
- .'* **on**: enabled'."\n"
- .'* **off**: disabled'."\n",
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'Countries' => [
- 'description' => 'The codes of the countries or areas from which the requests are blocked.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The code of the country or area from which the requests are blocked.'."\n"
- ."\n"
- .'> For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- ],
- 'Provinces' => [
- 'description' => 'The codes of the administrative regions in China from which the requests are blocked.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The code of the administrative region in China from which the requests are blocked. For example, **11** indicates Beijing, and **12** indicates Tianjin.'."\n"
- ."\n"
- .'> For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'DomainBps' => [
+ 'description' => 'The bandwidths.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The bandwidth values.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'InBps' => ['description' => 'The inbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'OutBps' => ['description' => 'The outbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Config\\": {\\n \\"RegionBlockSwitch\\": \\"on\\",\\n \\"Countries\\": [\\n 2\\n ],\\n \\"Provinces\\": [\\n 11\\n ]\\n }\\n}","type":"json"}]',
- 'title' => 'DescribeNetworkRegionBlock',
- 'summary' => 'Queries the blocked locations that are configured for an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- ],
- 'DescribeBlockStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeDomainBps',
+ 'summary' => 'Queries the bandwidths of a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainBps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainBps\\": [\\n {\\n \\"Index\\": 1,\\n \\"InBps\\": 0,\\n \\"OutBps\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainCcProtectSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8041,44 +6284,31 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106101',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106122',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array consisting of information about the IDs of the instances that you want to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
+ 'items' => ['description' => 'A domain name for which a website forwarding rule is configured.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com', 'title' => ''],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 20,
+ 'maxItems' => 5,
+ 'description' => 'The domain names of the websites. You can specify up to five domain names.'."\n"
+ ."\n"
+ .'> A website forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.',
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -8087,91 +6317,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'StatusList' => [
- 'description' => 'An array that consists of details of the Diversion from Origin Server configurations of the instance.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request. This ID is unique to the request. Use the request ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'ProtectSwitchList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Ip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.XX.XX.88',
- ],
- 'BlockStatusList' => [
- 'description' => 'An array that consists of details of the Diversion from Origin Server configuration.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => 'The end time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1540196323',
- ],
- 'StartTime' => [
- 'description' => 'The start time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1540195323',
- ],
- 'Line' => [
- 'description' => 'The Internet service provider (ISP) line from which the traffic is blocked. Valid values:'."\n"
- ."\n"
- .'* **ct**: China Telecom (International)'."\n"
- .'* **cut**: China Unicom (International)'."\n",
- 'type' => 'string',
- 'example' => 'cut',
- ],
- 'BlockStatus' => [
- 'description' => 'The blocking status of the network traffic. Valid values:'."\n"
- ."\n"
- .'* **areablock**: Network traffic is blocked.'."\n"
- .'* **normal**: Network traffic is not blocked.'."\n",
- 'type' => 'string',
- 'example' => 'areablock',
- ],
- ],
- ],
- ],
+ 'BlackWhiteListEnable' => ['description' => 'The status of the blacklists and whitelists feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'AiTemplate' => ['description' => 'The level of AI-powered protection. Valid values:'."\n"
+ ."\n"
+ .'- **level30**: Loose'."\n"
+ ."\n"
+ .'- **level60**: Normal'."\n"
+ ."\n"
+ .'- **level90**: Strict', 'type' => 'string', 'example' => 'level60', 'title' => ''],
+ 'PreciseRuleEnable' => ['description' => 'The status of the precise access control feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''],
+ 'AiMode' => ['description' => 'The mode of AI-powered protection. Valid values:'."\n"
+ ."\n"
+ .'- **watch**: Warning mode'."\n"
+ ."\n"
+ .'- **defense**: Defense mode', 'type' => 'string', 'example' => 'defense', 'title' => ''],
+ 'AiRuleEnable' => ['description' => 'The status of the AI-powered protection feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RegionBlockEnable' => ['description' => 'The status of the Location Blacklist (Domain Names) feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n"
+ ."\n"
+ .'- **default**: Normal'."\n"
+ ."\n"
+ .'- **gf\\_under\\_attack**: Emergency'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_verify**: Strict'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_enhance**: Very Strict', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'CcCustomRuleEnable' => ['description' => 'The status of custom CC rules. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CcEnable' => ['description' => 'The status of the rate limiting (CC protection) feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CcGlobalSwitch' => ['description' => 'The status of the global switch for custom and precise CC protection. Valid values:'."\n"
+ ."\n"
+ .'- **open**: Enabled'."\n"
+ ."\n"
+ .'- **close**: Disabled', 'type' => 'string', 'example' => 'close', 'title' => ''],
],
+ 'description' => 'The status of each protection feature for the website.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The status of each protection feature for the website.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<DescribeBlockStatusResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <StatusList>\\n <Ip>203.XX.XX.88</Ip>\\n <BlockStatusList>\\n <EndTime>1540196323</EndTime>\\n <StartTime>1540195323</StartTime>\\n <Line>cut</Line>\\n <BlockStatus>areablock</BlockStatus>\\n </BlockStatusList>\\n </StatusList>\\n</DescribeBlockStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeBlockStatus',
- 'summary' => 'Queries the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.',
- 'description' => 'You can call this operation to query the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.'."\n"
- ."\n"
- .'> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n"
- ."\n"
- .'### [](#qps-)QPS limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeUnBlockCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'DescribeDomainCcProtectSwitch',
+ 'summary' => 'Queries the status of the CC protection feature for the specified domain names.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"close\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainH2Fingerprint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8180,23 +6416,41 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106195',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '231662',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> You can invoke [DescribeDomains](~~91724~~) to query the domain names of all websites that are protected by Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1716435180', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1726318200', 'title' => ''],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -8204,46 +6458,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of times that you can enable the near-origin traffic diversion feature.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RemainCount' => [
- 'description' => 'The remaining number of times that you can enable the near-origin traffic diversion feature.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
+ 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', 'title' => ''],
+ 'DomainH2Fp' => [
+ 'description' => 'The list of top N HTTP/2.0 fingerprints for the domain name.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The HTTP/2.0 fingerprint information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'H2Fingerprint' => ['description' => 'The HTTP/2.0 fingerprint.', 'type' => 'string', 'example' => '532501bc316d02c8b1a007db76f2c796', 'title' => ''],
+ 'Pv' => ['description' => 'The number of times the HTTP/2.0 fingerprint is matched for the domain name.', 'type' => 'integer', 'format' => 'int64', 'example' => '471755', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"TotalCount\\": 10,\\n \\"RemainCount\\": 7\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUnBlockCountResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<TotalCount>10</TotalCount>\\r\\n\\t<RemainCount>7</RemainCount>\\r\\n</DescribeUnBlockCountResponse>","errorExample":""}]',
- 'title' => 'DescribeUnBlockCount',
- 'summary' => 'Queries the total number and the remaining number of times that you can enable the near-origin traffic diversion feature.',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'EmptyAutoCcBlacklist' => [
- 'summary' => 'Clears the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query website HTTP/2.0 fingerprints',
+ 'summary' => 'Queries the HTTP/2.0 fingerprint information of a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"DomainH2Fp\\": [\\n {\\n \\"H2Fingerprint\\": \\"532501bc316d02c8b1a007db76f2c796\\",\\n \\"Pv\\": 471755,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainOverview' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8252,26 +6516,38 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106217',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106125',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1619798400', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623427200', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n"
+ ."\n"
+ .'> The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com', 'title' => ''],
],
],
'responses' => [
@@ -8279,145 +6555,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'MaxHttp' => ['description' => 'The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41652', 'title' => ''],
+ 'MaxHttps' => ['description' => 'The peak QPS during HTTPS traffic scrubbing. Unit: QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EmptyAutoCcBlacklistResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</EmptyAutoCcBlacklistResponse>","errorExample":""}]',
- 'title' => 'EmptyAutoCcBlacklist',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"MaxHttp\\": 41652,\\n \\"MaxHttps\\": 0\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainOverviewResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <MaxHttp>41652</MaxHttp>\\n <MaxHttps>0</MaxHttps>\\n</DescribeDomainOverviewResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainOverview',
+ 'summary' => 'Queries the attack overview of a website, such as the peak HTTP and HTTPS traffic.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'EmptyAutoCcWhitelist' => [
- 'summary' => 'Clears the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainOverview'],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106218',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EmptyAutoCcWhitelistResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</EmptyAutoCcWhitelistResponse>","errorExample":""}]',
- 'title' => 'EmptyAutoCcWhitelist',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'ConfigNetworkRegionBlock' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDomainQPSList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106056',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106127',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Config',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the configurations of blocked locations. This parameter is a JSON string. The value consists of the following fields:'."\n"
- ."\n"
- .'* **RegionBlockSwitch**: the status of the location blacklist feature. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **on**'."\n"
- .' * **off**'."\n"
- ."\n"
- .'* **Countries**: the codes of the countries and areas from which you want to block requests. This field is optional and must be of the array type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note** For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n"
- ."\n"
- .'* **Provinces**: the codes of the administrative regions in China from which you want to block requests. This field is optional and must be of the array type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note** For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n"
- ."\n"
- .' For example, `[11,12]` specifies Beijing and Tianjin.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"RegionBlockSwitch":"off","Countries":[],"Provinces":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,54,61,62,63,64,65,71,81,82]}',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The interval for returning data. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -8425,72 +6648,128 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51', 'title' => ''],
+ 'DomainQPSList' => [
+ 'description' => 'An array that consists of the statistics on the QPS of the website.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['description' => 'The index number of the returned data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Time' => ['description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000', 'title' => ''],
+ 'MaxAttackQps' => ['description' => 'The peak attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '37', 'title' => ''],
+ 'AttackQps' => ['description' => 'The attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'MaxQps' => ['description' => 'The peak of total QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '130', 'title' => ''],
+ 'MaxNormalQps' => ['description' => 'The peak of normal QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '93', 'title' => ''],
+ 'TotalQps' => ['description' => 'The total QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20008', 'title' => ''],
+ 'CacheHits' => ['description' => 'The number of cache hits.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<ConfigNetworkRegionBlockResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</ConfigNetworkRegionBlockResponse>","errorExample":""}]',
- 'title' => 'ConfigNetworkRegionBlock',
- 'summary' => 'Configures blocked locations for an Anti-DDoS Proxy instance.',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainQPSListResponse>\\r\\n\\t<DomainQPSList>\\r\\n\\t\\t<MaxAttackQps>37</MaxAttackQps>\\r\\n\\t\\t<TotalQps>1</TotalQps>\\r\\n\\t\\t<TotalCount>20008</TotalCount>\\r\\n\\t\\t<MaxQps>130</MaxQps>\\r\\n\\t\\t<MaxNormalQps>93</MaxNormalQps>\\r\\n\\t\\t<AttackQps>1</AttackQps>\\r\\n\\t\\t<Index>0</Index>\\r\\n\\t\\t<Time>1582992000</Time>\\r\\n\\t\\t<CacheHits>0</CacheHits>\\r\\n\\t</DomainQPSList>\\r\\n\\t<RequestId>327F2ABB-104D-437A-AAB5-D633E29A8C51</RequestId>\\r\\n</DescribeDomainQPSListResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainQPSList',
+ 'summary' => 'Queries the statistics on the queries per second (QPS) of a website.',
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'For more information about sample requests, see the **Examples** section of this topic.'."\n",
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeUdpReflect' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainResource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106193',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '106130',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
+ 'autoTest' => true,
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name to query.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryDomainPattern',
'in' => 'query',
'schema' => [
- 'description' => 'The ID of the instance to query.'."\n"
+ 'description' => 'The matching pattern for the query. Valid values:'."\n"
."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ .'- **fuzzy** (default): Specifies a fuzzy search.'."\n"
+ ."\n"
+ .'- **exact**: Specifies an exact match.',
'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-i7m25564****',
+ 'required' => false,
+ 'enum' => ['fuzzy', 'exact'],
+ 'example' => 'fuzzy',
+ 'title' => '',
],
],
[
- 'name' => 'RegionId',
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of the page to return. The default value is **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
'in' => 'query',
+ 'schema' => ['description' => 'The number of forwarding rules per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID of the instance. Valid values:'."\n"
+ 'description' => 'The IDs of the Anti-DDoS Pro instances to query.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Pro instance.'."\n"
."\n"
- .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n"
- .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query all Anti-DDoS Pro instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -8499,110 +6778,319 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F',
- ],
- 'UdpSports' => [
- 'description' => 'An array consisting of the source ports of the UDP traffic that are filtered out by the filtering policies for UDP reflection attacks.'."\n",
+ 'TotalCount' => ['description' => 'The total number of web rules returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
+ 'WebRules' => [
+ 'description' => 'An array of web rule configurations.',
'type' => 'array',
'items' => [
- 'description' => 'The source port of the UDP traffic that is filtered out by the filtering policies for UDP reflection attacks.'."\n",
- 'type' => 'string',
- 'example' => '17',
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.example.com', 'title' => ''],
+ 'Http2HttpsEnable' => ['description' => 'Whether forced HTTPS redirect is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'SslProtocols' => ['description' => 'The minimum TLS protocol version. Valid values:'."\n"
+ ."\n"
+ .'- **tls1.0**: TLS 1.0 and later versions.'."\n"
+ ."\n"
+ .'- **tls1.1**: TLS 1.1 and later versions.'."\n"
+ ."\n"
+ .'- **tls1.2**: TLS 1.2 and later versions.', 'type' => 'string', 'example' => 'tls1.0', 'title' => ''],
+ 'PunishReason' => ['description' => 'The reason the domain is penalized. Valid values:'."\n"
+ ."\n"
+ .'- **1**: The domain does not have an ICP filing.'."\n"
+ ."\n"
+ .'- **2**: The business hosted on the domain does not meet regulatory requirements.'."\n"
+ ."\n"
+ .'If both reasons apply, this parameter returns **2**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n"
+ ."\n"
+ .'- **default**: normal mode'."\n"
+ ."\n"
+ .'- **gf\\_under\\_attack**: Emergency mode'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_verify**: Strict mode'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_enhance**: Super Strict mode', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'HttpsExt' => ['description' => 'The advanced HTTPS settings, formatted as a JSON string. These settings apply only when the domain uses HTTPS (the `ProxyType` value includes `https`). The string contains the following fields:'."\n"
+ ."\n"
+ .'- **Http2https**: integer. Specifies whether to enable forced HTTPS redirect. Valid values: **0** (disabled) and **1** (enabled).'."\n"
+ ."\n"
+ .'- **Https2http**: integer. Specifies whether to enable HTTP back-to-source. Valid values: **0** (disabled) and **1** (enabled).'."\n"
+ ."\n"
+ .'- **Http2**: integer. Specifies whether to enable HTTP/2. Valid values: **0** (disabled) and **1** (enabled).', 'type' => 'string', 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}', 'title' => ''],
+ 'CcEnabled' => ['description' => 'Whether CC protection is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'SslCiphers' => ['description' => 'The cipher suite configuration type. Valid values:'."\n"
+ ."\n"
+ .'- **default**: Custom'."\n"
+ ."\n"
+ .'- **all**: All'."\n"
+ ."\n"
+ .'- **strong**: Strong'."\n"
+ ."\n"
+ .'- **improved**: Improved', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'CcRuleEnabled' => ['description' => 'Whether custom CC protection rules are enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Ssl13Enabled' => ['description' => 'Whether TLS 1.3 is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'RsType' => ['description' => 'The address type of the origin server. Valid values:'."\n"
+ ."\n"
+ .'- **0**: IP address'."\n"
+ ."\n"
+ .'- **1**: domain', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'PunishStatus' => ['description' => 'Whether the domain is penalized. Valid values:'."\n"
+ ."\n"
+ .'- **true**: The domain is penalized. For more information, see the `PunishReason` parameter.'."\n"
+ ."\n"
+ .'- **false**: The domain is not penalized.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProxyEnabled' => ['description' => 'Whether Anti-DDoS Pro forwards traffic for the domain. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Forwarding is enabled.'."\n"
+ ."\n"
+ .'- **false**: Forwarding is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CertName' => ['description' => 'The name of the SSL certificate used by the domain.', 'type' => 'string', 'example' => '49944XX.pem', 'title' => ''],
+ 'PolicyMode' => ['description' => 'The back-to-source load balancing algorithm. This algorithm determines how traffic is distributed to origin servers. Valid values:'."\n"
+ ."\n"
+ .'- **ip\\_hash**: IP Hash. This algorithm hashes the source IP address and routes all requests from the same IP address to the same origin server.'."\n"
+ ."\n"
+ .'- **rr**: Round Robin. This algorithm distributes requests across origin servers in turn.'."\n"
+ ."\n"
+ .'- **least\\_time**: Least Time. This algorithm uses intelligent DNS resolution to minimize end-to-end latency from the protection node to the origin server.', 'type' => 'string', 'example' => 'ip_hash', 'title' => ''],
+ 'Cname' => ['description' => 'The CNAME assigned to the domain by Anti-DDoS Pro.', 'type' => 'string', 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com', 'title' => ''],
+ 'OcspEnabled' => ['description' => 'Whether Online Certificate Status Protocol (OCSP) is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Http2Enable' => ['description' => 'Whether HTTP/2 is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Https2HttpEnable' => ['description' => 'Whether HTTP back-to-source is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ProxyTypes' => [
+ 'description' => 'An array of proxy configurations for the domain, each specifying a protocol and its associated ports.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProxyType' => ['description' => 'The proxy protocol. Valid values:'."\n"
+ ."\n"
+ .'- **http**: HTTP'."\n"
+ ."\n"
+ .'- **https**: HTTPS'."\n"
+ ."\n"
+ .'- **websocket**: WebSocket'."\n"
+ ."\n"
+ .'- **websockets**: WebSockets', 'type' => 'string', 'example' => 'http', 'title' => ''],
+ 'ProxyPorts' => [
+ 'description' => 'The array of ports associated with the protocol.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A port.', 'type' => 'string', 'example' => '80', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'InstanceIds' => [
+ 'description' => 'An array of IDs for the Anti-DDoS Pro instances associated with the domain.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of an Anti-DDoS Pro instance associated with the domain.', 'type' => 'string', 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CustomCiphers' => [
+ 'description' => 'An array of custom cipher suites.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A custom cipher suite for TLS versions earlier than 1.3.'."\n"
+ ."\n"
+ .'> You must select at least one cipher suite for TLS versions earlier than 1.3.'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES128-GCM-SHA256'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES256-GCM-SHA384'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES128-SHA256'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES256-SHA384'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES128-GCM-SHA256'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES256-GCM-SHA384'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES128-SHA256'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES256-SHA384'."\n"
+ ."\n"
+ .'- AES128-GCM-SHA256'."\n"
+ ."\n"
+ .'- AES256-GCM-SHA384'."\n"
+ ."\n"
+ .'- AES128-SHA256'."\n"
+ ."\n"
+ .'- AES256-SHA256'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES128-SHA'."\n"
+ ."\n"
+ .'- ECDHE-ECDSA-AES256-SHA'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES128-SHA'."\n"
+ ."\n"
+ .'- ECDHE-RSA-AES256-SHA'."\n"
+ ."\n"
+ .'- AES128-SHA'."\n"
+ ."\n"
+ .'- AES256-SHA'."\n"
+ ."\n"
+ .'- DES-CBC3-SHA', 'type' => 'string', 'example' => 'ECDHE-RSA-AES256-SHA384', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'WhiteList' => [
+ 'description' => 'An array of IP addresses on the allowlist for the domain.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An IP address in the allowlist for the domain.'."\n"
+ ."\n"
+ .'> This parameter is returned only if you have configured an **IP allowlist (for domains)** for the domain. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist/blocklist for a domain.', 'type' => 'string', 'example' => '3.XX.XX.3', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'BlackList' => [
+ 'description' => 'An array of IP addresses on the blocklist for the domain.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An IP address in the blocklist for the domain.'."\n"
+ ."\n"
+ .'> This parameter is returned only if you have configured an **IP blocklist (for domains)** for the domain. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist/blocklist for a domain.', 'type' => 'string', 'example' => '2.XX.XX.2', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RealServers' => [
+ 'description' => 'An array of origin server addresses.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An origin server address.', 'type' => 'string', 'example' => '1.XX.XX.1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F97A8766-FB4D-411A-9CD5-2CFF701B592F\\",\\n \\"UdpSports\\": [\\n \\"17\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUdpReflectResponse>\\r\\n\\t<RequestId>F97A8766-FB4D-411A-9CD5-2CFF701B592F</RequestId>\\r\\n\\t<UdpSports>17</UdpSports>\\r\\n\\t<UdpSports>19</UdpSports>\\r\\n\\t<UdpSports>69</UdpSports>\\r\\n\\t<UdpSports>111</UdpSports>\\r\\n\\t<UdpSports>123</UdpSports>\\r\\n\\t<UdpSports>137</UdpSports>\\r\\n\\t<UdpSports>161</UdpSports>\\r\\n\\t<UdpSports>389</UdpSports>\\r\\n\\t<UdpSports>1194</UdpSports>\\r\\n\\t<UdpSports>1900</UdpSports>\\r\\n\\t<UdpSports>3389</UdpSports>\\r\\n\\t<UdpSports>11211</UdpSports>\\r\\n\\t<UdpSports>11212</UdpSports>\\r\\n</DescribeUdpReflectResponse>","errorExample":""}]',
- 'title' => 'DescribeUdpReflect',
- 'summary' => 'Queries the source ports of UDP traffic that are filtered out by the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Http2HttpsEnable\\": false,\\n \\"SslProtocols\\": \\"tls1.0\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"HttpsExt\\": \\"{\\\\\\"Https2http\\\\\\":0,\\\\\\"Http2\\\\\\":0,\\\\\\"Http2https\\\\\\":0}\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Ssl13Enabled\\": false,\\n \\"RsType\\": 0,\\n \\"PunishStatus\\": false,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"49944XX.pem\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"0ekb69x3j9wvXXXX.aliyunddosXXXX.com\\",\\n \\"OcspEnabled\\": false,\\n \\"Http2Enable\\": false,\\n \\"Https2HttpEnable\\": false,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"80\\"\\n ]\\n }\\n ],\\n \\"InstanceIds\\": [\\n \\"ddoscoo-cn-st21zbyq****\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-RSA-AES256-SHA384\\"\\n ],\\n \\"WhiteList\\": [\\n \\"3.XX.XX.3\\"\\n ],\\n \\"BlackList\\": [\\n \\"2.XX.XX.2\\"\\n ],\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDomainResource',
+ 'summary' => 'Describes the forwarding rule configuration for a web service.',
+ 'description' => 'This API returns a paginated list of detailed configurations for your website forwarding rules, such as website domain name, protocol, HTTPS settings, and CC attack protection configuration.'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ConfigUdpReflect' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ .'This API integrates with Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The per-user QPS limit for this API is 50 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Plan your API calls accordingly.',
+ 'requestParamsDescription' => 'When calling an API, include the Alibaba Cloud common request parameters along with the request parameters for this API. For more information about common request parameters, see [common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'Refer to the request example in the **example** section for the request format.',
+ 'changeSet' => [
+ ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResource'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDomainStatusCodeCount' => [
+ 'summary' => 'Queries the statistics on HTTP status codes of a website within a specified period.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106059',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106133',
+ 'abilityTreeNodes' => ['FEATUREddos38XZ5J'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-i7m25564****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'Config',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration of the filtering policy for UDP reflection attacks.'."\n"
- ."\n"
- .'The value is a string that consists of a JSON struct. The JSON struct contains the following field:'."\n"
- ."\n"
- .'* **UdpSports**: the source ports of the UDP traffic that you want to block. This field is required and must be of the ARRAY type. Example: `[17,19]`.'."\n"
- ."\n"
- .' We recommend that you block the following source ports of UDP traffic:'."\n"
- ."\n"
- .' * UDP 17: QOTD reflection attacks'."\n"
- .' * UDP 19: CharGEN reflection attacks'."\n"
- .' * UDP 69: TFTP reflection attacks'."\n"
- .' * UDP 111: Portmap reflection attacks'."\n"
- .' * UDP 123: NTP reflection attacks'."\n"
- .' * UDP 137: NetBIOS reflection attacks'."\n"
- .' * UDP 161: SNMPv2 reflection attacks'."\n"
- .' * UDP 389: CLDAP reflection attacks'."\n"
- .' * UDP 1194: OpenVPN reflection attacks'."\n"
- .' * UDP 1900: SSDP reflection attacks'."\n"
- .' * UDP 3389: RDP reflection attacks'."\n"
- .' * UDP 11211: memcached reflection attacks'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"UdpSports\\":[17,19]}',
- ],
+ 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the Anti-DDoS Proxy instance. Valid values:'."\n"
- ."\n"
- .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n"
- .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The end time of the query. The value is a timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200'],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n"
+ ."\n"
+ .'> The domain name must be protected by Anti-DDoS Proxy. You can call [DescribeDomains](~~91724~~) to query all domain names that are protected by Anti-DDoS Proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -8610,240 +7098,220 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7',
- ],
+ 'Status502' => ['description' => 'The number of 502 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status405' => ['description' => 'The number of 405 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status3XX' => ['description' => 'The number of 3XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '133209'],
+ 'Status503' => ['description' => 'The number of 503 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status4XX' => ['description' => 'The number of 4XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5653'],
+ 'Status2XX' => ['description' => 'The number of 2XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '951472'],
+ 'Status5XX' => ['description' => 'The number of 5XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '14'],
+ 'Status504' => ['description' => 'The number of 504 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'],
+ 'Status200' => ['description' => 'The number of 200 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '951159'],
+ 'Status403' => ['description' => 'The number of 403 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status404' => ['description' => 'The number of 404 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '897'],
+ 'Status410' => ['description' => 'The number of 410 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status499' => ['description' => 'The number of 499 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status501' => ['description' => 'The number of 501 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigUdpReflectResponse>\\r\\n\\t<RequestId>9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7</RequestId>\\r\\n</ConfigUdpReflectResponse>","errorExample":""}]',
- 'title' => 'ConfigUdpReflect',
- 'summary' => 'Adds the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance to filter out the source ports of UDP traffic.',
- 'description' => 'You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status502\\": 0,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 133209,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 5653,\\n \\"Status2XX\\": 951472,\\n \\"Status5XX\\": 14,\\n \\"Status504\\": 0,\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Status200\\": 951159,\\n \\"Status403\\": 0,\\n \\"Status404\\": 897,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n}","type":"json"}]',
+ 'title' => 'DescribeDomainStatusCodeCount',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information, see [Common parameters](https://help.aliyun.com/document_detail/157269.html).'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'For the request format, see the examples in this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateWebCCRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeCount'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainStatusCodeList' => [
+ 'summary' => 'Queries the statistics on HTTP status codes of a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => true,
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106074',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106134',
+ 'abilityTreeNodes' => ['FEATUREddos38XZ5J'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the rule. The name can be up to 128 characters in length and contain letters, digits, and underscores (\\_).'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
- ],
- [
- 'name' => 'Act',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The action on the requests that trigger the custom frequency control rule. Valid values:'."\n"
- ."\n"
- .'* **close**: blocks the requests.'."\n"
- .'* **captcha**: triggers Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'close',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'],
],
[
- 'name' => 'Count',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1583683200'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'The interval for returning statistics. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1000'],
],
[
- 'name' => 'Mode',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The matching mode. Valid values:'."\n"
- ."\n"
- .'* **prefix**: prefix match.'."\n"
- .'* **match**: exact match.'."\n"
- ."\n"
- .'> If the **URI** of the check path contains parameters, you must set this parameter to **prefix**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'prefix',
- ],
- ],
- [
- 'name' => 'Ttl',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> You can call [DescribeDomains](~~91724~~) to query all domain names of websites that are protected by Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.example.com'],
],
[
- 'name' => 'Uri',
+ 'name' => 'QueryType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The check path.'."\n"
- ."\n"
- .'> The URI cannot be modified. The domain name of the website, the check path, and the rule name uniquely identify a rule.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '/abc/a.php',
- ],
+ 'schema' => ['description' => 'The source of the statistics. Valid values:'."\n"
+ ."\n"
+ .'- **gf**: Anti-DDoS Pro or Anti-DDoS Premium response data.'."\n"
+ ."\n"
+ .'- **upstream**: origin server response data.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'upstream'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C'],
+ 'StatusCodeList' => [
+ 'description' => 'The statistics on response status codes.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Status502' => ['description' => 'The statistics value of the 502 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Time' => ['description' => 'The time when the data was collected. The value is a timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000'],
+ 'Status405' => ['description' => 'The statistics value of the 405 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status3XX' => ['description' => 'The statistics value of the 3XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status503' => ['description' => 'The statistics value of the 503 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status4XX' => ['description' => 'The statistics value of the 4XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4486'],
+ 'Status2XX' => ['description' => 'The statistics value of the 2XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '15520'],
+ 'Status5XX' => ['description' => 'The statistics value of the 5XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status504' => ['description' => 'The statistics value of the 504 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status200' => ['description' => 'The statistics value of the 200 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '15520'],
+ 'Status403' => ['description' => 'The statistics value of the 403 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status404' => ['description' => 'The statistics value of the 404 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Status410' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The statistics value of the 410 status code.', 'title' => '', 'example' => '0'],
+ 'Status499' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The statistics value of the 499 status code.', 'title' => '', 'example' => '0'],
+ 'Status501' => ['description' => 'The statistics value of the 501 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'ddoscoo::2020-01-01::ConfigWebCCRuleV2',
- ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B63C0DD-8AC5-44B2-95D6-064CA9296B9C\\",\\n \\"StatusCodeList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Status502\\": 0,\\n \\"Time\\": 1582992000,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 0,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 4486,\\n \\"Status2XX\\": 15520,\\n \\"Status5XX\\": 0,\\n \\"Status504\\": 0,\\n \\"Status200\\": 15520,\\n \\"Status403\\": 0,\\n \\"Status404\\": 0,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDomainStatusCodeList',
+ 'changeSet' => [
+ ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
- 'title' => 'CreateWebCCRule',
- 'summary' => 'Creates a custom frequency control rule for a website.',
- ],
- 'DeleteWebCCRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDomainTopAttackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => true,
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106089',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106135',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the custom frequency control rule that you want to delete.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'wq',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
],
'responses' => [
@@ -8851,38 +7319,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'AttackList' => [
+ 'description' => 'The peak QPS of the website.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Attack' => ['description' => 'The attack QPS. Unit: QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'Count' => ['description' => 'The number of all QPS, which includes normal and attack QPS. Unit: QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '294', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'ddoscoo::2020-01-01::DeleteWebCCRuleV2',
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteWebCCRuleResponse>","errorExample":""}]',
- 'title' => 'DeleteWebCCRule',
- 'summary' => 'Deletes a custom frequency control rule of a website.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"AttackList\\": [\\n {\\n \\"Attack\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 294\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDomainTopAttackList',
+ 'summary' => 'Queries the peak queries per second (QPS) information about a website, such as the attack QPS and total QPS, within a specific period of time.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteWebPreciseAccessRule' => [
- 'summary' => 'Deletes the accurate access control rules that are created for a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-18T03:05:19.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-06-18T03:05:18.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopAttackList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopAttackList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainTopFingerprint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8891,136 +7387,51 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106090',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The region of the service. Valid values:'."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ .'> The domain name must have a website traffic forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
],
[
- 'name' => 'RuleNames',
+ 'name' => 'StartTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the names of rules to delete.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testrule',
- ],
- 'required' => true,
- 'example' => 'testrule',
- 'maxItems' => 10,
- ],
+ 'schema' => ['description' => 'The start time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the exact minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800', 'title' => ''],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteWebPreciseAccessRule>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteWebPreciseAccessRule>","errorExample":""}]',
- 'title' => 'DeleteWebPreciseAccessRule',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebAIProtectSwitch' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106261',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the exact minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1723552200', 'title' => ''],
],
- ],
- 'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The number of data entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The step size for returned data. Unit: seconds. This specifies the interval between consecutive results.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '60', 'title' => ''],
],
[
- 'name' => 'Config',
+ 'name' => 'QueryType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **AiRuleEnable**: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values:'."\n"
- ."\n"
- .' * **0**: disabled'."\n"
- .' * **1**: enabled'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"AiRuleEnable": 1}',
- ],
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -9028,31 +7439,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'DomainTopFp' => [
+ 'description' => 'The list of client fingerprints for the website.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The client fingerprint for the website.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Fingerprinting' => ['description' => 'The client fingerprint.', 'type' => 'string', 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc', 'title' => ''],
+ 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebAIProtectSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAIProtectSwitchResponse>","errorExample":""}]',
- 'title' => 'ModifyWebAIProtectSwitch',
- 'summary' => 'Enables or disables the Intelligent Protection policy for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebAIProtectMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query top N client fingerprints for a website',
+ 'summary' => 'Queries the top N client fingerprints for a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainTopFp\\": [\\n {\\n \\"Fingerprinting\\": \\"8a374c9724582b14a4cfa58c8c9fb2bc\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainTopHttpMethod' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9061,55 +7497,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106260',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The region of the service. Valid values:'."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
],
[
- 'name' => 'Config',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **AiTemplate**: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values:'."\n"
- ."\n"
- .' * **level30**: the Low level'."\n"
- .' * **level60**: the Normal level'."\n"
- .' * **level90**: the Strict level'."\n"
- ."\n"
- .'* **AiMode**: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **watch**: the Warning mode'."\n"
- .' * **defense**: the Defense mode'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"AiTemplate":"level60","AiMode":"defense"}',
- ],
+ 'schema' => ['description' => 'The start time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1712449710', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300', 'title' => ''],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -9117,32 +7544,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'DomainTopMethod' => [
+ 'description' => 'The list of top HTTP methods for the domain name.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The HTTP method of the domain name.',
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpMethod' => ['description' => 'The HTTP method of the domain name.', 'type' => 'string', 'example' => 'GET', 'title' => ''],
+ 'Pv' => ['description' => 'The number of matching requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebAIProtectModeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAIProtectModeResponse>","errorExample":""}]',
- 'title' => 'ModifyWebAIProtectMode',
- 'summary' => 'Changes the mode of the intelligent protection feature for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebIpSetSwitch' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query top HTTP methods for a website',
+ 'summary' => 'Queries the top N HTTP methods for a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopMethod\\": [\\n {\\n \\"HttpMethod\\": \\"GET\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainTopReferer' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9151,49 +7602,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106268',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The region of the service. Valid values:'."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ .'> The domain name must have a website traffic forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
],
[
- 'name' => 'Config',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the Blacklist/Whitelist (Domain Names) feature. This parameter is a JSON string. The value consists of the following fields:'."\n"
- ."\n"
- .'**bwlist_enable**: the status of the Blacklist/Whitelist (Domain Names) feature. This field is required and must be of the integer type. Valid values:'."\n"
- ."\n"
- .'* 0: turned off'."\n"
- .'* 1: turned on'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"BwlistEnable":1}',
- ],
+ 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1701991920', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1721561100', 'title' => ''],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of data entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -9201,31 +7649,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'DomainTopReferer' => [
+ 'description' => 'The top referer data of the website.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The referer data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Referer' => ['description' => 'The Base64-encoded value of the referer.', 'type' => 'string', 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=', 'title' => ''],
+ 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '257031', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebIpSetSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebIpSetSwitchResponse>","errorExample":""}]',
- 'title' => 'ModifyWebIpSetSwitch',
- 'summary' => 'Enables or disables the Black Lists and White Lists (Domain Names) policy for a domain name.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'EnableWebCC' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query top referers of a website',
+ 'summary' => 'Queries the top N referers of a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopReferer\\": [\\n {\\n \\"Referer\\": \\"aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=\\",\\n \\"Pv\\": 257031,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainTopUserAgent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9234,34 +7707,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106222',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The region of the service. Valid values:'."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1708352700', 'title' => ''],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -9269,31 +7754,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'DomainTopUa' => [
+ 'description' => 'The list of User-Agent data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The User-Agent data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserAgent' => ['description' => 'The Base64-encoded value of the User-Agent.', 'type' => 'string', 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2', 'title' => ''],
+ 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''],
+ 'Domain' => ['description' => 'The website domain name.', 'type' => 'string', 'example' => 'www.example.com'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EnableWebCCResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableWebCCResponse>","errorExample":""}]',
- 'title' => 'EnableWebCC',
- 'summary' => 'Enables the Frequency Control policy for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DisableWebCC' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query top user-Agents for a website',
+ 'summary' => 'Queries the top User-Agents for a website.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"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' => [],
@@ -9302,34 +7812,36 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106215',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106136',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -9337,32 +7849,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'SourceCountrys' => [
+ 'description' => 'An array consisting of the country or area from which the requests are sent.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ 'CountryId' => ['description' => 'The abbreviation of the country or area. For more information, see the **Codes of countries and areas** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **cn** indicates China, and **us** indicates the United States.'."\n", 'type' => 'string', 'example' => 'cn', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebCCResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableWebCCResponse>","errorExample":""}]',
- 'title' => 'DisableWebCC',
- 'summary' => 'Disables frequency control for a website.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewSourceCountriesResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<SourceCountrys>\\r\\n\\t\\t<Count>3390671</Count>\\r\\n\\t\\t<CountryId>cn</CountryId>\\r\\n\\t</SourceCountrys>\\r\\n</DescribeDomainViewSourceCountriesResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainViewSourceCountries',
+ 'summary' => 'Queries the areas and countries from which requests are sent to a website within a specified period of time.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'EnableWebCCRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceCountries'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainViewSourceProvinces' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9371,34 +7914,36 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106223',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106137',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -9406,32 +7951,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'SourceProvinces' => [
+ 'description' => 'An array consisting of the details of the administrative region in China from which the requests are sent.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProvinceId' => ['description' => 'The ID of the region inside China. For more information, see the **Codes of administrative regions in China** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n", 'type' => 'string', 'example' => '440000', 'title' => ''],
+ 'Count' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EnableWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableWebCCRuleResponse>","errorExample":""}]',
- 'title' => 'EnableWebCCRule',
- 'summary' => 'Enables custom frequency control rules for a website.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewSourceProvincesResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<SourceProvinces>\\r\\n\\t\\t<Count>3390671</Count>\\r\\n\\t\\t<ProvinceId>440000</ProvinceId>\\r\\n\\t</SourceProvinces>\\r\\n</DescribeDomainViewSourceProvincesResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainViewSourceProvinces',
+ 'summary' => 'Queries the administrative regions in China from which requests are sent to a website within a specified period of time.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DisableWebCCRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceProvinces'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceProvinces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDomainViewTopCostTime' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9440,34 +8016,41 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106216',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106138',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Top',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5', 'title' => ''],
],
],
'responses' => [
@@ -9475,141 +8058,124 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'UrlList' => [
+ 'description' => 'The URLs which require the longest time to respond to requests.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CostTime' => ['description' => 'The response duration. Unit: milliseconds.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '3000', 'title' => ''],
+ 'Url' => ['description' => 'The URL that is Base64-encoded.'."\n", 'type' => 'string', 'example' => 'Lw==', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.'."\n", 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableWebCCRuleResponse>","errorExample":""}]',
- 'title' => 'DisableWebCCRule',
- 'summary' => 'Disables custom frequency control rules for a website.',
- 'requestParamsDescription' => ' ',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewTopCostTimeResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<UrlList>\\r\\n\\t\\t<CostTime>3000</CostTime>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<Url>Lw==</Url>\\r\\n\\t</UrlList>\\r\\n</DescribeDomainViewTopCostTimeResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomainViewTopCostTime',
+ 'summary' => 'Queries the top N URLs that require the longest time to respond to requests within a specified period of time.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyWebCCRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopCostTime'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewTopCostTime',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeDomainViewTopUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => true,
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106267',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106139',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testrule',
- ],
- ],
- [
- 'name' => 'Act',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'close',
- ],
- ],
- [
- 'name' => 'Count',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '3',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be at the beginning of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
],
[
- 'name' => 'Interval',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be at the beginning of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'Mode',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'prefix',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> You must have configured forwarding rules for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'Ttl',
+ 'name' => 'Top',
'in' => 'query',
- 'schema' => [
- 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'The number of top URLs to return. Valid values: **1** to **100**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5', 'title' => ''],
],
[
- 'name' => 'Uri',
+ 'name' => 'Inerval',
'in' => 'query',
- 'schema' => [
- 'description' => 'The check path.'."\n"
- ."\n"
- .'> You cannot modify the Uniform Resource Identifier (URI). The domain name of the website, the check path, and the rule name uniquely identify a rule.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '/abc',
- ],
+ 'schema' => ['description' => 'The data aggregation interval. Unit: seconds. The supported value of this parameter varies based on the time range. The time range is determined by the **StartTime** and **EndTime** parameters. We recommend that you specify the following values:'."\n"
+ ."\n"
+ .'- If the time range is no more than 1 hour, we recommend that you specify this parameter to a value of at least 60.'."\n"
+ ."\n"
+ .'- If the time range is from 1 to 6 hours, we recommend that you specify this parameter to a value of at least 600.'."\n"
+ ."\n"
+ .'- If the time range is from 6 to 24 hours, we recommend that you specify this parameter to a value of at least 1,800.'."\n"
+ ."\n"
+ .'- If the time range is from 24 hours to 7 days, we recommend that you specify this parameter to a value of at least 3,600.'."\n"
+ ."\n"
+ .'- If the time range is from 7 to 15 days, we recommend that you specify this parameter to a value of at least 14,400.'."\n"
+ ."\n"
+ .'- If the time range is more than 15 days, we recommend that you specify this parameter to a value of at least 43,200.', 'type' => 'integer', 'format' => 'int64', 'default' => '3600', 'required' => false, 'example' => '60', 'title' => ''],
],
],
'responses' => [
@@ -9617,37 +8183,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'UrlList' => [
+ 'description' => 'An array of the top URLs that are ranked by the number of requests.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => ['description' => 'The URL that is Base64-encoded.', 'type' => 'string', 'example' => 'Lw==', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'Count' => ['description' => 'The number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'description' => 'The response.',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'ddoscoo::2020-01-01::ConfigWebCCRuleV2',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDomainViewTopUrl',
+ 'summary' => 'This operation queries the top URLs by request count for a website service within a specified time range.',
+ 'changeSet' => [
+ ['createdAt' => '2025-03-17T02:34:03.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopUrl'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebCCRuleResponse>","errorExample":""}]',
- 'title' => 'ModifyWebCCRule',
- 'summary' => 'Modifies the custom frequency control rule of a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
+ 'ramActions' => [],
'extraInfo' => ' ',
],
- 'ModifyWebPreciseAccessSwitch' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDomains' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9656,48 +8234,33 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106270',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106131',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
- ],
- [
- 'name' => 'Config',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The configuration of the Accurate Access Control policy. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **PreciseRuleEnable**: the status of the Accurate Access Control policy. This field is required and must be of the INTEGER type. Valid values:'."\n"
+ 'description' => 'The ID of the instance that you want to query.'."\n"
."\n"
- .' * **0**: disables the policy.'."\n"
- .' * **1**: enables the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"PreciseRuleEnable":0}',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'required' => false,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -9706,32 +8269,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', 'title' => ''],
+ 'Domains' => [
+ 'description' => 'An array consisting of details of the domain name for which the forwarding rules are configured.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The domain name for which forwarding rules are configured.'."\n", 'type' => 'string', 'example' => 'www.aliyun***.com', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebPreciseAccessSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebPreciseAccessSwitchResponse>","errorExample":""}]',
- 'title' => 'ModifyWebPreciseAccessSwitch',
- 'summary' => 'Enables or disables accurate access control for a website.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\",\\n \\"Domains\\": [\\n \\"www.aliyun***.com\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainsResponse>\\r\\n\\t<Domains>www.aliyun.com</Domains>\\r\\n\\t<RequestId>F908E959-ADA8-4D7B-8A05-FF2F67F50964</RequestId>\\r\\n</DescribeDomainsResponse>","errorExample":""}]',
+ 'title' => 'DescribeDomains',
+ 'summary' => 'Queries domain names for which forwarding rules are created.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyWebPreciseAccessRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeElasticBandwidthSpec' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9740,81 +8322,17 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106269',
- 'abilityTreeNodes' => [
- 'FEATUREddosCRC1QI',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106142',
+ 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
- ],
- [
- 'name' => 'Rules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The settings of the accurate access control rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
- ."\n"
- .'* **action**: the action that is performed if the rule is matched. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **accept**: allows the requests that match the rule.'."\n"
- .' * **block**: blocks the requests that match the rule.'."\n"
- .' * **challenge**: implements a CAPTCHA for the requests that match the rule.'."\n"
- ."\n"
- .'* **name**: the name of the rule. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **condition**: the match conditions. This field is required and must be of the map type. A match condition contains the following parameters.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note**The AND logical operator is used to define the relationship among multiple match conditions.'."\n"
- ."\n"
- .' * **field**: the match field. This parameter is required and must be of the string type.'."\n"
- ."\n"
- .' * **match_method**: the logical relation. This parameter is required and must be of the string type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note**For information about the mappings between the **field** and **match_method** parameters, see the Mappings between the field and match_method parameters table in this topic.'."\n"
- ."\n"
- .' * **content**: the match content. This parameter is required and must be of the string type.'."\n"
- ."\n"
- .'* **header_name**: the HTTP header. This parameter is optional and must be of the string type. This parameter takes effect only when **field** is **header**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]',
- ],
- ],
- [
- 'name' => 'Expires',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The validity period of the rule. Unit: seconds. This parameter takes effect only when **action** of a rule is **block**. Access requests that match the rule are blocked within the specified validity period of the rule. If you do not specify this parameter, this rule takes effect all the time.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '600',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
],
'responses' => [
@@ -9822,46 +8340,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
+ 'ElasticBandwidthSpec' => [
+ 'description' => 'An array that consists of the available burstable protection bandwidths. Unit: Gbit/s.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The burstable protection bandwidth.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebPreciseAccessRuleResponse>\\n <RequestId>F908E959-ADA8-4D7B-8A05-FF2F67F50964</RequestId>\\n</ModifyWebPreciseAccessRuleResponse>","errorExample":""}]',
- 'title' => 'ModifyWebPreciseAccessRule',
- 'summary' => 'Creates or modifies an accurate access control rule of a website.',
- 'requestParamsDescription' => '**Mappings between the field and match\\_method parameters**'."\n"
- ."\n"
- .'|field|Description|match\\_method|'."\n"
- .'|---|---|---|'."\n"
- .'|**ip**|The source IP address of the request.|**belong**: the Is Part Of relation.**nbelong**: the Is Not Part Of relation.|'."\n"
- .'|**uri**|The request URI.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**regular**: The match content is the regular expression of the URI.|'."\n"
- .'|**referer**|The URL of the source page from which the request is redirected.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation.**regular**: The match content is the regular expression of the URI.|'."\n"
- .'|**user-agent**|The browser information about the client that initiates the request. The information includes the browser identifier, rendering engine, and version.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**regular**: The match content is the regular expression of the URI.|'."\n"
- .'|**params**|The query string in the request URL. The query string is the part that follows the question mark (?) in the URL. For example, in `demo.aliyundoc.com/index.html?action=logi`, `action=login` is the query string.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.|'."\n"
- .'|**cookie**|The cookie information in the request.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation|'."\n"
- .'|**content-type**|The HTTP content type that is specified for the response. The HTTP content type is known as the Multipurpose Internet Mail Extensions (MIME) type.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.|'."\n"
- .'|**x-forwarded-for**|The originating IP address. The HTTP X-Forwarded-For (XFF) header is used to identify the originating IP address of the request that is forwarded by an HTTP proxy or a load balancer. The XFF header is included only in requests that are forwarded by an HTTP proxy or a load balancer.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation.**regular**: The match content is the regular expression of the URI.|'."\n"
- .'|**content-length**|The number of bytes in the request body.|**vless**: the Is Smaller Than relation.**vequal**: the Has a Value Of relation.**vgreat**: the Is Larger Than relation.|'."\n"
- .'|**post-body**|The content of the request.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**regular**: The match content is the regular expression of the URI.|'."\n"
- .'|**http-method**|The request method, such as GET and POST.|**equal**: the Equals relation.**nequal**: the Does Not Equal relation.|'."\n"
- .'|**header**|The header of the request, which is used to specify a custom HTTP header.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation|',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"5\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeElasticBandwidthSpecResponse>\\r\\n\\t<ElasticBandwidthSpec>5</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>10</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>20</ElasticBandwidthSpec>\\r\\n\\t<ElasticBandwidthSpec>30</ElasticBandwidthSpec>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeElasticBandwidthSpecResponse>","errorExample":""}]',
+ 'title' => 'DescribeElasticBandwidthSpec',
+ 'summary' => 'Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.',
+ 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyWebAreaBlockSwitch' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticBandwidthSpec'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticBandwidthSpec',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeElasticQps' => [
+ 'summary' => 'Retrieves the elastic QPS time-series data for an Anti-DDoS instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9870,51 +8396,45 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106263',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172965',
+ 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The service region. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: Chinese mainland.'."\n"
+ ."\n"
+ .'- **cn-hongkong**: Outside Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name for which you want to enable or disable the Location Blacklist policy.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS instance to query.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'."\n", 'title' => ''],
],
[
- 'name' => 'Config',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable or disable the Location Blacklist (Domain Names) policy for a domain name. The value is a string that consists of a JSON struct. The JSON struct contains the following parameters:'."\n"
- ."\n"
- .'* **RegionblockEnable**: the status of the Location Blacklist (Domain Names) policy. This parameter is required and must be of the INTEGER type. Valid values:'."\n"
- ."\n"
- .' * **1**: enables the policy.'."\n"
- .' * **0**: disables the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"RegionblockEnable": 1}',
- ],
+ 'schema' => ['description' => 'The start of the query time range, specified as a UNIX timestamp in seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be the start of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the query time range, specified as a UNIX timestamp in seconds.'."\n"
+ ."\n"
+ .'> The timestamp must be the start of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684339200', 'title' => ''],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The sampling interval, in seconds. The value must be a multiple of 60. The default value is 60.', 'type' => 'string', 'default' => '3600', 'required' => false, 'example' => '60', 'title' => ''],
],
],
'responses' => [
@@ -9922,97 +8442,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
+ 'RequestId' => ['description' => 'The unique ID generated for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F', 'title' => ''],
+ 'ElasticQps' => [
+ 'description' => 'The time-series data of elastic QPS.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxNormalQps' => ['description' => 'The peak normal business QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''],
+ 'Index' => ['description' => 'The index of the returned data point.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'MaxQps' => ['description' => 'The peak inbound QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'Pv' => ['description' => 'The total number of requests within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '15104', 'title' => ''],
+ 'Ups' => ['description' => 'The total number of origin-pull requests within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '1223', 'title' => ''],
+ 'Status2' => ['description' => 'The number of 2xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '455', 'title' => ''],
+ 'Status3' => ['description' => 'The number of 3xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'Status4' => ['description' => 'The number of 4xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '34', 'title' => ''],
+ 'Status5' => ['description' => 'The number of 5xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Status410Pv' => ['description' => 'The number of 410 status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebAreaBlockSwitchResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n</ModifyWebAreaBlockSwitchResponse>","errorExample":""}]',
- 'summary' => 'Enables or disables the Location Blacklist (Domain Names) policy for a domain name.',
- 'description' => 'You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebAreaBlock' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F\\",\\n \\"ElasticQps\\": [\\n {\\n \\"MaxNormalQps\\": 23,\\n \\"Index\\": 1,\\n \\"MaxQps\\": 100,\\n \\"Pv\\": 15104,\\n \\"Ups\\": 1223,\\n \\"Status2\\": 455,\\n \\"Status3\\": 100,\\n \\"Status4\\": 34,\\n \\"Status5\\": 0,\\n \\"Status410Pv\\": 8\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeElasticQps',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQps'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeElasticQpsRecord' => [
+ 'summary' => 'Queries the burstable QPS details of an Anti-DDoS Proxy instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106262',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '173053',
+ 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800000', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name whose configurations you want to modify.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1688140799999', 'title' => ''],
],
[
- 'name' => 'Regions',
+ 'name' => 'Ip',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The regions from which you block requests.'."\n"
- ."\n"
- .'> If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The region from which you block requests. You can block requests from administrative regions in China or from countries and areas. For example, **CN-310000** indicates Shanghai, and **OVERSEAS-US** indicates the United States. If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.'."\n"
- ."\n"
- .'> For more information, see [Location parameters](~~167926~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CN-310000',
- ],
- 'required' => false,
- 'example' => 'CN-SHANGHAI',
- 'maxItems' => 1000,
- ],
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS Proxy instance to query.', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n", 'title' => ''],
],
],
'responses' => [
@@ -10020,27 +8537,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17',
+ 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F', 'title' => ''],
+ 'ElasticQpsList' => [
+ 'description' => 'The QPS information about the instance.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OpsElasticQps' => ['description' => 'The burstable QPS value. A value of 0 indicates that the burstable QPS feature is not enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '300000', 'title' => ''],
+ 'Ip' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'example' => '203.***.***.199', 'title' => ''],
+ 'OriginQps' => ['description' => 'The service QPS (purchased).', 'type' => 'integer', 'format' => 'int64', 'example' => '1345', 'title' => ''],
+ 'Date' => ['description' => 'The timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1688140799999'."\n", 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****'."\n", 'title' => ''],
+ 'Qps' => ['description' => 'The daily peak 95th percentile QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '4367', 'title' => ''],
+ 'QpsPeak' => ['description' => 'The daily peak traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '122', 'title' => ''],
+ 'Status' => ['description' => 'Indicates whether the instance has expired or is released. Valid values:'."\n"
+ ."\n"
+ .'- **1**: The instance runs as expected.'."\n"
+ ."\n"
+ .'- **2**: The instance has expired.'."\n"
+ ."\n"
+ .'- **4**: The instance is released.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'OpsQps' => ['description' => 'The service QPS (active).', 'type' => 'integer', 'format' => 'int64', 'example' => '1345', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]',
- 'summary' => 'Modifies the blocked locations that are configured in the Location Blacklist (Domain Names) policy for a website.',
- ],
- 'DescribeWebCcProtectSwitch' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeElasticQpsRecord',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQpsRecord'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticQpsRecord',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B34E2-570C-508D-95FD-DFB6611D518F\\",\\n \\"ElasticQpsList\\": [\\n {\\n \\"OpsElasticQps\\": 300000,\\n \\"Ip\\": \\"203.***.***.199\\",\\n \\"OriginQps\\": 1345,\\n \\"Date\\": 1688140799999,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\\\n\\",\\n \\"Qps\\": 4367,\\n \\"QpsPeak\\": 122,\\n \\"Status\\": 1,\\n \\"OpsQps\\": 1345\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeHeaders' => [
+ 'summary' => 'Queries the custom headers for a domain name.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10050,41 +8610,23 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106204',
- 'abilityTreeNodes' => [
- 'FEATUREddosCRC1QI',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106146',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek3cmuvpia****', 'title' => ''],
],
[
- 'name' => 'Domains',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun**.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 5,
- ],
+ 'schema' => ['description' => 'The domain name for which to query custom headers.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''],
],
],
'responses' => [
@@ -10092,187 +8634,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D',
- ],
- 'ProtectSwitchList' => [
- 'description' => 'The status of each mitigation policy for the website.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'BlackWhiteListEnable' => [
- 'description' => 'The status of Blacklist/Whitelist (Domain Names). Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AiTemplate' => [
- 'description' => 'The level of Intelligent Protection. Valid values:'."\n"
- ."\n"
- .'* **level30**: Loose'."\n"
- .'* **level60**: Normal'."\n"
- .'* **level90**: Strict'."\n",
- 'type' => 'string',
- 'example' => 'level60',
- ],
- 'PreciseRuleEnable' => [
- 'description' => 'The status of Accurate Access Control. Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'AiMode' => [
- 'description' => 'The mode of Intelligent Protection. Valid values:'."\n"
- ."\n"
- .'* **watch**: Warning'."\n"
- .'* **defense**: Defense'."\n",
- 'type' => 'string',
- 'example' => 'defense',
- ],
- 'AiRuleEnable' => [
- 'description' => 'The status of Intelligent Protection. Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RegionBlockEnable' => [
- 'description' => 'The status of Location Blacklist (Domain Names). Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CcTemplate' => [
- 'description' => 'The mode of Frequency Control. Valid values:'."\n"
- ."\n"
- .'* **default**: Normal'."\n"
- .'* **gf_under_attack**: Emergency'."\n"
- .'* **gf_sos_verify**: Strict'."\n"
- .'* **gf_sos_enhance**: Super Strict'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'CcCustomRuleEnable' => [
- 'description' => 'The status of the Custom Rules switch for Frequency Control. Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CcEnable' => [
- 'description' => 'The status of Frequency Control. Valid values:'."\n"
- ."\n"
- .'* **0**: turned off'."\n"
- .'* **1:** turned on'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CcGlobalSwitch' => [
- 'type' => 'string',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D', 'title' => ''],
+ 'CustomHeader' => [
+ 'description' => 'The custom header information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Headers' => ['description' => 'The custom headers. The value is a string that consists of a JSON object. The JSON object contains the following fields:', 'type' => 'string', 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'EmbeddedHeaders' => ['description' => 'The request header that can be used to mark the Layer 7 attack. The value is a string that consists of a JSON object. The JSON object contains the following fields:', 'type' => 'string', 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebCcProtectSwitchResponse>\\r\\n\\t<RequestId>3ADD9EED-CA4B-488C-BC82-01B0B899363D</RequestId>\\r\\n\\t<ProtectSwitchList>\\r\\n\\t\\t<CcEnable>1</CcEnable>\\r\\n\\t\\t<BlackWhiteListEnable>1</BlackWhiteListEnable>\\r\\n\\t\\t<AiRuleEnable>1</AiRuleEnable>\\r\\n\\t\\t<CcCustomRuleEnable>0</CcCustomRuleEnable>\\r\\n\\t\\t<PreciseRuleEnable>0</PreciseRuleEnable>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<AiMode>defense</AiMode>\\r\\n\\t\\t<RegionBlockEnable>0</RegionBlockEnable>\\r\\n\\t\\t<CcTemplate>default</CcTemplate>\\r\\n\\t\\t<AiTemplate>level60</AiTemplate>\\r\\n\\t</ProtectSwitchList>\\r\\n</DescribeWebCcProtectSwitchResponse>","errorExample":""}]',
- 'title' => 'DescribeWebCcProtectSwitch',
- 'summary' => 'Queries the status of each mitigation policy for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeWebCCRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48BC7BA5-69BE-5C31-A080-AFF2431AE48D\\",\\n \\"CustomHeader\\": {\\n \\"Headers\\": \\"{\\\\\\"X-Forwarded-ClientSrcPort\\\\\\":\\\\\\"\\\\\\",\\\\\\"header1\\\\\\":\\\\\\"hLeLele\\\\\\"}\\",\\n \\"Domain\\": \\"example.aliyundoc.com\\"\\n },\\n \\"EmbeddedHeaders\\": \\"{\\\\\\"X-Client-IP\\\\\\":true,\\\\\\"X-True-IP\\\\\\":true,\\\\\\"Web-Server-Type\\\\\\":true,\\\\\\"WL-Proxy-Client-IP\\\\\\":true,\\\\\\"X-Forwarded-Proto\\\\\\":true}\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeHeaders',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHeaders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeHealthCheckList' => [
+ 'summary' => 'Queries the Layer 4 or Layer 7 health check configurations of a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => true,
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106205',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106147',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'NetworkRules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''],
],
],
'responses' => [
@@ -10280,98 +8709,89 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of custom frequency control rules.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314',
- ],
- 'WebCCRules' => [
- 'description' => 'The custom frequency control rule.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9', 'title' => ''],
+ 'HealthCheckList' => [
+ 'description' => 'An array that consists of information about the health check configuration.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Ttl' => [
- 'description' => 'The validity period. Valid values: **1** to **1440**. Unit: minutes.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Act' => [
- 'description' => 'The action triggered if the rule is matched. Valid values:'."\n"
- ."\n"
- .'* **close**: The requests that match the rule are blocked.'."\n"
- .'* **captcha**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n",
- 'type' => 'string',
- 'example' => 'close',
- ],
- 'Interval' => [
- 'description' => 'The check interval. Valid values: **5** to **10800**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'Mode' => [
- 'description' => 'The match mode. Valid values:'."\n"
- ."\n"
- .'* **prefix**: prefix match.'."\n"
- .'* **match**: exact match.'."\n",
- 'type' => 'string',
- 'example' => 'prefix',
- ],
- 'Name' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'wq',
- ],
- 'Uri' => [
- 'description' => 'The check path.'."\n",
- 'type' => 'string',
- 'example' => '/hello',
- ],
- 'Count' => [
- 'description' => 'The number of requests that are allowed from a single IP address. Valid values: **2** to **2000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
+ 'FrontendPort' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**'."\n"
+ ."\n"
+ .'- **udp**', 'type' => 'string', 'example' => 'tcp', 'title' => ''],
+ 'HealthCheck' => [
+ 'description' => 'The health check configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timeout' => ['description' => 'The response timeout period. Valid values: **1** to **30**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'Type' => ['description' => 'The type of the protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**: The Layer 4 health check configuration was queried.'."\n"
+ ."\n"
+ .'- **http**: The Layer 7 health check configuration was queried.', 'type' => 'string', 'example' => 'tcp', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name.'."\n"
+ ."\n"
+ .'> This parameter is returned only when the Layer 7 health check configuration is queried.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'Interval' => ['description' => 'The interval at which checks are performed. Valid values: **1** to **30**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''],
+ 'Up' => ['description' => 'The number of consecutive successful health checks that must occur before a port is declared healthy. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'Down' => ['description' => 'The number of consecutive failed health checks that must occur before a port is declared unhealthy. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'Port' => ['description' => 'The port that was checked.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''],
+ 'Uri' => ['description' => 'The check path.'."\n"
+ ."\n"
+ .'> This parameter is returned only when the Layer 7 health check configuration is queried.', 'type' => 'string', 'example' => '/abc', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'ddoscoo::2020-01-01::ConfigWebCCRuleV2',
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebCCRulesResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>EAED912D-909E-45F0-AF74-AC0CCDCAE314</RequestId>\\r\\n\\t<WebCCRules>\\r\\n\\t\\t<Act>close</Act>\\r\\n\\t\\t<Mode>prefix</Mode>\\r\\n\\t\\t<Count>3</Count>\\r\\n\\t\\t<Ttl>60</Ttl>\\r\\n\\t\\t<Uri>/hello</Uri>\\r\\n\\t\\t<Name>wq</Name>\\r\\n\\t\\t<Interval>5</Interval>\\r\\n\\t</WebCCRules>\\r\\n</DescribeWebCCRulesResponse>","errorExample":""}]',
- 'title' => 'DescribeWebCCRules',
- 'summary' => 'Queries the custom frequency control rules that are created for a website.',
+ 'title' => 'DescribeHealthCheckList',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebPreciseAccessRule' => [
- 'summary' => 'Queries the accurate access control rules that are created for websites.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHealthCheckList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83B4AF42-E8EE-4DC9-BD73-87B7733A36F9\\",\\n \\"HealthCheckList\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 5,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 3,\\n \\"Down\\": 3,\\n \\"Port\\": 8080,\\n \\"Uri\\": \\"/abc\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeHealthCheckStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10381,55 +8801,18 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106208',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeCode' => '106148',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domains',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the domain names of websites.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.test****.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 5,
- ],
- ],
- [
- 'name' => 'Owner',
+ 'name' => 'NetworkRules',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'manual',
- 'clover',
- ],
- ],
+ 'schema' => ['description' => 'An array that consists of the details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
+ .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
+ .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''],
],
],
'responses' => [
@@ -10437,123 +8820,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638',
- ],
- 'PreciseAccessConfigList' => [
- 'description' => 'The configuration of the accurate access control rule that is created for the website.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C', 'title' => ''],
+ 'HealthCheckStatus' => [
+ 'description' => 'An array that consists of the details of the health status of the origin server.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'RuleList' => [
- 'description' => 'The scheduling rules.'."\n",
+ 'Status' => ['description' => 'The health status of the origin server. Valid values:'."\n"
+ ."\n"
+ .'* **normal**: healthy'."\n"
+ .'* **abnormal**: unhealthy'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''],
+ 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'* **tcp**'."\n"
+ .'* **udp**'."\n", 'type' => 'string', 'example' => 'tcp', 'title' => ''],
+ 'RealServerStatusList' => [
+ 'description' => 'An array that consists of the health states of the IP addresses of the origin server.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Action' => [
- 'description' => 'The action triggered if the rule is matched. Valid values:'."\n"
- ."\n"
- .'* **accept**: The requests that match the rule are allowed.'."\n"
- .'* **block**: The requests that match the rule are blocked.'."\n"
- .'* **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n",
- 'type' => 'string',
- 'example' => 'accept',
- ],
- 'Owner' => [
- 'description' => 'The source of the rule. Valid values:'."\n"
- ."\n"
- .'* **manual** (default): manually created.'."\n"
- .'* **auto**: automatically generated.'."\n",
- 'type' => 'string',
- 'example' => 'manual',
- ],
- 'ExpirePeriod' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Name' => [
- 'description' => 'The name of the scheduling rule.'."\n",
- 'type' => 'string',
- 'example' => 'testrule',
- ],
- 'ConditionList' => [
- 'description' => 'The match conditions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'MatchMethod' => [
- 'description' => 'The logical operator.'."\n",
- 'type' => 'string',
- 'example' => 'belong',
- ],
- 'Field' => [
- 'description' => 'The match field.'."\n",
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'Content' => [
- 'description' => 'The match content.'."\n",
- 'type' => 'string',
- 'example' => '1.1.1.1',
- ],
- 'HeaderName' => [
- 'description' => 'The custom HTTP request header.'."\n"
- ."\n"
- .'> This parameter takes effect only when **Field** is set to **header**.'."\n",
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'ContentList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'Expires' => [
- 'description' => 'The validity period of the rule. Unit: seconds. This parameter takes effect only when **action** of a rule is **block**. Access requests that match the rule are blocked within the specified validity period of the rule. The value **0** indicates that the whitelist takes effect all the time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'Status' => ['description' => 'The health state of the IP address. Valid values:'."\n"
+ ."\n"
+ .'* **normal**: healthy'."\n"
+ .'* **abnormal**: unhealthy'."\n", 'type' => 'string', 'example' => 'abnormal', 'title' => ''],
+ 'Address' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebPreciseAccessRuleResponse>\\r\\n\\t<PreciseAccessConfigList>\\r\\n\\t\\t<RuleList>\\r\\n\\t\\t\\t<Owner>manual</Owner>\\r\\n\\t\\t\\t<Action>accept</Action>\\r\\n\\t\\t\\t<ConditionList>\\r\\n\\t\\t\\t\\t<MatchMethod>belong</MatchMethod>\\r\\n\\t\\t\\t\\t<Field>ip</Field>\\r\\n\\t\\t\\t\\t<HeaderName></HeaderName>\\r\\n\\t\\t\\t\\t<Content>1.***.***.2</Content>\\r\\n\\t\\t\\t</ConditionList>\\r\\n\\t\\t\\t<Expires>0</Expires>\\r\\n\\t\\t\\t<Name>testrule</Name>\\r\\n\\t\\t</RuleList>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t</PreciseAccessConfigList>\\r\\n\\t<RequestId>209EEFBF-B0C7-441E-8C28-D0945A57A638</RequestId>\\r\\n</DescribeWebPreciseAccessRuleResponse>","errorExample":""}]',
- 'title' => 'DescribeWebPreciseAccessRule',
+ '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":"<DescribeHealthCheckStatusResponse>\\n <RequestId>DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C</RequestId>\\n <HealthCheckStatus>\\n <Status>normal</Status>\\n <FrontendPort>8080</FrontendPort>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <Protocol>tcp</Protocol>\\n <RealServerStatusList>\\n <Status>abnormal</Status>\\n <Address>192.0.XX.XX</Address>\\n </RealServerStatusList>\\n </HealthCheckStatus>\\n</DescribeHealthCheckStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribeHealthCheckStatus',
+ 'summary' => 'Queries the health status of an origin server.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebAreaBlockConfigs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeInstanceDetails' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10563,40 +8911,24 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106202',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeCode' => '106149',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domains',
+ 'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
+ 'description' => 'An array that consists of the IDs of instances to query.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun**.com',
- ],
+ 'items' => ['description' => 'The ID of the instance to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 10,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -10605,171 +8937,206 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'AreaBlockConfigs' => [
- 'description' => 'An array that consists of the configurations of the Location Blacklist (Domain Names) policy.'."\n",
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '3C814429-21A5-4673-827E-FDD19DC75681', 'title' => ''],
+ 'InstanceDetails' => [
+ 'description' => 'The IP address and ISP line information about the Anti-DDoS Proxy instance.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'RegionList' => [
- 'description' => 'The configuration of the blocked locations.'."\n",
+ 'Line' => ['description' => 'The protection line of the instance.'."\n", 'type' => 'string', 'example' => 'coop-line-001', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
+ 'EipInfos' => [
+ 'description' => 'The IP address information about the Anti-DDoS Proxy instance.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => 'The name of the location.'."\n",
- 'type' => 'string',
- 'example' => 'CN-SHANGHAI',
- ],
- 'Block' => [
- 'description' => 'Indicates whether the location is blocked. Valid values:'."\n"
- ."\n"
- .'* **0**: yes'."\n"
- .'* **1**: no'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'Status' => ['description' => 'The status of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **normal**: indicates that the instance is normal.'."\n"
+ .'* **expired**: indicates that the instance expired.'."\n"
+ .'* **defense**: indicates that traffic scrubbing is performed on the asset that is protected by the instance.'."\n"
+ .'* **blackhole**: indicates that blackhole filtering is triggered for the asset that is protected by the instance.'."\n"
+ .'* **punished**: indicates that the instance is in penalty.'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''],
+ 'IpMode' => ['description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n"
+ .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n", 'type' => 'string', 'example' => 'fnat', 'title' => ''],
+ 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.117.XX.XX', 'title' => ''],
+ 'IpVersion' => ['description' => 'The IP version of the protocol. Valid values:'."\n"
+ ."\n"
+ .'* **Ipv4**: IPv4'."\n"
+ .'* **Ipv6**: IPv6'."\n", 'type' => 'string', 'example' => 'Ipv4', 'title' => ''],
+ 'CertConfigured' => ['description' => 'Indicates whether a custom certificate is configured.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TlsVersion' => ['description' => 'The Transport Layer Security (TLS) version that is configured.'."\n", 'type' => 'string', 'example' => 'tls1.2', 'title' => ''],
+ 'Ssl13Enabled' => ['description' => 'Indicates whether the TLS 1.3 version is supported.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'FunctionVersion' => ['description' => 'The type of the instance.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAreaBlockConfigsResponse>\\r\\n\\t<AreaBlockConfigs>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>1</Block>\\r\\n\\t\\t\\t<Region>CN-YUNNAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HEILONGJIANG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-ANTARCTICA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>1</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-EUROPE</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-BEIJING</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HENAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HUNAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-FUJIAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-JIANGSU</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-ZHEJIANG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HAINAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-TIBET</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-INNERMONGOLIA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-NINGXIA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-SHAANXI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-GUANGDONG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-QINGHAI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-NAMERICA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-SAMERICA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-SHANGHAI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>1</Block>\\r\\n\\t\\t\\t<Region>CN-GUANGXI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-ASIA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-OCEANIA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-MACAU</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-GUIZHOU</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-JILIN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-ANHUI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-JIANGXI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HEBEI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-CHONGQING</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>OVERSEAS-AFRICA</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-SICHUAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-TIANJIN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-XINJIANG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-LIAONING</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-GANSU</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HONGKONG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>1</Block>\\r\\n\\t\\t\\t<Region>CN-TAIWAN</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-SHANDONG</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-SHANXI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<RegionList>\\r\\n\\t\\t\\t<Block>0</Block>\\r\\n\\t\\t\\t<Region>CN-HUBEI</Region>\\r\\n\\t\\t</RegionList>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t</AreaBlockConfigs>\\r\\n\\t<RequestId>044D33A9-80B9-4F07-BA63-9207CAD53263</RequestId>\\r\\n</DescribeWebAreaBlockConfigsResponse>","errorExample":""}]',
- 'summary' => 'Queries the Location Blacklist (Domain Names) configurations for websites.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ConfigWebIpSet' => [
- 'methods' => [
- 'post',
- 'get',
+ '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":"<DescribeInstanceDetailsResponse>\\n <RequestId>3C814429-21A5-4673-827E-FDD19DC75681</RequestId>\\n <InstanceDetails>\\n <Line>coop-line-001</Line>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <EipInfos>\\n <Status>normal</Status>\\n <IpMode>fnat</IpMode>\\n <Eip>203.117.XX.XX</Eip>\\n <IpVersion>Ipv4</IpVersion>\\n </EipInfos>\\n </InstanceDetails>\\n</DescribeInstanceDetailsResponse>","errorExample":""}]',
+ 'title' => 'DescribeInstanceDetails',
+ 'summary' => 'Queries the IP addresses and Internet service provider (ISP) lines of Anti-DDoS Pro or Anti-DDoS Premium instances.',
+ 'description' => 'You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2025-09-04T06:34:49.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2024-06-06T11:19:26.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDetails'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceDetails',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeInstanceExt' => [
+ 'summary' => 'Queries the information about Anti-DDoS Pro and Anti-DDoS Premium instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106061',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'Domain',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''],
],
[
- 'name' => 'BlackList',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IP addresses and CIDR blocks in the blacklist. You can add up to 200 IP addresses or CIDR blocks to the blacklist.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address or CIDR block that you want to add to the blacklist.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.49.*.*',
- ],
- 'required' => false,
- 'example' => '1.1.1.1',
- 'maxItems' => 2000,
- ],
+ 'schema' => ['description' => 'The number of the page. For example, to query the returned results on the first page, set the value to **1**.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
- 'name' => 'WhiteList',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IP addresses and CIDR blocks in the whitelist. You can add up to 200 IP addresses or CIDR blocks to the whitelist.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address or CIDR block that you want to add to the whitelist.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.2.*.*/24',
- ],
- 'required' => false,
- 'example' => '2.2.2.2/24',
- 'maxItems' => 2000,
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'InstanceExtSpecs' => [
+ 'description' => 'The extended information about the Anti-DDoS Proxy instance.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-i7m25564****'."\n", 'title' => ''],
+ 'NormalBandwidth' => ['description' => 'The clean bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'FunctionVersion' => ['description' => 'The function plan. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Standard'."\n"
+ ."\n"
+ .'- **1**: Enhanced', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'ServicePartner' => ['description' => 'The Internet service provider (ISP) line of the Anti-DDoS Proxy (Chinese Mainland) instance.', 'type' => 'string', 'example' => 'coop-line-001', 'title' => ''],
+ 'ProductPlan' => ['description' => 'The type of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n"
+ ."\n"
+ .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n"
+ ."\n"
+ .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n"
+ ."\n"
+ .'- **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'TotalCount' => ['description' => 'The total number of queried instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigWebIpSetResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigWebIpSetResponse>","errorExample":""}]',
- 'title' => 'ConfigWebIpSet',
- 'summary' => 'Configures the IP address whitelist and blacklist for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ConfigWebCCTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeInstanceExt',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceExt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceExtSpecs\\": [\\n {\\n \\"InstanceId\\": \\"ddoscoo-cn-i7m25564****\\\\n\\",\\n \\"NormalBandwidth\\": 100,\\n \\"FunctionVersion\\": 0,\\n \\"ServicePartner\\": \\"coop-line-001\\",\\n \\"ProductPlan\\": 0\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","type":"json"}]',
+ ],
+ 'DescribeInstanceIds' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10778,48 +9145,48 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106060',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106150',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management.'."\n"
+ ."\n"
+ .'If this parameter is not specified, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'Edition',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The type of Anti-DDoS Proxy instance to query. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n"
+ ."\n"
+ .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n"
+ ."\n"
+ .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) Sec-CMA.'."\n"
+ ."\n"
+ .'- **9**: Anti-DDoS Proxy (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', 'title' => ''],
],
[
- 'name' => 'Template',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The mode of the Frequency Control policy. Valid values:'."\n"
+ 'description' => 'The list of Anti-DDoS Proxy instance IDs to query. The maximum value of N is 200.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
."\n"
- .'* **default**: Normal'."\n"
- .'* **gf_under_attack**: Emergency'."\n"
- .'* **gf_sos_verify**: Strict'."\n"
- .'* **gf_sos_enhance**: Super Strict'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
+ .'If this parameter is not specified, all Anti-DDoS Proxy instances are queried.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
+ 'required' => false,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -10828,81 +9195,116 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', 'title' => ''],
+ 'InstanceIds' => [
+ 'description' => 'The IDs, versions, remarks, and IP type information of the Anti-DDoS Proxy instances.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IpMode' => ['description' => 'The IP forwarding mode of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **fnat**: The IP version of the origin server is the same as that of the client. This means that requests from IPv4 clients are forwarded to IPv4 origin servers, and requests from IPv6 clients are forwarded to IPv6 origin servers.'."\n"
+ ."\n"
+ .'- **v6tov4**: Requests from both IPv6 and IPv4 clients are forwarded to IPv4 origin servers.', 'type' => 'string', 'example' => 'fnat', 'title' => ''],
+ 'Edition' => ['description' => 'The type of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n"
+ ."\n"
+ .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n"
+ ."\n"
+ .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) Sec-CMA.'."\n"
+ ."\n"
+ .'- **9**: Anti-DDoS Pro (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
+ 'IpVersion' => ['description' => 'The IP protocol version of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **Ipv4**: IPv4 version.'."\n"
+ ."\n"
+ .'- **Ipv6**: IPv6 version.', 'type' => 'string', 'example' => 'Ipv4', 'title' => ''],
+ 'Remark' => ['description' => 'The remark of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigWebCCTemplateResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigWebCCTemplateResponse>","errorExample":""}]',
- 'summary' => 'Configures the mode of the Frequency Control policy for a website.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"InstanceIds\\": [\\n {\\n \\"IpMode\\": \\"fnat\\",\\n \\"Edition\\": 9,\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeInstanceIds',
+ 'summary' => 'Queries the IDs, versions, remarks, and IP type information of Anti-DDoS Proxy instances.',
+ 'description' => 'This operation queries the IDs, versions, remarks, and IP type information of all Anti-DDoS instances.'."\n"
+ ."\n"
+ .'### QPS limits'."\n"
+ ."\n"
+ .'The maximum number of queries per second (QPS) for a single user is 10. If you exceed this limit, API calls will be throttled, which may affect your business. Please call this operation at a reasonable rate.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [common parameters](t2108714.xdita#).'."\n"
+ ."\n"
+ .'For the request format, see the request example in the **Examples** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteWebCCRuleV2' => [
- 'summary' => 'Deletes custom frequency control rules of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeInstanceSpecs' => [
+ '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' => '106152',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'An array that consists of the IDs of instances to query.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the instance to query.'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
'required' => true,
- 'example' => 'www.example.com',
- ],
- ],
- [
- 'name' => 'RuleNames',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The names of the rules that you want to delete.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"trdsss\\"]',
- ],
- ],
- [
- 'name' => 'Owner',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The source of the rule. Valid values:'."\n"
- ."\n"
- .'* **manual** (default): manually created.'."\n"
- .'* **clover**: automatically created. Specify this value when you want to delete intelligent protection rules.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'manual',
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -10911,32 +9313,98 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1',
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B', 'title' => ''],
+ 'InstanceSpecs' => [
+ 'description' => 'The details of the specifications of the instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BaseBandwidth' => ['description' => 'The basic protection bandwidth. Unit: Gbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
+ 'QpsLimit' => ['description' => 'The clean QPS.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3000', 'title' => ''],
+ 'BandwidthMbps' => ['description' => 'The clean bandwidth. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'ElasticBw' => ['description' => 'The burstable clean bandwidth. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''],
+ 'DefenseCount' => ['description' => 'The number of available advanced mitigation sessions for this month. **-1**: unlimited'."\n"
+ ."\n"
+ .'> This parameter is returned only when the request parameter **RegionId** is set to **ap-southeast-1**. If RegionId is set to ap-southeast-1, the specifications of Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'SiteLimit' => ['description' => 'The number of sites that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'PortLimit' => ['description' => 'The number of ports that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'ElasticBandwidth' => ['description' => 'The burstable protection bandwidth. Unit: Gbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
+ 'FunctionVersion' => ['description' => 'The function plan of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **default**: Standard'."\n"
+ .'* **enhance**: Enhanced'."\n"
+ .'* **cnhk**: Chinese Mainland Acceleration (CMA)'."\n"
+ .'* **cnhk_default**: Secure Chinese Mainland Acceleration (Sec-CMA) standard'."\n"
+ .'* **cnhk_enhance**: Sec-CMA enhanced'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
+ 'DomainLimit' => ['description' => 'The number of domain names that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'ElasticBwModel' => ['description' => 'The metering method of the burstable clean bandwidth. Valid values:'."\n"
+ ."\n"
+ .'* **day**: the metering method of daily 95th percentile'."\n"
+ .'* **month**: the metering method of monthly 95th percentile'."\n", 'type' => 'string', 'example' => 'day', 'title' => ''],
+ 'CpsLimit' => ['description' => 'The specification of new connections of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5000', 'title' => ''],
+ 'ConnLimit' => ['description' => 'The specification of concurrent connections of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''],
+ 'RealLimitBw' => ['description' => 'The threshold of the clean bandwidth. Valid values: 0 to 15360. The value 0 indicates that rate limiting is never triggered. Unit: Mbit/s'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'ElasticQpsMode' => ['description' => 'The metering method of the burstable QPS. Valid values:'."\n"
+ ."\n"
+ .'* **day**: the metering method of daily 95th percentile'."\n"
+ .'* **month**: the metering method of monthly 95th percentile'."\n", 'type' => 'string', 'example' => 'day', 'title' => ''],
+ 'ElasticQps' => ['description' => 'The burstable QPS. Unit: QPS'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 30,\\n \\"QpsLimit\\": 3000,\\n \\"BandwidthMbps\\": 100,\\n \\"ElasticBw\\": 300,\\n \\"DefenseCount\\": 2,\\n \\"SiteLimit\\": 5,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 30,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"DomainLimit\\": 50,\\n \\"ElasticBwModel\\": \\"day\\",\\n \\"CpsLimit\\": 5000,\\n \\"ConnLimit\\": 100000,\\n \\"RealLimitBw\\": 0,\\n \\"ElasticQpsMode\\": \\"day\\",\\n \\"ElasticQps\\": 10\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeInstanceSpecs',
+ 'summary' => 'Queries the specifications of Anti-DDoS Pro or Anti-DDoS Premium instances.',
+ 'description' => 'You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-04-04T05:59:00.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-11-24T09:31:01.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-07-13T07:30:29.000Z', 'description' => 'Response parameters changed, Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceSpecs'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]',
- 'title' => 'DeleteWebCCRuleV2',
],
- 'DescribeWebCCRulesV2' => [
- 'summary' => 'Queries the custom frequency control rules that are created for a website.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeInstanceStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10945,497 +9413,123 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '198809',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106153',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website that you want to add to the Anti-DDoS Proxy instance for protection.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- 'title' => '网站业务的域名。',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Maximum value: **20**. Default value: **20**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- 'title' => '页面显示的记录数量。',
- ],
- ],
- [
- 'name' => 'Offset',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries that you want the system to skip before the system returns entries. Default value: **0**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- 'title' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ',
- ],
- ],
- [
- 'name' => 'Owner',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The method used to create the rule. Valid values:'."\n"
+ 'description' => 'The ID of the instance that you want to query.'."\n"
."\n"
- .'* **manual** (default): manually created.'."\n"
- .'* **clover**: automatically created.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'manual',
- 'title' => '筛选规则来源。取值:'."\n"
- .'- **manual**(默认):手动添加'."\n"
- .'- **clover**:自动生成',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of instance N to query. The maximum value of N is 200. You can specify up to 200 instances. Separate the IDs of multiple instances with commas (,).'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'required' => true,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of returned custom frequency control rules.'."\n",
- 'type' => 'string',
- 'example' => '12',
- 'title' => '频率控制规则总数。',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- 'title' => '网站业务的域名。',
- ],
- 'WebCCRules' => [
- 'description' => 'The custom frequency control rules.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE', 'title' => ''],
+ 'InstanceStatistics' => [
+ 'description' => 'The statistics on the instance.'."\n",
'type' => 'array',
'items' => [
- 'description' => 'The custom frequency control rule.'."\n",
'type' => 'object',
'properties' => [
- 'Owner' => [
- 'description' => 'The method used to create the rule. Valid values:'."\n"
- ."\n"
- .'* **manual** (default): manually created.'."\n"
- .'* **clover**: automatically created.'."\n",
- 'type' => 'string',
- 'example' => 'manual',
- 'title' => '规则来源。取值:'."\n"
- .'- **manual**(默认):手动添加'."\n"
- .'- **clover**:自动生成',
- ],
- 'Expires' => [
- 'description' => 'The validity period of the rule. Unit: seconds. If the Action parameter is set to block, the system blocks the requests that match the rule within the validity period of the rule. The value 0 indicates that the rule is permanently valid.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- 'title' => '规则有效期。单位:秒。规则的匹配动作为阻断时(action为block)生效,在规则有效期内阻断访问请求。0表示永久生效。',
- ],
- 'Name' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'wq',
- 'title' => '规则名称。',
- ],
- 'RuleDetail' => [
- 'description' => 'The details of the rule.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Mode' => [
- 'description' => 'The parameter is deprecated.'."\n",
- 'type' => 'string',
- 'example' => '废弃',
- 'title' => '老规则格式,已废弃。',
- ],
- 'Count' => [
- 'description' => 'The parameter is deprecated.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '废弃',
- 'title' => '老规则格式,已废弃。',
- ],
- 'Name' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'ccauto14',
- 'title' => '规则名称。',
- ],
- 'Action' => [
- 'description' => 'The action triggered if the rule is matched. Valid values:'."\n"
- ."\n"
- .'* **accept**: The requests that match the rule are allowed.'."\n"
- .'* **block**: The requests that match the rule are blocked.'."\n"
- .'* **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n"
- .'* **watch**: The requests that match the rule are recorded in logs and allowed.'."\n",
- 'type' => 'string',
- 'example' => 'block',
- 'title' => '匹配动作。取值:'."\n"
- .'- **accept**:放行'."\n"
- .'- **block**:封禁'."\n"
- .'- **challenge**:挑战'."\n"
- .'- **watch**:观察',
- ],
- 'Interval' => [
- 'description' => 'The parameter is deprecated.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- 'title' => '老规则格式,已废弃。',
- ],
- 'Ttl' => [
- 'description' => 'The parameter is deprecated.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- 'title' => '老规则格式,已废弃。',
- ],
- 'Uri' => [
- 'description' => 'The parameter is deprecated.'."\n",
- 'type' => 'string',
- 'example' => '/p3shijihao',
- 'title' => '老规则格式,已废弃。',
- ],
- 'RateLimit' => [
- 'description' => 'The frequency statistics.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'SubKey' => [
- 'description' => 'The name of the field. This parameter is required only when the Target parameter is set to header.'."\n",
- 'type' => 'string',
- 'example' => 'action',
- 'title' => '字段名称(仅当统计源为header时设置)。',
- ],
- 'Interval' => [
- 'description' => 'The statistical period. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- 'title' => '统计周期。单位:秒。',
- ],
- 'Threshold' => [
- 'description' => 'The trigger threshold.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- 'title' => '触发阈值。',
- ],
- 'Ttl' => [
- 'description' => 'The blocking duration. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- 'title' => '封禁时长。单位:秒。',
- ],
- 'Target' => [
- 'description' => 'The statistical method. Valid values:'."\n"
- ."\n"
- .'* **ip**'."\n"
- .'* **header**'."\n",
- 'type' => 'string',
- 'example' => 'ip',
- 'title' => '统计源。取值:'."\n"
- .'- **ip**:按照IP统计'."\n"
- .'- **header**:按照Header统计',
- ],
- ],
- 'title' => '频率统计。',
- ],
- 'Condition' => [
- 'description' => 'The match conditions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The match condition.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'MatchMethod' => [
- 'description' => 'The match method.'."\n",
- 'type' => 'string',
- 'example' => 'belong',
- 'title' => '匹配方法。',
- ],
- 'Field' => [
- 'description' => 'The match field.'."\n",
- 'type' => 'string',
- 'example' => 'ip',
- 'title' => '匹配字段。',
- ],
- 'HeaderName' => [
- 'description' => 'The custom HTTP request header.'."\n"
- ."\n"
- .'> This parameter takes effect only when **Field** is set to **header**.'."\n",
- 'type' => 'string',
- 'example' => 'null',
- 'title' => '自定义HTTP头部字段名称。'."\n"
- ."\n"
- .'> 仅在**Field**为**header**时有效。',
- ],
- 'Content' => [
- 'description' => 'The match content.'."\n",
- 'type' => 'string',
- 'example' => '192.0.XX.XX',
- 'title' => '匹配内容。',
- ],
- 'ContentList' => [
- 'description' => 'The match content when the match method is Equals to One of Multiple Values.'."\n",
- 'type' => 'array',
- 'example' => '["2","3","ad"]',
- 'title' => '匹配方法为等于多值之一时的匹配内容。',
- 'items' => [
- 'title' => '匹配方法为等于多值之一时的匹配内容。',
- 'type' => 'string',
- 'example' => '["2","3","ad"]',
- ],
- ],
- ],
- 'title' => '匹配条件。',
- ],
- 'title' => '匹配条件。',
- ],
- 'Statistics' => [
- 'description' => 'The statistics after deduplication. By default, the system collects statistics before deduplication.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Mode' => [
- 'description' => 'Indicates whether the system collects statistics after deduplication. Valid values:'."\n"
- ."\n"
- .'* **count**: The system collects statistics before deduplication.'."\n"
- .'* **distinct**: The system collects statistics after deduplication.'."\n",
- 'type' => 'string',
- 'example' => 'count',
- 'title' => '去重模式。取值:'."\n"
- .'- **count**:不去重统计'."\n"
- .'- **distinct**:去重统计',
- ],
- 'Field' => [
- 'description' => 'The statistical method. Valid values:'."\n"
- ."\n"
- .'* **ip**'."\n"
- .'* **header**'."\n"
- .'* **uri**'."\n",
- 'type' => 'string',
- 'example' => 'uri',
- 'title' => '统计源。取值:'."\n"
- .'- **ip**:按照IP统计'."\n"
- .'- **header**:按照Header统计 '."\n"
- .'- **uri**:按照uri统计',
- ],
- 'HeaderName' => [
- 'description' => 'The name of the header. This parameter is required only when the Field parameter is set to header.'."\n",
- 'type' => 'string',
- 'example' => 'hello',
- 'title' => '仅当统计源为header时设置。',
- ],
- ],
- 'title' => '去重统计,可缺省(缺省为不去重统计)。',
- ],
- 'StatusCode' => [
- 'description' => 'The status codes.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Enabled' => [
- 'description' => 'Indicates whether the status code is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- 'title' => '是否可用。取值:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- ],
- 'Code' => [
- 'description' => 'The status code. Valid values: **100** to **599**.'."\n"
- ."\n"
- .'* **200**: The request was successful.'."\n"
- .'* Other codes: The request failed.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- 'title' => '状态码。值范围**100**~**599**:'."\n"
- ."\n"
- .'- **200**:表示成功。'."\n"
- .'- 其它:表示错误码。',
- ],
- 'UseRatio' => [
- 'description' => 'Indicates whether to use a ratio.'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CountThreshold' => [
- 'description' => 'If a ratio is not used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of **CountThreshold**. Valid values: **2** to **50000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- 'title' => '不使用比率时,仅在对应状态码达到 **CountThreshold** 时触发处置动作,值范围**2**~**50000**。',
- ],
- 'RatioThreshold' => [
- 'description' => 'If a ratio is used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of **RatioThreshold**. Valid values: **1** to **100**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- 'title' => '使用比率时,仅在对应状态码达到 **RatioThreshold** 时触发处置动作,值范围**1**~**100**。',
- ],
- ],
- 'title' => '状态码。',
- ],
- ],
- 'title' => '规则详情。',
- ],
+ 'DomainUsage' => ['description' => 'The number of domain names that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'DefenseCountUsage' => ['description' => 'The number of advanced mitigation sessions that are used in this month.'."\n"
+ ."\n"
+ .'> This parameter is returned only if Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'SiteUsage' => ['description' => 'The number of websites that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PortUsage' => ['description' => 'The number of ports that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
],
- 'title' => '频率控制(CC防护)自定义规则。',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- 'title' => '频率控制(CC防护)自定义规则。',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ '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":"<DescribeInstanceStatisticsResponse>\\n <RequestId>642319A9-D1F2-4459-A447-E57CFC599FDE</RequestId>\\n <InstanceStatistics>\\n <DomainUsage>1</DomainUsage>\\n <DefenseCountUsage>1</DefenseCountUsage>\\n <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\n <SiteUsage>1</SiteUsage>\\n <PortUsage>2</PortUsage>\\n </InstanceStatistics>\\n</DescribeInstanceStatisticsResponse>","errorExample":""}]',
+ 'title' => 'DescribeInstanceStatistics',
+ 'summary' => 'Queries the statistics on one or more Anti-DDoS Proxy instances, such as the numbers of protected domain names and ports.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"TotalCount\\": \\"12\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Owner\\": \\"manual\\",\\n \\"Expires\\": 0,\\n \\"Name\\": \\"wq\\",\\n \\"RuleDetail\\": {\\n \\"Mode\\": \\"废弃\\",\\n \\"Count\\": 0,\\n \\"Name\\": \\"ccauto14\\",\\n \\"Action\\": \\"block\\",\\n \\"Interval\\": 60,\\n \\"Ttl\\": 300,\\n \\"Uri\\": \\"/p3shijihao\\",\\n \\"RateLimit\\": {\\n \\"SubKey\\": \\"action\\",\\n \\"Interval\\": 60,\\n \\"Threshold\\": 20,\\n \\"Ttl\\": 15,\\n \\"Target\\": \\"ip\\"\\n },\\n \\"Condition\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"Content\\": \\"192.0.XX.XX\\",\\n \\"ContentList\\": [\\n \\"[\\\\\\"2\\\\\\",\\\\\\"3\\\\\\",\\\\\\"ad\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"Statistics\\": {\\n \\"Mode\\": \\"count\\",\\n \\"Field\\": \\"uri\\",\\n \\"HeaderName\\": \\"hello\\"\\n },\\n \\"StatusCode\\": {\\n \\"Enabled\\": true,\\n \\"Code\\": 200,\\n \\"UseRatio\\": true,\\n \\"CountThreshold\\": 10,\\n \\"RatioThreshold\\": 10\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeWebCCRulesV2',
- ],
- 'ConfigWebCCRuleV2' => [
- 'summary' => 'Creates or modifies the custom frequency control rule of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceStatistics'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeInstanceStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '198715',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106154',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy (Chinese Mainland) or Anti-DDoS Proxy (Outside Chinese Mainland) instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-6ja1y6p5****'],
],
[
- 'name' => 'RuleList',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The frequency control rule. This parameter is a JSON string that contains the following fields:'."\n"
- ."\n"
- .'* **action**: the action that is performed if the rule is matched. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **block**: The requests that match the rule are blocked.'."\n"
- .' * **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n"
- .' * **watch**: The requests that match the rule are recorded in logs and allowed.'."\n"
- ."\n"
- .'* **name**: the name of the rule. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **condition**: the match conditions. This field is required and must be of the map type. This field contains the following parameters:'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note** The AND logical operator is used to evaluate multiple match conditions.'."\n"
- ."\n"
- .' * **field**: the match field. This field is required and must be of the string type.'."\n"
- ."\n"
- .' * **match_method**: the logical relation. This field is required and must be of the string type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note** For information about the mappings between the **field** and **match_method** parameters, see the "Mappings between the field and match_method parameters" section of this topic.'."\n"
- ."\n"
- .' * **header_name**: the name of the custom HTTP header. This field is optional and must be of the string type.'."\n"
- ."\n"
- .' **'."\n"
- ."\n"
- .' **Note** This field is required only when **field** is set to **header**.'."\n"
- ."\n"
- .' * **content**: the match content. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **ratelimit**: the frequency control field. This field is optional and must be of the string type. The frequency can be measured based on IP addresses or custom headers. This field contains the following parameters:'."\n"
- ."\n"
- .' * **interval**: the statistical duration. Unit: seconds. This field is required and must be of the integer type.'."\n"
- .' * **ttl**: the period during which the specified action is performed. Unit: seconds. This field is required and must be of the integer type.'."\n"
- .' * **threshold**: the threshold. This field is required and must be of the integer type.'."\n"
- .' * **subkey**: the name of the field. This field is optional and must be of the string type. This field is required only when target is set to header.'."\n"
- .' * **target**: the statistical source. This field is required and must be of the string type. Valid values: ip and header.'."\n"
- ."\n"
- .'* **status_code**: the frequency control field. This field is optional and must be of the string type. Frequency control can be performed based on the quantity or percentage of status codes. This field contains the following parameters:'."\n"
- ."\n"
- .' * **enabled**: specifies whether to enable status code statistics. This field is required and must be of the Boolean type.'."\n"
- .' * **code**: the status code. This field is required and must be of the integer type. Valid values: **100** to **599**.'."\n"
- .' * **use_ratio**: specifies whether to use a ratio. This field is required and must be of the Boolean type. To use a ratio, set this field to true.'."\n"
- .' * **ratio_threshold**: the ratio of the status code. This field is optional and must be of the integer type. If a ratio is used, the action specified in the rule is performed only when the ratio of the status code reaches **ratio_threshold**. Valid values: **1** to **100**.'."\n"
- .' * **count_threshold**: the quantity of the status code. This field is optional and must be of the integer type. If a ratio is not used, the action specified in the rule is performed only when the quantity of the status code reaches **count_threshold**. Valid values: **2** to **50000**.'."\n"
- ."\n"
- .'* **statistics**: specifies whether deduplication is used for statistics. This field is optional and must be of the string type. By default, deduplication is not used for statistics. This field contains the following parameters:'."\n"
- ."\n"
- .' * **mode**: specifies whether deduplication is used for status code statistics. This field is required and must be of the string type. Valid values:'."\n"
- ."\n"
- .' * **count**: Deduplication is not used for statistics.'."\n"
- .' * **distinct**: Deduplication is used for statistics.'."\n"
- ."\n"
- .' * **field**: the statistical source. This field is required and must be of the string type. Valid values: ip, header, and uri.'."\n"
- ."\n"
- .' * **header_name**: the name of the header. This field is optional and must be of the string type. This field is required only when field is set to header.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"action":"block","name":"trdsss","ratelimit":{"interval":60,"ttl":300,"threshold":70,"target":"ip"},"condition":[{"field":"ip","match_method":"belong","content":"1.1.1.1"}]}]',
- ],
- ],
- [
- 'name' => 'Expires',
+ 'name' => 'ProductType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '600',
- ],
+ 'schema' => ['description' => 'The type of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query. Valid values:'."\n"
+ ."\n"
+ .'- **1**: an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n"
+ ."\n"
+ .'- **2**: an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'],
],
],
'responses' => [
@@ -11443,171 +9537,318 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'InstanceStatus' => ['description' => 'The status of the Anti-DDoS Pro or Anti-DDoS Premium instance. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Normal.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD'],
+ 'InstanceId' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-6ja1y6p5****'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceStatus\\": 1,\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-6ja1y6p5****\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeInstanceStatus',
+ 'summary' => 'Queries the status of a specified Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'requestParamsDescription' => 'When you call this operation, you must specify the request parameters described in this topic and the common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about the request format, see the request example in the **Examples** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
- 'title' => 'ConfigWebCCRuleV2',
- ],
- 'ModifyWebCCGlobalSwitch' => [
- 'summary' => 'Enables or disables the HTTP flood mitigation feature for a website.',
- 'methods' => [
- 'post',
- 'get',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeInstances' => [
+ 'summary' => 'Retrieves a list of Anti-DDoS Proxy instances.',
+ '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' => '106151',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com'."\n",
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you omit this parameter, the system uses the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'CcGlobalSwitch',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the HTTP flood mitigation feature is enabled. Valid values:'."\n"
- ."\n"
- .'* **open**'."\n"
- .'* **close**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open',
- ],
+ 'schema' => ['description' => 'The number of the page to return. Pages start from 1.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF',
- ],
- ],
- 'description' => '',
- ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of instances to return per page. Valid values: 1 to 50.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\"\\n}","type":"json"}]',
- 'title' => 'ModifyWebCCGlobalSwitch',
- ],
- 'ConfigL7GlobalRule' => [
- 'summary' => 'Configures an Anti-DDoS global mitigation policy.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Ip',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''],
],
- ],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '254166',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The remark of the Anti-DDoS Proxy instance. Fuzzy matching is supported.', 'type' => 'string', 'required' => false, 'example' => 'doc-test', 'title' => ''],
],
- ],
- 'parameters' => [
[
- 'name' => 'Domain',
+ 'name' => 'Edition',
'in' => 'query',
+ 'schema' => ['description' => 'The edition of the Anti-DDoS Proxy instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n"
+ ."\n"
+ .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n"
+ ."\n"
+ .'- **9**: Anti-DDoS Proxy (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', 'title' => ''],
+ ],
+ [
+ 'name' => 'Enabled',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service traffic forwarding status of the Anti-DDoS Proxy instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Traffic forwarding is stopped.'."\n"
+ ."\n"
+ .'- **1**: Traffic is forwarded.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExpireStartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The start of the expiration time range to query. The operation returns only instances that expire after this time. The value is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361500000', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExpireEndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the expiration time range to query. The operation returns only instances that expire on or before this time. The value is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361700000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
+ 'description' => 'An array of Anti-DDoS Proxy instance IDs. You can specify up to 200 instance IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of an Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-7pp2g9ed****', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'RuleAttr',
+ 'name' => 'Status',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]',
+ 'description' => 'An array of instance statuses for filtering. You can specify up to two statuses.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The status of the Anti-DDoS Proxy instance. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Normal.'."\n"
+ ."\n"
+ .'- **2**: Expired.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'An array of tags for filtering instances.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key used for filtering. You can specify up to 200 tags.'."\n"
+ ."\n"
+ .'- A tag is a key-value pair defined by a tag key (**Key**) and a tag value (**Value**).'."\n"
+ ."\n"
+ .'- You can use tags to filter instances.'."\n"
+ ."\n"
+ .'> The **Key** and **Value** parameters for a tag must be specified as a pair.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''],
+ 'Value' => ['description' => 'The tag value used for filtering. You can specify up to 200 tags.'."\n"
+ ."\n"
+ .'- A tag is a key-value pair defined by a tag key (**Key**) and a tag value (**Value**).'."\n"
+ ."\n"
+ .'- You can use tags to filter instances.'."\n"
+ ."\n"
+ .'> The **Key** and **Value** parameters for a tag must be specified as a pair.', 'type' => 'string', 'required' => false, 'example' => 'test-value', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
+ 'TotalCount' => ['description' => 'The total number of instances found.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates this unique ID for the request. Use it to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39', 'title' => ''],
+ 'Instances' => [
+ 'description' => 'A list of instance details.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The status of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Normal'."\n"
+ ."\n"
+ .'- **2**: Expired', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'IpMode' => ['description' => 'The IP forwarding mode of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **fnat**: The IP versions of the client and the origin server are the same. For example, requests from IPv4 clients are forwarded to IPv4 origin servers, and requests from IPv6 clients are forwarded to IPv6 origin servers.'."\n"
+ ."\n"
+ .'- **v6tov4**: Requests from IPv6 clients are forwarded to IPv4 origin servers.', 'type' => 'string', 'example' => 'fnat', 'title' => ''],
+ 'DebtStatus' => ['description' => 'The overdue payment status of the instance. The value is fixed at **0**, which indicates no overdue payment. This is because both Anti-DDoS Pro (Chinese Mainland) and Anti-DDoS Proxy (Outside Chinese Mainland) are subscription-based.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Edition' => ['description' => 'The edition of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited'."\n"
+ ."\n"
+ .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA'."\n"
+ ."\n"
+ .'- **9**: Anti-DDoS Pro (Chinese Mainland) Professional Edition', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''],
+ 'IpVersion' => ['description' => 'The IP protocol version of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **Ipv4**: IPv4'."\n"
+ ."\n"
+ .'- **Ipv6**: IPv6', 'type' => 'string', 'example' => 'Ipv4', 'title' => ''],
+ 'ExpireTime' => ['description' => 'The expiration time of the instance, provided as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1640361600000', 'title' => ''],
+ 'Remark' => ['description' => 'The remark for the instance.', 'type' => 'string', 'example' => 'doc-test', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time of the instance, provided as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637751953000', 'title' => ''],
+ 'Enabled' => ['description' => 'The service traffic forwarding status of the instance. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Service traffic forwarding is stopped.'."\n"
+ ."\n"
+ .'- **1**: Service traffic forwarding is active.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-7pp2g9ed****', 'title' => ''],
+ 'IsFirstOpenBw' => ['description' => 'Specifies whether the 95th percentile burstable clean bandwidth billing method has been previously enabled. Valid values:'."\n"
+ ."\n"
+ .'- **0**: No'."\n"
+ ."\n"
+ .'- 1: Indicates that it has been enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'IsFirstOpenQps' => ['description' => 'Specifies whether the 95th percentile burstable QPS billing method has been previously enabled. Valid values:'."\n"
+ ."\n"
+ .'- **0**: No'."\n"
+ ."\n"
+ .'- 1: Enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Ip' => ['description' => 'The IP address of the instance.', 'type' => 'string', 'example' => '203.199.XX.XX', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"IpMode\\": \\"fnat\\",\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"ExpireTime\\": 1640361600000,\\n \\"Remark\\": \\"doc-test\\",\\n \\"CreateTime\\": 1637751953000,\\n \\"Enabled\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-7pp2g9ed****\\",\\n \\"IsFirstOpenBw\\": 0,\\n \\"IsFirstOpenQps\\": 0,\\n \\"Ip\\": \\"203.199.XX.XX\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeInstances',
+ 'description' => 'Use this operation to retrieve paginated details for Anti-DDoS instances in your Alibaba Cloud account. The response includes the instance ID, version, expiration time, and service traffic forwarding status.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'This operation is limited to 10 calls per second per user. Exceeding this limit triggers throttling, which can disrupt your services.',
+ 'requestParamsDescription' => 'When you call this API, you must include both the API-specific request parameters and the Alibaba Cloud common request parameters. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the sample request in the **Examples** section.',
+ 'changeSet' => [
+ ['createdAt' => '2025-10-24T05:22:55.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-24T05:22:52.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-24T03:33:39.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-24T03:33:36.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-24T03:31:10.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-24T03:31:09.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T11:10:24.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T11:10:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T11:06:58.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T10:53:47.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T10:53:41.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-10-23T10:44:47.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-07-13T08:52:37.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]',
- 'title' => 'ConfigL7GlobalRule',
],
'DescribeL7GlobalRule' => [
- 'summary' => 'Queries an Anti-DDoS global mitigation policy.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => 'Queries the Anti-DDoS Global Mitigation Policy.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11617,106 +9858,107 @@
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '254169',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website service to operate on.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The language type for the request and response messages. Valid values:'."\n"
+ ."\n"
+ .'- zh: Chinese.'."\n"
+ .'- en: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'GlobalRules' => [
- 'description' => '',
+ 'description' => 'The global template rule information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Action' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The action that the rule performs. Valid values:'."\n"
+ ."\n"
+ .'- **watch**: Monitor.'."\n"
+ .'- **block**: Block.'."\n"
+ .'- **challenge**: JavaScript Challenge.',
'enumValueTitles' => [],
+ 'type' => 'string',
'example' => 'watch',
+ 'title' => '',
],
'ActionDefault' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The default action of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **watch**: Monitor.'."\n"
+ .'- **block**: Block.'."\n"
+ .'- **challenge**: JavaScript Challenge.',
'enumValueTitles' => [],
- 'example' => 'watch',
- ],
- 'Enabled' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RuleId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'global_1',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'RuleName' => [
- 'description' => '',
'type' => 'string',
- 'example' => '',
+ 'example' => 'watch',
+ 'title' => '',
],
+ 'Enabled' => ['description' => 'Indicates whether the rule is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Enabled.'."\n"
+ .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'global_1', 'title' => ''],
+ 'Description' => ['description' => 'The rule description.', 'type' => 'string', 'example' => 'HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4', 'title' => ''],
+ 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => '模拟浏览器请求', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"GlobalRules\\": [\\n {\\n \\"Action\\": \\"watch\\",\\n \\"ActionDefault\\": \\"watch\\",\\n \\"Enabled\\": 1,\\n \\"RuleId\\": \\"global_1\\",\\n \\"Description\\": \\"HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4\\",\\n \\"RuleName\\": \\"模拟浏览器请求\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeL7GlobalRule',
- ],
- 'DescribeDomainCcProtectSwitch' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Query the Anti-DDoS Global Mitigation Policy',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"GlobalRules\\": [\\n {\\n \\"Action\\": \\"watch\\",\\n \\"ActionDefault\\": \\"watch\\",\\n \\"Enabled\\": 1,\\n \\"RuleId\\": \\"global_1\\",\\n \\"Description\\": \\"HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4\\",\\n \\"RuleName\\": \\"模拟浏览器请求\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeL7RsPolicy' => [
+ 'summary' => 'Queries the back-to-origin policies for the forwarding rule of a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11728,37 +9970,36 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106122',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106157',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domains',
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website to query.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'RealServers',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '',
+ 'description' => 'An array that consists of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyundoc.com',
- ],
- 'required' => true,
- 'maxItems' => 5,
+ 'items' => ['description' => 'A total of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses. Separate multiple addresses with commas (,).', 'type' => 'string', 'required' => false, 'example' => '1.***.***.1', 'title' => ''],
+ 'required' => false,
+ 'example' => '1.***.***.1',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -11767,184 +10008,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'ProtectSwitchList' => [
- 'description' => '',
+ 'ProxyMode' => ['description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n"
+ ."\n"
+ .'- **ip\\_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n"
+ ."\n"
+ .'- **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n"
+ ."\n"
+ .'- **least\\_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.', 'type' => 'string', 'example' => 'rr', 'title' => ''],
+ 'UpstreamRetry' => ['description' => 'The back-to-origin retry switch. Valid values:'."\n"
+ ."\n"
+ .'- **1**: on'."\n"
+ ."\n"
+ .'- **0**: off', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RsAttrRwTimeoutMax' => ['description' => 'The timeout period for a read or write connection.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', 'title' => ''],
+ 'Attributes' => [
+ 'description' => 'The details about the parameters for back-to-origin settings.',
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'BlackWhiteListEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AiTemplate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'level60',
- ],
- 'PreciseRuleEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'www.aliyundoc.com',
- ],
- 'AiMode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'defense',
- ],
- 'AiRuleEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RegionBlockEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CcTemplate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'CcCustomRuleEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CcEnable' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CcGlobalSwitch' => [
- 'type' => 'string',
+ 'RsType' => ['description' => 'The address type of the origin server. Valid values:'."\n"
+ ."\n"
+ .'- **0**: IP address'."\n"
+ ."\n"
+ .'- **1**: domain name', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'RealServer' => ['description' => 'The address of the origin server.', 'type' => 'string', 'example' => '1.***.***.1', 'title' => ''],
+ 'Attribute' => [
+ 'description' => 'The parameters for back-to-origin settings.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Weight' => ['description' => 'The weight of the origin server. This parameter takes effect only if the value of **ProxyMode** is **rr** or **ip\\_hash**.\\*\\*\\*\\*'."\n"
+ ."\n"
+ .'Valid values: **1** to **100**. Default value: **100**. A server with a higher weight receives more requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'ConnectTimeout' => ['description' => 'The timeout period for a new connection. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'FailTimeout' => ['description' => 'The expiration time of a connection, in seconds. If the number of failures at the origin server exceeds the **MaxFails** value, the address of the origin server is set to down and the expiration time is **FailTimeout**. The final value is the maximum value of **ConnectTimeout** and **FailTimeout**. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'MaxFails' => ['description' => 'The maximum number of failures. This parameter is related to health check. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'Mode' => ['description' => 'The primary/secondary flag. Valid values:'."\n"
+ ."\n"
+ .'- **active**: primary'."\n"
+ ."\n"
+ .'- **backup**: secondary', 'type' => 'string', 'example' => 'active', 'title' => ''],
+ 'ReadTimeout' => ['description' => 'The timeout period for a read connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'title' => ''],
+ 'SendTimeout' => ['description' => 'The timeout period for a write connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"close\\"\\n }\\n ]\\n}","type":"json"}]',
- ],
- 'ConfigDomainSecurityProfile' => [
- 'summary' => 'Configures the global mitigation policy feature, including the feature status and settings.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'DescribeL7RsPolicy',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-09-18T09:19:49.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL7RsPolicy'],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106289',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'live.abcde.com',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'Config',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The configurations for the global mitigation policy feature. The configurations include the following fields:'."\n"
- ."\n"
- .'* **global_rule_mode**: optional. The mode for the global mitigation policy feature. Data type: string. Valid values:'."\n"
- ."\n"
- .' * **weak**: loose.'."\n"
- .' * **default**: normal.'."\n"
- .' * **hard**: strict.'."\n"
- ."\n"
- .'* **global_rule_enable**: optional. Specifies whether to enable the global mitigation policy feature. Data type: string. Valid values:'."\n"
- ."\n"
- .' * **0**: disabled.'."\n"
- .' * **1**: enabled.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"global_rule_mode\\":\\"hard\\"}',
- ],
- ],
- [
- 'name' => 'Cluster',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'This parameter is unavailable.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '9728769F-9466-534E-BE12-CAB29A675828',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7RsPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]',
- 'title' => 'ConfigDomainSecurityProfile',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyMode\\": \\"rr\\",\\n \\"UpstreamRetry\\": 1,\\n \\"RsAttrRwTimeoutMax\\": 300,\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"Attributes\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.***.***.1\\",\\n \\"Attribute\\": {\\n \\"Weight\\": 100,\\n \\"ConnectTimeout\\": 5,\\n \\"FailTimeout\\": 10,\\n \\"MaxFails\\": 3,\\n \\"Mode\\": \\"active\\",\\n \\"ReadTimeout\\": 120,\\n \\"SendTimeout\\": 120\\n }\\n }\\n ]\\n}","type":"json"}]',
],
- 'ModifyPortAutoCcStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeL7UsKeepalive' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11953,217 +10112,77 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106254',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215888',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- [
- 'name' => 'Switch',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies the status of the Intelligent Protection policy. Valid values:'."\n"
- ."\n"
- .'* **on**: enables the policy.'."\n"
- .'* **off**: disables the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'on',
- ],
- ],
- [
- 'name' => 'Mode',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n"
- ."\n"
- .'* **normal**'."\n"
- .'* **loose**'."\n"
- .'* **strict**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'normal',
- ],
+ 'schema' => ['description' => 'The domain name of the website service.'."\n"
+ ."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['title' => '', 'description' => 'The ID of the request. Alibaba Cloud generates this unique identifier for troubleshooting and tracking purposes.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDHE'],
+ 'RsKeepalive' => [
+ 'description' => 'The configured back-to-origin persistent connection parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => ['description' => 'Indicates whether back-to-origin persistent connections are enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'KeepaliveRequests' => ['description' => 'The number of requests that can reuse a persistent connection.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
+ 'KeepaliveTimeout' => ['description' => 'The idle timeout period for persistent connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''],
+ 'DsKeepaliveTimeout' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyPortAutoCcStatusResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyPortAutoCcStatusResponse>","errorExample":""}]',
- 'title' => 'ModifyPortAutoCcStatus',
- 'summary' => 'Modifies the Intelligent Protection configuration of a non-website service.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyNetworkRuleAttribute' => [
- 'summary' => 'Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106251',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- ],
- [
- 'name' => 'ForwardProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- ],
- ],
- [
- 'name' => 'FrontendPort',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '8080',
- ],
- ],
- [
- 'name' => 'Config',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The detailed settings of the port forwarding rule. This parameter is a JSON string and contains the following fields. The detailed settings of a TCP port forwarding rule contain the following fields.'."\n"
- ."\n"
- .'* **PersistenceTimeout**: the timeout period of session persistence. This field is required and of the integer type. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.'."\n"
- .'* **Synproxy**: specifies whether to enable the false source feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.'."\n"
- .'* **NodataConn**: specifies whether to enable the empty connection feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.'."\n"
- .'* **Sla**: the settings of the speed limit for destination feature. This field is required and of the struct type. For more information, see the following description about Sla.'."\n"
- .'* **Slimit**: the settings of the rate limit for source feature. This field is required and of the struct type. For more information, see the following description about Slimit.'."\n"
- .'* **PayloadLen**: the settings of the packet length limit feature. This field is required and of the struct type. For more information, see the following description about PayloadLen.'."\n"
- ."\n"
- .'Sla contains the following fields:'."\n"
- ."\n"
- .'* **Cps**: the destination rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 100 to 100000.'."\n"
- .'* **Maxconn**: the destination rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1000 to 1000000.'."\n"
- .'* **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.'."\n"
- .'* **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.'."\n"
- ."\n"
- .'Slimit contains the following fields:'."\n"
- ."\n"
- .'* **Cps**: the source rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.'."\n"
- .'* **Maxconn**: the source rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.'."\n"
- .'* **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.'."\n"
- .'* **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.'."\n"
- .'* **CpsMode**: specifies whether to enable the source rate limit on new connections. This field is required and of the integer type. Valid values: 1 and 2. The value 1 indicates that the source rate limit is disabled. The value 2 indicates that the system determines whether to enable the source rate limit.'."\n"
- ."\n"
- .'PayloadLen contains the following fields:'."\n"
- ."\n"
- .'* **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.'."\n"
- .'* **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"PersistenceTimeout":900}',
- ],
- ],
- [
- 'name' => 'Module',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'sla',
- ],
+ 'example' => '',
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeL7UsKeepalive',
+ 'summary' => 'Queries the persistent connection settings for back-to-origin requests of a domain name.',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
- 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyNetworkRuleAttributeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyNetworkRuleAttributeResponse>","errorExample":""}]',
- 'title' => 'ModifyNetworkRuleAttribute',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ '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"}]',
],
- 'DescribePortAutoCcStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeLayer4RulePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12173,31 +10192,24 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106166',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeCode' => '106158',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'Listeners',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The port forwarding rule that you want to query.'."\n"
+ ."\n"
+ .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can query only one port forwarding rule at a time.'."\n"
+ ."\n"
+ .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
+ ."\n"
+ .'Each port forwarding rule contains the following fields:'."\n"
+ ."\n"
+ .'* **InstanceId**: the ID of the instance. This field is required and must be of the string type.'."\n"
+ .'* **Protocol**: the forwarding protocol. This field is required and must be of the string type. Valid values: **tcp** and **udp**.'."\n"
+ .'* **FrontendPort**: the forwarding port. This field is required and must be of the integer type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', 'title' => ''],
],
],
'responses' => [
@@ -12205,74 +10217,105 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85',
+ 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''],
+ 'BakMode' => ['description' => 'The mode that is used to forward service traffic. Valid values:'."\n"
+ ."\n"
+ .'* 0: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n"
+ .'* 1: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', 'title' => ''],
+ 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
+ ."\n"
+ .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
+ .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'ForwardProtocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''],
+ 'BackendPort' => ['description' => 'The port of the origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2022', 'title' => ''],
+ 'PriRealServers' => [
+ 'description' => 'An array that consists of the information about the primary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''],
+ 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'Protocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''],
+ 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
+ ."\n"
+ .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
+ .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''],
+ 'RealServer' => ['description' => 'The IP address of the primary origin server.'."\n", 'type' => 'string', 'example' => '192.0.2.1', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'PortAutoCcStatus' => [
- 'description' => 'An array that consists of the configurations of the Intelligent Protection policy.'."\n",
+ 'SecRealServers' => [
+ 'description' => 'An array that consists of the information about the secondary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Switch' => [
- 'description' => 'The status of the Intelligent Protection policy. Valid values:'."\n"
- ."\n"
- .'* **on**: enabled'."\n"
- .'* **off**: disabled'."\n",
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'Mode' => [
- 'description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n"
- ."\n"
- .'* **normal**'."\n"
- .'* **loose**'."\n"
- .'* **strict**'."\n",
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'WebSwitch' => [
- 'description' => 'The status of the Intelligent Protection policy for ports 80 and 443. Valid values:'."\n"
- ."\n"
- .'* **on**: enabled'."\n"
- .'* **off**: disabled'."\n",
- 'type' => 'string',
- 'example' => 'off',
- ],
- 'WebMode' => [
- 'description' => 'The protection mode for ports 80 and 443. Valid values:'."\n"
- ."\n"
- .'* **normal**'."\n"
- .'* **loose**'."\n"
- .'* **strict**'."\n",
- 'type' => 'string',
- 'example' => 'normal',
- ],
+ 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''],
+ 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'Protocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''],
+ 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
+ ."\n"
+ .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
+ .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''],
+ 'RealServer' => ['description' => 'The IP address of the secondary origin server.'."\n", 'type' => 'string', 'example' => '192.0.2.3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePortAutoCcStatusResponse>\\r\\n\\t<RequestId>BC3C6403-F248-4125-B2C9-8733ED94EA85</RequestId>\\r\\n\\t<PortAutoCcStatus>\\r\\n\\t\\t<WebSwitch>off</WebSwitch>\\r\\n\\t\\t<Switch>on</Switch>\\r\\n\\t\\t<WebMode>normal</WebMode>\\r\\n\\t\\t<Mode>normal</Mode>\\r\\n\\t</PortAutoCcStatus>\\r\\n</DescribePortAutoCcStatusResponse>","errorExample":""}]',
- 'title' => 'DescribePortAutoCcStatus',
- 'summary' => 'Queries the configurations of the Intelligent Protection policy for non-website services.',
- 'requestParamsDescription' => ' ',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeLayer4RulePolicyResponse>\\r\\n\\t<RequestId>BB95151E-FCAD-1C3C-872F-77166555E396</RequestId>\\r\\n\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t<BackendPort>2022</BackendPort>\\r\\n\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t<bakMode>1</bakMode>\\r\\n\\t<ForwardProtocol>udp</ForwardProtocol>\\r\\n\\t<PriRealServers>\\r\\n\\t\\t<RealServer>192.0.2.1</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</PriRealServers>\\r\\n\\t<PriRealServers>\\r\\n\\t\\t<RealServer>192.0.2.2</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</PriRealServers>\\r\\n\\t<SecRealServers>\\r\\n\\t\\t<RealServer>192.0.2.3</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</SecRealServers>\\r\\n\\t<SecRealServers>\\r\\n\\t\\t<RealServer>192.0.2.4</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</SecRealServers>\\r\\n</DescribeLayer4RulePolicyResponse>","errorExample":""}]',
+ 'title' => 'DescribeLayer4RulePolicy',
+ 'summary' => 'Queries the back-to-origin settings of a port forwarding rule.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomains' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLayer4RulePolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeLayer4RulePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeLogStoreExistStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12282,44 +10325,15 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106131',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeCode' => '106159',
+ 'abilityTreeNodes' => ['FEATUREddos38XZ5J'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The ID of the instance that you want to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -12327,40 +10341,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964',
- ],
- 'Domains' => [
- 'description' => 'An array consisting of details of the domain name for which the forwarding rules are configured.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name for which forwarding rules are configured.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun***.com',
- ],
- ],
+ 'ExistStatus' => ['description' => 'Indicates whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\",\\n \\"Domains\\": [\\n \\"www.aliyun***.com\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainsResponse>\\r\\n\\t<Domains>www.aliyun.com</Domains>\\r\\n\\t<RequestId>F908E959-ADA8-4D7B-8A05-FF2F67F50964</RequestId>\\r\\n</DescribeDomainsResponse>","errorExample":""}]',
- 'title' => 'DescribeDomains',
- 'summary' => 'Queries domain names for which forwarding rules are created.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExistStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeLogStoreExistStatus?\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<ExistStatus>true</ExistStatus>\\r\\n</DescribeLogStoreExistStatus?","errorExample":""}]',
+ 'title' => 'DescribeLogStoreExistStatus',
+ 'summary' => 'Checks whether a Logstore is created for Anti-DDoS Proxy.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeHealthCheckList' => [
- 'summary' => 'Queries the Layer 4 or Layer 7 health check configurations of a port forwarding rule.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreExistStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeNetworkRegionBlock' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12370,27 +10393,16 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106147',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106160',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'NetworkRules',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
],
'responses' => [
@@ -12398,118 +10410,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9',
- ],
- 'HealthCheckList' => [
- 'description' => 'An array that consists of information about the health check configuration.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8080',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'Protocol' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'HealthCheck' => [
- 'description' => 'The health check configuration.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Timeout' => [
- 'description' => 'The response timeout period. Valid values: **1** to **30**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'Type' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**: The Layer 4 health check configuration was queried.'."\n"
- .'* **http**: The Layer 7 health check configuration was queried.'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'Domain' => [
- 'description' => 'The domain name.'."\n"
- ."\n"
- .'> This parameter is returned only when the Layer 7 health check configuration is queried.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Interval' => [
- 'description' => 'The interval at which checks are performed. Valid values: **1** to **30**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Up' => [
- 'description' => 'The number of consecutive successful health checks that must occur before a port is declared healthy. Valid values: **1** to **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Down' => [
- 'description' => 'The number of consecutive failed health checks that must occur before a port is declared unhealthy. Valid values: **1** to **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Port' => [
- 'description' => 'The port that was checked.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8080',
- ],
- 'Uri' => [
- 'description' => 'The check path.'."\n"
- ."\n"
- .'> This parameter is returned only when the Layer 7 health check configuration is queried.'."\n",
- 'type' => 'string',
- 'example' => '/abc',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'Config' => [
+ 'description' => 'The configuration of blocked locations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionBlockSwitch' => ['description' => 'The status of the Location Blacklist policy. Valid values:'."\n"
+ ."\n"
+ .'* **on**: enabled'."\n"
+ .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'on', 'title' => ''],
+ 'Countries' => [
+ 'description' => 'The codes of the countries or areas from which the requests are blocked.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The code of the country or area from which the requests are blocked.'."\n"
+ ."\n"
+ .'> For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Provinces' => [
+ 'description' => 'The codes of the administrative regions in China from which the requests are blocked.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The code of the administrative region in China from which the requests are blocked. For example, **11** indicates Beijing, and **12** indicates Tianjin.'."\n"
+ ."\n"
+ .'> For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'description' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"83B4AF42-E8EE-4DC9-BD73-87B7733A36F9\\",\\n \\"HealthCheckList\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 5,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 3,\\n \\"Down\\": 3,\\n \\"Port\\": 8080,\\n \\"Uri\\": \\"/abc\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeHealthCheckListResponse>\\r\\n\\t<RequestId>83B4AF42-E8EE-4DC9-BD73-87B7733A36F9</RequestId>\\r\\n\\t<HealthCheckList>\\r\\n\\t\\t<InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\r\\n\\t\\t<FrontendPort>8080</FrontendPort>\\r\\n\\t\\t<HealthCheck>\\r\\n\\t\\t\\t<Type>tcp</Type>\\r\\n\\t\\t\\t<Down>3</Down>\\r\\n\\t\\t\\t<Timeout>5</Timeout>\\r\\n\\t\\t\\t<Port>8080</Port>\\r\\n\\t\\t\\t<Up>3</Up>\\r\\n\\t\\t\\t<Interval>15</Interval>\\r\\n\\t\\t</HealthCheck>\\r\\n\\t\\t<Protocol>tcp</Protocol>\\r\\n\\t</HealthCheckList>\\r\\n <TotalCount>1</TotalCount>\\r\\n</DescribeHealthCheckListResponse>","errorExample":""}]',
- 'title' => 'DescribeHealthCheckList',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeNetworkRuleAttributes' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Config\\": {\\n \\"RegionBlockSwitch\\": \\"on\\",\\n \\"Countries\\": [\\n 2\\n ],\\n \\"Provinces\\": [\\n 11\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribeNetworkRegionBlock',
+ 'summary' => 'Queries the blocked locations that are configured for an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-24T06:54:48.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRegionBlock'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeNetworkRuleAttributes' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12520,24 +10487,19 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '106161',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'NetworkRules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]',
- ],
+ 'schema' => ['description' => 'The port forwarding rules to query, expressed as a JSON string with the following structure.'."\n"
+ ."\n"
+ .'- **InstanceId**: String type, required, the Anti-DDoS instance ID.'."\n"
+ ."\n"
+ .'- **Protocol**: String type, required, the forwarding protocol type. Valid values: **tcp**, **udp**.'."\n"
+ ."\n"
+ .'- **FrontendPort**: Integer type, required, the redirection port.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'],
],
],
'responses' => [
@@ -12545,241 +10507,176 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97',
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97'],
'NetworkRuleAttributes' => [
- 'description' => 'An array that consists of the mitigation settings of the port forwarding rule for a non-website service. The mitigation settings include session persistence and DDoS mitigation policies.'."\n",
+ 'description' => 'The mitigation settings of port forwarding rules for non-website services, including session persistence and DDoS mitigation policies.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8080',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'Protocol' => [
- 'description' => 'The forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
+ 'FrontendPort' => ['description' => 'The redirection port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '8080'],
+ 'InstanceId' => ['description' => 'The Anti-DDoS Proxy instance ID.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
+ 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**'."\n"
+ ."\n"
+ .'- **udp**', 'type' => 'string', 'title' => '', 'example' => 'tcp'],
'Config' => [
- 'description' => 'The mitigation settings of the port forwarding rule.'."\n",
+ 'description' => 'The mitigation settings of the port forwarding rule.',
'type' => 'object',
'properties' => [
- 'NodataConn' => [
- 'description' => 'The status of the Empty Connection switch. Valid values:'."\n"
- ."\n"
- .'* **on**: The switch is turned on.'."\n"
- .'* **off**: The switch is turned off.'."\n",
- 'type' => 'string',
- 'example' => 'off',
- ],
- 'Synproxy' => [
- 'description' => 'The status of the False Source switch. Valid values:'."\n"
- ."\n"
- .'* **on**: The switch is turned on.'."\n"
- .'* **off**: The switch is turned off.'."\n",
- 'type' => 'string',
- 'example' => 'off',
- ],
- 'PersistenceTimeout' => [
- 'description' => 'The timeout period of session persistence. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'NodataConn' => ['description' => 'The status of the empty connection filter. Valid values:'."\n"
+ ."\n"
+ .'- **on**: enabled'."\n"
+ ."\n"
+ .'- **off**: disabled', 'type' => 'string', 'title' => '', 'example' => 'off'],
+ 'Synproxy' => ['description' => 'The status of the false source filter. Valid values:'."\n"
+ ."\n"
+ .'- **on**: enabled'."\n"
+ ."\n"
+ .'- **off**: disabled', 'type' => 'string', 'title' => '', 'example' => 'off'],
+ 'PersistenceTimeout' => ['description' => 'The timeout period for session persistence. Valid values: **30** to **3600**, in seconds. Default value: **0**, which indicates that session persistence is disabled.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'Sla' => [
- 'description' => 'The settings of the Speed Limit for Destination policy.'."\n",
+ 'description' => 'The speed limit for destination configuration.',
'type' => 'object',
'properties' => [
- 'MaxconnEnable' => [
- 'description' => 'The status of the Destination Concurrent Connection Rate Limit switch. Valid values:'."\n"
- ."\n"
- .'* **0**: The switch is turned off.'."\n"
- .'* **1**: The switch is turned on.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CpsEnable' => [
- 'description' => 'The status of the Destination New Connection Rate Limit switch. Valid values:'."\n"
- ."\n"
- .'* **0**: The switch is turned off.'."\n"
- .'* **1**: The switch is turned on.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Cps' => [
- 'description' => 'The maximum number of new connections per second that can be established over the port of the destination instance. Valid values: **100** to **100000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100000',
- ],
- 'Maxconn' => [
- 'description' => 'The maximum number of concurrent connections that can be established over the port of the destination instance. Valid values: **1000** to **1000000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000000',
- ],
+ 'MaxconnEnable' => ['description' => 'The status of the maximum number of concurrent connections to a destination IP address. Valid values:'."\n"
+ ."\n"
+ .'- **0**: disabled'."\n"
+ ."\n"
+ .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'CpsEnable' => ['description' => 'The status of the maximum number of new connections to a destination IP address. Valid values:'."\n"
+ ."\n"
+ .'- **0**: disabled'."\n"
+ ."\n"
+ .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Cps' => ['description' => 'The maximum number of new connections to a destination IP address. Valid values: **100** to **100000**.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100000'],
+ 'Maxconn' => ['description' => 'The maximum number of concurrent connections to a destination IP address. Valid values: **1000** to **1000000**.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1000000'],
],
+ 'title' => '',
+ 'example' => '',
],
'Slimit' => [
- 'description' => 'The settings of the Speed Limit for Source policy.'."\n",
+ 'description' => 'The source rate limiting configuration.',
'type' => 'object',
'properties' => [
- 'MaxconnEnable' => [
- 'description' => 'The status of the Source Concurrent Connection Rate Limit switch. Valid values:'."\n"
- ."\n"
- .'* **0**: The switch is turned off.'."\n"
- .'* **1**: The switch is turned on.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CpsEnable' => [
- 'description' => 'The status of the Source New Connection Rate Limit switch. Valid values:'."\n"
- ."\n"
- .'* **0**: The switch is turned off.'."\n"
- .'* **1**: The switch is turned on.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Cps' => [
- 'description' => 'The maximum number of new connections per second that can be initiated from a source IP address. Valid values: **1** to **500000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Pps' => [
- 'description' => 'The packets per second (pps) limit for a source IP address. Valid values: **1** to **100000**. Unit: packets/s. Default value: **0**, which indicates that the pps for a source IP address is unlimited.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Bps' => [
- 'description' => 'The bandwidth limit for a source IP address. Valid values: **1024** to **268435456**. Unit: bytes/s. Default value: **0**, which indicates that the bandwidth for a source IP address is unlimited.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Maxconn' => [
- 'description' => 'The maximum number of concurrent connections initiated from a source IP address. Valid values: **1** to **500000**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CpsMode' => [
- 'description' => 'The mode of the Source New Connection Rate Limit switch. Valid values:'."\n"
- ."\n"
- .'* **1**: the manual mode'."\n"
- .'* **2**: the automatic mode'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'MaxconnEnable' => ['description' => 'The status of the maximum number of concurrent connections from a source IP address. Valid values:'."\n"
+ ."\n"
+ .'- **0**: disabled'."\n"
+ ."\n"
+ .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'CpsEnable' => ['description' => 'The status of the maximum number of new connections from a source IP address. Valid values:'."\n"
+ ."\n"
+ .'- **0**: disabled'."\n"
+ ."\n"
+ .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Cps' => ['description' => 'The maximum number of new connections from a source IP address. Valid values: **1** to **500000**, in connections.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Pps' => ['description' => 'The source PPS throttling. Valid values: **1** to **100000**, in Packet/s. Default value: **0**, which indicates that source PPS throttling is disabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Bps' => ['description' => 'The source bandwidth throttling. Valid values: **1024** to **268435456**, in Byte/s. Default value: **0**, which indicates that source bandwidth throttling is disabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Maxconn' => ['description' => 'The maximum number of concurrent connections from a source IP address. Valid values: **1** to **500000**, in connections.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'CpsMode' => ['description' => 'The mode of the maximum number of new connections from a source IP address. Valid values:'."\n"
+ ."\n"
+ .'- **1**: manual'."\n"
+ ."\n"
+ .'- **2**: automatic', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
+ 'title' => '',
+ 'example' => '',
],
'PayloadLen' => [
- 'description' => 'The settings of the Packet Length Limit policy.'."\n",
+ 'description' => 'The packet length limit configuration.',
'type' => 'object',
'properties' => [
- 'Min' => [
- 'description' => 'The minimum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Max' => [
- 'description' => 'The maximum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6000',
- ],
+ 'Min' => ['description' => 'The minimum packet length. Valid values: **0** to **6000**, in bytes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Max' => ['description' => 'The maximum packet length. Valid values: **0** to **6000**, in bytes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '6000'],
],
+ 'title' => '',
+ 'example' => '',
],
'Cc' => [
- 'description' => 'The protection policy applied when the number of connections initiated from a source IP address frequently exceeds the limit.'."\n",
+ 'description' => 'The policy for controlling frequent source connections that exceed limits.',
'type' => 'object',
'properties' => [
'Sblack' => [
- 'description' => 'The protection policy that a source IP address is added to the blacklist when the number of connections initiated from the IP address frequently exceeds the limit.'."\n",
+ 'description' => 'The policy for adding source IP addresses to the blacklist when source connections repeatedly exceed limits.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of the limit that causes a source IP address to be added to the blacklist. Valid values:'."\n"
- ."\n"
- .'* **1**: Source New Connection Rate Limit'."\n"
- .'* **2**: Source Concurrent Connection Rate Limit'."\n"
- .'* **3**: PPS Limit for Source'."\n"
- .'* **4**: Bandwidth Limit for Source'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'During' => [
- 'description' => 'The interval at which checks are performed. Set the value to **60**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Expires' => [
- 'description' => 'The validity period of the IP address in the blacklist. Valid values: **60** to **604800**. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '600',
- ],
- 'Cnt' => [
- 'description' => 'The threshold that the number of connections initiated from a source IP address can exceed the limit. Set the value to **5**. If the number of connections initiated from a source IP address exceeds the limit five times during the check, the source IP address is added to the blacklist.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'Type' => ['description' => 'The type of source IP blacklist configuration. Valid values:'."\n"
+ ."\n"
+ .'- **1**: source new connection throttling IP blacklist'."\n"
+ ."\n"
+ .'- **2**: source concurrent connection throttling IP blacklist'."\n"
+ ."\n"
+ .'- **3**: source PPS throttling IP blacklist'."\n"
+ ."\n"
+ .'- **4**: source bandwidth throttling IP blacklist', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'During' => ['description' => 'The health check interval. The value is fixed at **60**, in seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60'],
+ 'Expires' => ['description' => 'The validity period of the blacklist. Valid values: **60** to **604800**, in seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '600'],
+ 'Cnt' => ['description' => 'The number of times that source connections exceed the limit. The value is fixed at **5**, which indicates that if source connections exceed the limit 5 times within the health check interval, the source IP address is added to the blacklist.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F9F2F77D-307C-4F15-8D02-AB5957EEBF97\\",\\n \\"NetworkRuleAttributes\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"off\\",\\n \\"Synproxy\\": \\"off\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 1,\\n \\"Cps\\": 100000,\\n \\"Maxconn\\": 1000000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 0,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 0,\\n \\"CpsMode\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 0,\\n \\"Max\\": 6000\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 600,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeNetworkRuleAttributesResponse>\\r\\n\\t<NetworkRuleAttributes>\\r\\n\\t\\t<InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\r\\n\\t\\t<Config>\\r\\n\\t\\t\\t<NodataConn>off</NodataConn>\\r\\n\\t\\t\\t<Cc></Cc>\\r\\n\\t\\t\\t<PersistenceTimeout>0</PersistenceTimeout>\\r\\n\\t\\t\\t<PayloadLen>\\r\\n\\t\\t\\t\\t<Min>0</Min>\\r\\n\\t\\t\\t\\t<Max>6000</Max>\\r\\n\\t\\t\\t</PayloadLen>\\r\\n\\t\\t\\t<Sla>\\r\\n\\t\\t\\t\\t<Cps>100000</Cps>\\r\\n\\t\\t\\t\\t<CpsEnable>1</CpsEnable>\\r\\n\\t\\t\\t\\t<MaxconnEnable>0</MaxconnEnable>\\r\\n\\t\\t\\t\\t<Maxconn>1000000</Maxconn>\\r\\n\\t\\t\\t</Sla>\\r\\n\\t\\t\\t<Slimit>\\r\\n\\t\\t\\t\\t<CpsMode>1</CpsMode>\\r\\n\\t\\t\\t\\t<Pps>0</Pps>\\r\\n\\t\\t\\t\\t<Bps>0</Bps>\\r\\n\\t\\t\\t\\t<Cps>0</Cps>\\r\\n\\t\\t\\t\\t<CpsEnable>0</CpsEnable>\\r\\n\\t\\t\\t\\t<MaxconnEnable>0</MaxconnEnable>\\r\\n\\t\\t\\t\\t<Maxconn>0</Maxconn>\\r\\n\\t\\t\\t</Slimit>\\r\\n\\t\\t\\t<Synproxy>on</Synproxy>\\r\\n\\t\\t</Config>\\r\\n\\t\\t<FrontendPort>8080</FrontendPort>\\r\\n\\t\\t<Protocol>tcp</Protocol>\\r\\n\\t</NetworkRuleAttributes>\\r\\n\\t<RequestId>F9F2F77D-307C-4F15-8D02-AB5957EEBF97</RequestId>\\r\\n</DescribeNetworkRuleAttributesResponse>\\r\\n","errorExample":""}]',
- 'summary' => 'Queries the mitigation settings of the port forwarding rule for a non-website service. The mitigation settings include session persistence and DDoS mitigation policies.',
+ 'title' => 'DescribeNetworkRuleAttributes',
+ 'summary' => 'Queries the mitigation settings of port forwarding rules for non-website services, including session persistence and DDoS mitigation policies.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateSceneDefensePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRuleAttributes'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeNetworkRuleAttributes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F9F2F77D-307C-4F15-8D02-AB5957EEBF97\\",\\n \\"NetworkRuleAttributes\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"off\\",\\n \\"Synproxy\\": \\"off\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 1,\\n \\"Cps\\": 100000,\\n \\"Maxconn\\": 1000000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 0,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 0,\\n \\"CpsMode\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 0,\\n \\"Max\\": 6000\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 600,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeNetworkRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12788,127 +10685,41 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106071',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106162',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testpolicy',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'Template',
+ 'name' => 'ForwardProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => 'The template of the policy. Valid values:'."\n"
- ."\n"
- .'* **promotion**: important activity.'."\n"
- .'* **bypass**: all traffic forwarded.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'promotion',
- 'enum' => [
- 'promotion',
- ],
- ],
+ 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**'."\n"
+ ."\n"
+ .'- **udp**', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The start time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1585670400000',
- ],
+ 'schema' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1586016000000',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<CreateSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</CreateSceneDefensePolicyResponse>","errorExample":""}]',
- 'title' => 'CreateSceneDefensePolicy',
- 'summary' => 'Creates a scenario-specific custom policy.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteSceneDefensePolicy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106085',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the policy that you want to delete.'."\n"
- ."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '321a-fd31-df51-****',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -12916,40 +10727,89 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
+ 'TotalCount' => ['description' => 'The total number of returned port forwarding rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771', 'title' => ''],
+ 'NetworkRules' => [
+ 'description' => 'The details of the port forwarding rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FrontendPort' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
+ 'IsAutoCreate' => ['description' => 'Indicates whether the port forwarding rule is automatically created. Valid values:'."\n"
+ ."\n"
+ .'- **true**'."\n"
+ ."\n"
+ .'- **false**', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**'."\n"
+ ."\n"
+ .'- **udp**', 'type' => 'string', 'example' => 'tcp', 'title' => ''],
+ 'BackendPort' => ['description' => 'The port of the origin server.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
+ 'RealServers' => [
+ 'description' => 'The IP addresses of origin servers.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the origin server.', 'type' => 'string', 'example' => '112.139.XX.XX', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Remark' => ['description' => 'The remarks of the port forwarding rule.', 'type' => 'string', 'example' => '测试', 'title' => ''],
+ 'ProxyEnable' => ['description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n"
+ ."\n"
+ .'- 0: on.'."\n"
+ ."\n"
+ .'- 1: off.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'ProxyStatus' => ['description' => 'The status of traffic diversion. Valid values:'."\n"
+ ."\n"
+ .'- on: Traffic diversion takes effect.'."\n"
+ ."\n"
+ .'- off: Traffic diversion does not take effect.', 'type' => 'string', 'example' => 'on', 'title' => ''],
+ 'PayloadRuleEnable' => ['description' => 'Indicates whether the payload filtering rule is enabled. Valid values:'."\n"
+ ."\n"
+ .'- 1: enabled.'."\n"
+ ."\n"
+ .'- 0: disabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</DeleteSceneDefensePolicyResponse>","errorExample":""}]',
- 'title' => 'DeleteSceneDefensePolicy',
- 'summary' => 'Deletes a scenario-specific custom policy.',
+ 'title' => 'DescribeNetworkRules',
+ 'summary' => 'Queries port forwarding rules.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifySceneDefensePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-01-23T11:23:45.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRules'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"8597F235-FA5E-4FC7-BAD9-E4C0B01BC771\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 80,\\n \\"IsAutoCreate\\": true,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"BackendPort\\": 80,\\n \\"RealServers\\": [\\n \\"112.139.XX.XX\\"\\n ],\\n \\"Remark\\": \\"测试\\",\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeOpEntities' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12958,72 +10818,54 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106256',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106163',
+ 'abilityTreeNodes' => ['FEATUREddosHFA00W'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the policy that you want to modify.'."\n"
- ."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '321a-fd31-df51-****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'EntityType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the policy.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testpolicy',
- ],
+ 'schema' => ['description' => 'The type of the operation object that you want to query. Valid values:'."\n"
+ ."\n"
+ .'* **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
+ .'* **2**: Anti-DDoS plans'."\n"
+ .'* **3**: ECS instances'."\n"
+ .'* **4**: all logs'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Template',
+ 'name' => 'EntityObject',
'in' => 'query',
- 'schema' => [
- 'description' => 'The template of the policy. Valid values:'."\n"
- ."\n"
- .'* **promotion**: important activity.'."\n"
- .'* **bypass**: all traffic forwarded.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'promotion',
- 'enum' => [
- 'promotion',
- ],
- ],
+ 'schema' => ['description' => 'The operation object that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => '203.***.***.132', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1585670400000',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n"
+ ."\n"
+ .'> The time must be in the latest 30 days.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000000', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1586016000000',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n"
+ ."\n"
+ .'> The time must be in the latest 30 days.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200000', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -13031,39 +10873,138 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request is successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
+ 'TotalCount' => ['description' => 'The total number of returned operation records.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1', 'title' => ''],
+ 'OpEntities' => [
+ 'description' => 'The operation records.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The operation record.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EntityType' => ['description' => 'The type of the operation object. Valid values:'."\n"
+ ."\n"
+ .'* **1**: the IP address of the Anti-DDoS Proxy instance.'."\n"
+ .'* **2**: Anti-DDoS plans.'."\n"
+ .'* **3**: ECS instances.'."\n"
+ .'* **4**: all logs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EntityObject' => ['description' => 'The operation object.'."\n", 'type' => 'string', 'example' => '203.***.***.132', 'title' => ''],
+ 'GmtCreate' => ['description' => 'The time when the operation was performed. The value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1584451769000', 'title' => ''],
+ 'OpAction' => ['description' => 'The type of the operation. Valid values:'."\n"
+ ."\n"
+ .'* **1**: configuring burstable protection bandwidth.'."\n"
+ .'* **5**: using Anti-DDoS plans.'."\n"
+ .'* **8**: changing the IP addresses of ECS instances.'."\n"
+ .'* **9**: deactivating blackhole filtering.'."\n"
+ .'* **10**: configuring the near-origin traffic diversion feature.'."\n"
+ .'* **11**: clearing all logs.'."\n"
+ .'* **12**: downgrading the specifications of the Anti-DDoS Proxy instance. If the instance expires or the account has overdue payments, this operation is performed to downgrade the burstable protection bandwidth.'."\n"
+ .'* **13**: restoring the specifications of the Anti-DDoS Proxy instance. If the instance is renewed or you have paid the overdue payments within your account, this operation is performed to restore the burstable protection bandwidth.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''],
+ 'OpAccount' => ['description' => 'The ID of the Alibaba Cloud account that is used to perform the operation.'."\n", 'type' => 'string', 'example' => '128965410602****', 'title' => ''],
+ 'OpDesc' => ['description' => 'The details of the operation. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **newEntity**: the values of the parameters after the operation. This field is of the string type.'."\n"
+ .'* **oldEntity**: the values of the parameters before the operation. This field is of the string type.'."\n"
+ ."\n"
+ .'Both **newEntity** and **oldEntity** are JSON strings. The returned parameters vary based on **OpAction**.'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **1**, **12**, or **13**, the following parameter is returned:'."\n"
+ ."\n"
+ .'* **elasticBandwidth**: the burstable protection bandwidth. This parameter is of the integer type. Unit: Gbit/s.'."\n"
+ ."\n"
+ .' Example: `{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **5**, the following parameters are returned:'."\n"
+ ."\n"
+ .'* **bandwidth**: the burstable protection bandwidth. The parameter is of the integer type. Unit: Gbit/s.'."\n"
+ ."\n"
+ .'* **count**: the number of Anti-DDoS plans. This parameter is of the integer type.'."\n"
+ ."\n"
+ .'* **deductCount**: the number of used Anti-DDoS plans. This parameter is of the integer type.'."\n"
+ ."\n"
+ .'* **expireTime**: the expiration time of the Anti-DDoS plans. This parameter is of the long type. The value is a UNIX timestamp. Units: milliseconds.'."\n"
+ ."\n"
+ .'* **instanceId**: the ID of the Anti-DDoS Proxy instance. This parameter is of the string type.'."\n"
+ ."\n"
+ .'* **peakFlow**: the peak throughput on the Anti-DDoS Proxy instance. This parameter is of the integer type. Unit: bit/s.'."\n"
+ ."\n"
+ .' Example: `{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **8**, the following parameter is returned:'."\n"
+ ."\n"
+ .'* **instanceId**: the IDs of the ECS instances whose IP addresses are changed. This parameter is of the string type.'."\n"
+ ."\n"
+ .' Example: `{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}`'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **9**, the following parameter is returned:'."\n"
+ ."\n"
+ .'* **actionMethod**: the operation method. This parameter is of the string type. Valid value: **undo**, which indicates that you deactivated blackhole filtering.'."\n"
+ ."\n"
+ .' Example: `{"newEntity":{"actionMethod":"undo"}}`'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **10**, the following parameters are returned:'."\n"
+ ."\n"
+ .'* **actionMethod**: the operation method. This parameter is of the string type. Valid values:'."\n"
+ ."\n"
+ .' * **do**: The near-origin traffic diversion feature is enabled.'."\n"
+ .' * **undo**: The near-origin traffic diversion feature is disabled.'."\n"
+ ."\n"
+ .'* **lines**: the Internet service provider (ISP) line from which the traffic is blocked. This parameter is of the array type. Valid values:'."\n"
+ ."\n"
+ .' * **ct**: China Telecom (International).'."\n"
+ .' * **cut**: China Unicom (International).'."\n"
+ ."\n"
+ .' Example: `{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n"
+ ."\n"
+ .'If the value of **OpAction** is **11**, no parameter is returned, and the description is empty.'."\n", 'type' => 'string', 'example' => '{"newEntity":{"actionMethod":"undo"}}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifySceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</ModifySceneDefensePolicyResponse>","errorExample":""}]',
- 'title' => 'ModifySceneDefensePolicy',
- 'summary' => 'Modifies a scenario-specific custom policy.',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeOpEntitiesResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>FB24D70C-71F5-4000-8CD8-22CDA0C53CD1</RequestId>\\r\\n\\t<OpEntities>\\r\\n\\t\\t<EntityType>1</EntityType>\\r\\n\\t\\t<GmtCreate>1584451769000</GmtCreate>\\r\\n\\t\\t<OpAccount>128965410602****</OpAccount>\\r\\n\\t\\t<OpDesc>\\r\\n\\t\\t\\t<newEntity>\\r\\n\\t\\t\\t\\t<actionMethod>undo</actionMethod>\\r\\n\\t\\t\\t</newEntity>\\r\\n\\t\\t</OpDesc>\\r\\n\\t\\t<OpAction>9</OpAction>\\r\\n\\t\\t<EntityObject>203.***.***.132</EntityObject>\\r\\n\\t</OpEntities>\\r\\n</DescribeOpEntitiesResponse>","errorExample":""}]',
+ 'title' => 'DescribeOpEntities',
+ 'summary' => 'Queries the operation logs of Anti-DDoS Proxy (Chinese Mainland).',
+ 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n"
+ ."\n"
+ .'You can query operations performed on Anti-DDoS Proxy (Chinese Mainland), such as configuring the burstable protection bandwidth, deactivating blackhole filtering, configuring the near-origin traffic diversion feature, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.'."\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AttachSceneDefenseObject' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOpEntities'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeOpEntities',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePort' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13072,44 +11013,47 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106050',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106164',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the instance to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''],
+ ],
+ [
+ 'name' => 'FrontendProtocol',
'in' => 'query',
'schema' => [
- 'description' => 'The ID of the policy.'."\n"
+ 'description' => 'The type of the forwarding protocol to query. Valid values:'."\n"
."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
+ .'* **tcp**'."\n"
+ .'* **udp**'."\n",
'type' => 'string',
- 'required' => true,
- 'example' => '321a-fd31-df51-****',
+ 'required' => false,
+ 'example' => 'tcp',
+ 'enum' => ['tcp', 'udp'],
+ 'title' => '',
],
],
[
- 'name' => 'ObjectType',
+ 'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Domain',
- ],
+ 'schema' => ['description' => 'The forwarding port to query. Valid values: **0** to **65535**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '55', 'title' => ''],
],
[
- 'name' => 'Objects',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The object that you want to add to the policy. Separate multiple objects with commas (,).'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The page number. For example, if you want to obtain results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -13117,40 +11061,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
+ 'TotalCount' => ['description' => 'The number of port forwarding rules returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
+ 'NetworkRules' => [
+ 'description' => 'An array that consists of port forwarding rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''],
+ 'IsAutoCreate' => ['description' => 'Indicates whether the port forwarding rule is automatically created by the instance. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the instance to which the port forwarding rule is applied.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''],
+ 'FrontendProtocol' => ['description' => 'The type of the protocol. Valid values:'."\n"
+ ."\n"
+ .'* **tcp**'."\n"
+ .'* **udp**'."\n", 'type' => 'string', 'example' => 'tcp', 'title' => ''],
+ 'BackendPort' => ['description' => 'The port of the origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''],
+ 'RealServers' => [
+ 'description' => 'An array that consists of IP addresses of origin servers.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'example' => '1.XX.XX.1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<AttachSceneDefenseObjectResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</AttachSceneDefenseObjectResponse>","errorExample":""}]',
- 'title' => 'AttachSceneDefenseObject',
- 'summary' => 'Adds an object to a scenario-specific custom policy for protection.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DetachSceneDefenseObject' => [
- 'summary' => 'Removes a protected object from a scenario-specific custom policy.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 55,\\n \\"IsAutoCreate\\": false,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\",\\n \\"FrontendProtocol\\": \\"tcp\\",\\n \\"BackendPort\\": 55,\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePort',
+ 'summary' => 'Queries the port forwarding rules that are created for an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePort'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePortAttackMaxFlow' => [
+ 'summary' => 'Queries the peak attack traffic bandwidth and peak attack traffic packet rates of one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13159,46 +11144,48 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106212',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeCode' => '106165',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the policy.'."\n"
- ."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '321a-fd31-df51-****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'ObjectType',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Domain',
- 'default' => 'Domain',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'Objects',
+ 'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).'."\n",
- 'type' => 'string',
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
'required' => true,
- 'example' => 'www.aliyun.com',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13207,38 +11194,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'Bps' => ['description' => 'The peak bandwidth of attack traffic. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '149559', 'title' => ''],
+ 'Pps' => ['description' => 'The peak packet rate of attack traffic . Unit: packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DetachSceneDefenseObjectResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</DetachSceneDefenseObjectResponse>","errorExample":""}]',
- 'title' => 'DetachSceneDefenseObject',
- 'requestParamsDescription' => ' ',
+ 'title' => 'DescribePortAttackMaxFlow',
+ 'description' => 'You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.',
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'EnableSceneDefensePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAttackMaxFlow'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortAttackMaxFlow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Bps\\": 149559,\\n \\"Pps\\": 23\\n}","type":"json"}]',
+ ],
+ 'DescribePortAutoCcStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13247,23 +11249,25 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106220',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106166',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the policy that you want to enable.'."\n"
+ 'description' => 'The ID of the instance.'."\n"
."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '321a-fd31-df51-****',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13272,39 +11276,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85', 'title' => ''],
+ 'PortAutoCcStatus' => [
+ 'description' => 'An array that consists of the configurations of the Intelligent Protection policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Switch' => ['description' => 'The status of the Intelligent Protection policy. Valid values:'."\n"
+ ."\n"
+ .'* **on**: enabled'."\n"
+ .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'on', 'title' => ''],
+ 'Mode' => ['description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n"
+ ."\n"
+ .'* **normal**'."\n"
+ .'* **loose**'."\n"
+ .'* **strict**'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''],
+ 'WebSwitch' => ['description' => 'The status of the Intelligent Protection policy for ports 80 and 443. Valid values:'."\n"
+ ."\n"
+ .'* **on**: enabled'."\n"
+ .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'off', 'title' => ''],
+ 'WebMode' => ['description' => 'The protection mode for ports 80 and 443. Valid values:'."\n"
+ ."\n"
+ .'* **normal**'."\n"
+ .'* **loose**'."\n"
+ .'* **strict**'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EnableSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</EnableSceneDefensePolicyResponse>","errorExample":""}]',
- 'title' => 'EnableSceneDefensePolicy',
- 'summary' => 'Enables a scenario-specific custom policy.',
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePortAutoCcStatusResponse>\\r\\n\\t<RequestId>BC3C6403-F248-4125-B2C9-8733ED94EA85</RequestId>\\r\\n\\t<PortAutoCcStatus>\\r\\n\\t\\t<WebSwitch>off</WebSwitch>\\r\\n\\t\\t<Switch>on</Switch>\\r\\n\\t\\t<WebMode>normal</WebMode>\\r\\n\\t\\t<Mode>normal</Mode>\\r\\n\\t</PortAutoCcStatus>\\r\\n</DescribePortAutoCcStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribePortAutoCcStatus',
+ 'summary' => 'Queries the configurations of the Intelligent Protection policy for non-website services.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DisableSceneDefensePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePortConnsCount' => [
+ 'summary' => 'The statistics on the connections established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances are queried.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13313,23 +11356,51 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106213',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106173',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'Port',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the policy that you want to disable.'."\n"
+ 'description' => 'An array that consists of the IDs of instances.'."\n"
."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '321a-fd31-df51-****',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13338,39 +11409,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
- ],
+ 'InActConns' => ['description' => 'The number of inactive connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '121', 'title' => ''],
+ 'ActConns' => ['description' => 'The number of active connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '159', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', 'title' => ''],
+ 'Cps' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Conns' => ['description' => 'The number of concurrent connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '46340', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</DisableSceneDefensePolicyResponse>","errorExample":""}]',
- 'title' => 'DisableSceneDefensePolicy',
- 'summary' => 'Disables a scenario-specific custom policy.',
- 'requestParamsDescription' => ' ',
+ 'title' => 'DescribePortConnsCount',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSceneDefensePolicies' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsCount'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortConnsCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InActConns\\": 121,\\n \\"ActConns\\": 159,\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\",\\n \\"Cps\\": 0,\\n \\"Conns\\": 46340\\n}","type":"json"}]',
+ ],
+ 'DescribePortConnsList' => [
+ 'summary' => 'Queries the connections established over the ports of one or more Anti-DDoS Proxy instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13380,51 +11460,57 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106183',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106174',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'Template',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the template that is used to create the policy. Valid values:'."\n"
- ."\n"
- .'* **promotion**: the Important Activity template'."\n"
- .'* **bypass**: the Forward All template'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'promotion',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Status',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status of the policy. Valid values:'."\n"
- ."\n"
- .'* **0**: disabled'."\n"
- .'* **1**: pending enabling'."\n"
- .'* **2**: enabled'."\n"
- .'* **3**: expired'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'Interval',
'in' => 'query',
+ 'schema' => ['description' => 'The interval for returning data. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000', 'title' => ''],
+ ],
+ [
+ 'name' => 'Port',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ 'description' => 'The ID of the instance.'."\n"
."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ 'required' => true,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13433,162 +11519,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D',
- ],
- 'Policies' => [
- 'description' => 'An array that consists of the configurations of the scenario-specific custom policy.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', 'title' => ''],
+ 'ConnsList' => [
+ 'description' => 'Details about the connections established over the port.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Done' => [
- 'description' => 'The execution status of the policy. Valid values:'."\n"
- ."\n"
- .'* **1**: not executed or execution completed'."\n"
- .'* **0**: being executed'."\n"
- .'* **-1**: execution failed'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'EndTime' => [
- 'description' => 'The time at which the policy expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1586016000000',
- ],
- 'Status' => [
- 'description' => 'The status of the policy. Valid values:'."\n"
- ."\n"
- .'* **0**: disabled'."\n"
- .'* **1**: pending enabling'."\n"
- .'* **2**: enabled'."\n"
- .'* **3**: expired'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => 'The time at which the policy takes effect. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1585670400000',
- ],
- 'ObjectCount' => [
- 'description' => 'The number of objects that are protected by the policy.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Template' => [
- 'description' => 'The type of the template that is used to create the policy. Valid values:'."\n"
- ."\n"
- .'* **promotion**: the Important Activity template'."\n"
- .'* **bypass**: the Forward All template'."\n",
- 'type' => 'string',
- 'example' => 'promotion',
- ],
- 'PolicyId' => [
- 'description' => 'The ID of the policy.'."\n",
- 'type' => 'string',
- 'example' => '321a-fd31-df51-****',
- ],
- 'Name' => [
- 'description' => 'The name of the policy.'."\n",
- 'type' => 'string',
- 'example' => 'testpolicy',
- ],
- 'RuntimePolicies' => [
- 'description' => 'The running rules of the policy.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The running status of the policy. Valid values:'."\n"
- ."\n"
- .'* **0**: The policy has not been issued or is restored.'."\n"
- .'* **1**: The policy is pending.'."\n"
- .'* **2**: The policy is being restored.'."\n"
- .'* **3**: The policy takes effect.'."\n"
- .'* **4**: The policy fails to take effect.'."\n"
- .'* **5**:The policy fails to be restored.'."\n"
- .'* **6**: The configurations of the protected objects for the policy does not exist because the configurations may be deleted.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'oldValue' => [
- 'description' => 'The protection rule that is applied before the policy takes effect.'."\n"
- ."\n"
- .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": true}**. The value indicates that the Frequency Control policy is enabled.'."\n"
- ."\n"
- .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 1}**. The value indicates that the Intelligent Protection policy is enabled.'."\n",
- 'type' => 'string',
- 'example' => '{"cc_rule_enable": true}',
- ],
- 'NewValue' => [
- 'description' => 'The protection rule that is applied when the policy takes effect.'."\n"
- ."\n"
- .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": false }**. The value indicates that the Frequency Control policy is disabled.'."\n"
- ."\n"
- .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 0}**. The value indicates that the Intelligent Protection policy is disabled.'."\n",
- 'type' => 'string',
- 'example' => '{"cc_rule_enable": false }',
- ],
- 'PolicyType' => [
- 'description' => 'The protection policy whose status is changed when the policy takes effect. Valid values:'."\n"
- ."\n"
- .'* **1**: indicates that the Frequency Control policy is changed.'."\n"
- .'* **2**: indicates that the Intelligent Protection policy is changed.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
- ],
- ],
+ 'ActConns' => ['description' => 'The number of active connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''],
+ 'InActConns' => ['description' => 'The number of inactive connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => '16506', 'title' => ''],
+ 'Cps' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Conns' => ['description' => '> This parameter is in internal preview. Do not use this parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeSceneDefensePoliciesResponse>\\n <Success>true</Success>\\n <RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\n <Policies>\\n <Done>1</Done>\\n <EndTime>1586016000000</EndTime>\\n <Status>1</Status>\\n <StartTime>1585670400000</StartTime>\\n <ObjectCount>1</ObjectCount>\\n <Template>promotion</Template>\\n <PolicyId>321a-fd31-df51-****</PolicyId>\\n <Name>testpolicy</Name>\\n <RuntimePolicies>\\n <Status>3</Status>\\n <oldValue>{\\"cc_rule_enable\\": true}</oldValue>\\n <NewValue>{\\"cc_rule_enable\\": false }</NewValue>\\n <PolicyType>1</PolicyType>\\n </RuntimePolicies>\\n </Policies>\\n</DescribeSceneDefensePoliciesResponse>","errorExample":""}]',
- 'title' => 'DescribeSceneDefensePolicies',
- 'summary' => 'Queries the configurations of a scenario-specific custom policy.',
- 'description' => 'You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'title' => 'DescribePortConnsList',
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSceneDefenseObjects' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-04-27T09:19:38.000Z', 'description' => 'Response parameters changed, Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortConnsList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\",\\n \\"ConnsList\\": [\\n {\\n \\"ActConns\\": 3,\\n \\"InActConns\\": 2,\\n \\"Index\\": 16506,\\n \\"Cps\\": 0,\\n \\"Conns\\": 8\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePortFlowList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13598,34 +11587,62 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106182',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'abilityTreeCode' => '106175',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the policy that you want to query.'."\n"
- ."\n"
- .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp in seconds.'."\n"
+ ."\n"
+ .'> You must set this parameter to a time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200'],
+ ],
+ [
+ 'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp in seconds.'."\n"
+ ."\n"
+ .'> You must set this parameter to a time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The step size of the returned data, in seconds. This parameter specifies the interval at which a result is returned. The valid values of the step size vary based on the query time range (specified by **StartTime** and **EndTime**). The following step sizes are recommended:'."\n"
+ ."\n"
+ .'- If the query time range is less than or equal to 1 hour, we recommend that you set the step size to a minimum of 60 seconds. The maximum step size cannot exceed the query time range.'."\n"
+ ."\n"
+ .'- If the query time range is greater than 1 hour but less than or equal to 6 hours, we recommend that you set the step size to a minimum of 600 seconds. The maximum step size cannot exceed the query time range.'."\n"
+ ."\n"
+ .'- If the query time range is greater than 6 hours but less than or equal to 24 hours, we recommend that you set the step size to a minimum of 1800 seconds. The maximum step size cannot exceed the query time range.'."\n"
+ ."\n"
+ .'- If the query time range is greater than 24 hours but less than or equal to 7 days, we recommend that you set the step size to a minimum of 3600 seconds. The maximum step size cannot exceed the query time range.'."\n"
+ ."\n"
+ .'- If the query time range is greater than 7 days but less than or equal to 15 days, we recommend that you set the step size to a minimum of 14400 seconds. The maximum step size cannot exceed the query time range.'."\n"
+ ."\n"
+ .'- If the query time range is greater than 15 days, we recommend that you set the step size to a minimum of 43200 seconds. The maximum step size cannot exceed the query time range.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1000'],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ 'description' => 'The ID of the Anti-DDoS instance.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.'."\n"
."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-zz120cjv****'],
+ 'required' => true,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13634,73 +11651,89 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8',
- ],
- 'Objects' => [
- 'description' => 'The information about the protected assets.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B'],
+ 'PortFlowList' => [
+ 'description' => 'The traffic data that is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => 'The domain name that is protected by the policy.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyundoc.com',
- ],
- 'PolicyId' => [
- 'description' => 'The ID of the policy.'."\n",
- 'type' => 'string',
- 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****',
- ],
- 'Vip' => [
- 'description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance that is protected by the policy.'."\n",
- 'type' => 'string',
- 'example' => '203.XX.XX.119',
- ],
+ 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'Time' => ['description' => 'The time when the statistics were collected. This value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000'],
+ 'InPps' => ['description' => 'The inbound packet forwarding rate, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2934'],
+ 'InBps' => ['description' => 'The inbound bandwidth, in bits per second (bps).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2176000'],
+ 'Region' => ['description' => 'The source location of the traffic. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: the Chinese mainland.'."\n"
+ ."\n"
+ .'- **alb-ap-northeast-1-gf-x**: Japan.'."\n"
+ ."\n"
+ .'- **alb-ap-southeast-gf-x**: Singapore.'."\n"
+ ."\n"
+ .'- **alb-cn-hongkong-gf-x**: Hong Kong (China).'."\n"
+ ."\n"
+ .'- **alb-eu-central-1-gf-x**: Germany.'."\n"
+ ."\n"
+ .'- **alb-us-west-1-gf-x**: US (West).'."\n"
+ ."\n"
+ .'> Values other than **cn** are available only for Anti-DDoS Proxy (Outside Chinese Mainland) (**RegionId** is **ap-southeast-1**).', 'type' => 'string', 'title' => '', 'example' => 'cn'],
+ 'OutPps' => ['description' => 'The outbound packet forwarding rate, in pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5'],
+ 'AttackPps' => ['description' => 'The attack packet forwarding rate, in pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'OutBps' => ['description' => 'The outbound bandwidth, in bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4389'],
+ 'AttackBps' => ['description' => 'The attack bandwidth, in bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
+ 'SlaBpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination bandwidth, in bps.', 'title' => '', 'example' => '0'],
+ 'SlaPpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination message, in bps.', 'title' => '', 'example' => '0'],
+ 'SlaCpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination new connections, in bps.', 'title' => '', 'example' => '0'],
+ 'SlaConnDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination concurrent connections, in bps.', 'title' => '', 'example' => '0'],
+ 'SlaBpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination bandwidth packet forwarding rate, in pps.', 'title' => '', 'example' => '0'],
+ 'SlaPpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination message packet forwarding rate, in pps.', 'title' => '', 'example' => '0'],
+ 'SlaCpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination new connections packet forwarding rate, in pps.', 'title' => '', 'example' => '0'],
+ 'SlaConnDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination concurrent connections packet forwarding rate, in pps.', 'title' => '', 'example' => '0'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeSceneDefenseObjectsResponse>\\n <Success>true</Success>\\n <RequestId>FE07E73F-F19E-4A51-B62F-AC59E3B962D8</RequestId>\\n <Objects>\\n <Domain>www.aliyundoc.com</Domain>\\n <PolicyId>47e07ebd-0ba5-4afc-957b-59d15b90****</PolicyId>\\n </Objects>\\n</DescribeSceneDefenseObjectsResponse>","errorExample":""}]',
- 'title' => 'DescribeSceneDefenseObjects',
- 'summary' => 'Queries the protected objects of a scenario-specific custom policy.',
- 'description' => 'You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.'."\n"
- ."\n"
- .'Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteWebCacheCustomRule' => [
- 'summary' => 'Deletes the custom rules of the Static Page Caching policy for a website.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"PortFlowList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"InPps\\": 2934,\\n \\"InBps\\": 2176000,\\n \\"Region\\": \\"cn\\",\\n \\"OutPps\\": 5,\\n \\"AttackPps\\": 0,\\n \\"OutBps\\": 4389,\\n \\"AttackBps\\": 0,\\n \\"SlaBpsDropBps\\": 0,\\n \\"SlaPpsDropBps\\": 0,\\n \\"SlaCpsDropBps\\": 0,\\n \\"SlaConnDropBps\\": 0,\\n \\"SlaBpsDropPps\\": 0,\\n \\"SlaPpsDropPps\\": 0,\\n \\"SlaCpsDropPps\\": 0,\\n \\"SlaConnDropPps\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePortFlowList',
+ 'summary' => 'Queries the traffic data list of an Anti-DDoS Proxy instance.',
+ 'changeSet' => [
+ ['createdAt' => '2023-05-24T06:10:01.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-04-18T10:15:59.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortFlowList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortFlowList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePortMaxConns' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13709,55 +11742,44 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106088',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106176',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name for which you want to delete the custom rules of the Static Page Caching policy.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'RuleNames',
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array consisting of the names of the rules that you want to delete.'."\n",
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rule that you want to delete.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doc-test-rule',
- ],
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.'."\n", 'type' => 'string', 'required' => false, 'example' => ' ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => 'test',
- 'maxItems' => 10,
+ 'example' => ' ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13766,37 +11788,61 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C', 'title' => ''],
+ 'PortMaxConns' => [
+ 'description' => 'The details of the maximum number of connections that can be established over a port of the instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Ip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.***.***.117', 'title' => ''],
+ 'Port' => ['description' => 'The port of the instance.'."\n", 'type' => 'string', 'example' => '80', 'title' => ''],
+ 'Cps' => ['description' => 'The maximum number of connections per second (CPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteWebCacheCustomRuleResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n</DeleteWebCacheCustomRuleResponse>","errorExample":""}]',
- 'title' => 'DeleteWebCacheCustomRule',
- 'description' => 'You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePortMaxConnsResponse>\\r\\n\\t<PortMaxConns>\\r\\n\\t\\t<Port>80</Port>\\r\\n\\t\\t<Ip>203.***.***.117</Ip>\\r\\n\\t\\t<Cps>0</Cps>\\r\\n\\t</PortMaxConns>\\r\\n\\t<PortMaxConns>\\r\\n\\t\\t<Port>443</Port>\\r\\n\\t\\t<Ip>203.***.***.117</Ip>\\r\\n\\t\\t<Cps>0</Cps>\\r\\n\\t</PortMaxConns>\\r\\n\\t<RequestId>08F79110-2AF5-4FA7-998E-7C5E75EACF9C</RequestId>\\r\\n</DescribePortMaxConnsResponse>","errorExample":""}]',
+ 'title' => 'DescribePortMaxConns',
+ 'summary' => 'Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyWebCacheSwitch' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortMaxConns'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortMaxConns',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribePortViewSourceCountries' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13805,49 +11851,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106266',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106178',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'Enable',
+ 'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:'."\n"
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
."\n"
- .'* **1**: enables the policy.'."\n"
- .'* **0**: disables the policy.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '1',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13856,38 +11899,60 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'SourceCountrys' => [
+ 'description' => 'The details about the country or area from which the requests are sent.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => ['description' => 'The number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ 'CountryId' => ['description' => 'The abbreviation of the country or area. For example, **cn** indicates China and **us** indicates the United States.'."\n"
+ ."\n"
+ .'> For more information, see [Location parameters](~~167926~~).'."\n", 'type' => 'string', 'example' => 'cn', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebCacheSwitchResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n</ModifyWebCacheSwitchResponse>","errorExample":""}]',
- 'title' => 'ModifyWebCacheSwitch',
- 'summary' => 'Enables or disables the Static Page Caching policy for a website.',
- 'description' => 'You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyWebCacheMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePortViewSourceCountries',
+ 'summary' => 'Queries the areas and countries from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceCountries'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePortViewSourceIsps' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13896,47 +11961,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106265',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106179',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'Mode',
+ 'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The cache mode of the Static Page Caching policy. Valid values:'."\n"
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
."\n"
- .'* **standard**: uses the standard cache mode.'."\n"
- .'* **aggressive**: uses the enhanced cache mode.'."\n"
- .'* **bypass**: caches no data.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''],
'required' => true,
- 'example' => 'standard',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -13945,31 +12009,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'Isps' => [
+ 'description' => 'An array that consists of the details of the ISP.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => ['description' => 'The total number of requests that are sent from the ISP.'."\n"
+ ."\n"
+ .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different ISPs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ 'IspId' => ['description' => 'The ID of the ISP. For more information, see the ISP codes table.'."\n", 'type' => 'string', 'example' => '100017', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebCacheModeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebCacheModeResponse>","errorExample":""}]',
- 'title' => 'ModifyWebCacheMode',
- 'summary' => 'Changes the cache mode of the Static Page Caching policy for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Isps\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"IspId\\": \\"100017\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribePortViewSourceIspsResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <Isps>\\n <Count>3390671</Count>\\n <IspId>100017</IspId>\\n </Isps>\\n</DescribePortViewSourceIspsResponse>","errorExample":""}]',
+ 'title' => 'DescribePortViewSourceIsps',
+ 'summary' => 'Queries the Internet service providers (ISPs) from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.',
+ 'description' => 'You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n"
+ ."\n"
+ .'> The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseParamsDescription' => '**ISP codes**'."\n"
+ ."\n"
+ .'|Code|ISP|'."\n"
+ .'|---|---|'."\n"
+ .'|100017|China Telecom|'."\n"
+ .'|100026|China Unicom|'."\n"
+ .'|100025|China Mobile|'."\n"
+ .'|100027|China Education and Research Network (CERNET)|'."\n"
+ .'|100020|China Mobile Tietong|'."\n"
+ .'|1000143|Dr.Peng Group|'."\n"
+ .'|100080|Beijing Gehua CATV|'."\n"
+ .'|1000139|National Radio and Television Administration (NRTA)|'."\n"
+ .'|100023|Oriental Cable Network|'."\n"
+ .'|100063|Founder Broadband|'."\n"
+ .'|1000337|China Internet Exchange (CNIX)|'."\n"
+ .'|100021|21Vianet Group|'."\n"
+ .'|1000333|Wasu Media Holding|'."\n"
+ .'|100093|Wangsu Science &#x26; Technology|'."\n"
+ .'|1000401|Tencent|'."\n"
+ .'|100099|Baidu|'."\n"
+ .'|1000323|Alibaba Cloud|'."\n"
+ .'|100098|Alibaba Group|'."\n"
+ .'|1000120|KNET|',
'extraInfo' => ' ',
- ],
- 'ModifyWebCacheCustomRule' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribePortViewSourceProvinces' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13978,55 +12105,46 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '106264',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106180',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not configure this parameter, the current system time is used as the end time.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200', 'title' => ''],
],
[
- 'name' => 'Rules',
+ 'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The details of the custom rule. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **Name**: the name of the rule. This field is required and must be of the string type.'."\n"
- ."\n"
- .'* **Uri**: the path to the cached page. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'* **Mode**: the cache mode. This field is required and must be of the STRING type. Valid values:'."\n"
- ."\n"
- .' * **standard**: uses the standard mode.'."\n"
- .' * **aggressive**: uses the enhanced mode.'."\n"
- .' * **bypass**: No data is cached.'."\n"
+ 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
."\n"
- .'* **CacheTtl**: the expiration time of the page cache. This field is required and must be of the INTEGER type. Unit: seconds.'."\n",
- 'type' => 'string',
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -14035,31 +12153,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'SourceProvinces' => [
+ 'description' => 'The details of the administrative region in China from which the requests are sent.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProvinceId' => ['description' => 'The ID of the administrative region in China from which the requests are sent. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n"
+ ."\n"
+ .'> For more information, see [Location parameters](~~167926~~).'."\n", 'type' => 'string', 'example' => '440000', 'title' => ''],
+ 'Count' => ['description' => 'The total number of requests that are sent from the ISP.'."\n"
+ ."\n"
+ .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different administrative regions in China.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebCacheCustomRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebCacheCustomRuleResponse>","errorExample":""}]',
- 'title' => 'ModifyWebCacheCustomRule',
- 'summary' => 'Modifies the custom rule of the Static Page Caching policy for a website.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeWebCacheConfigs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePortViewSourceProvinces',
+ 'summary' => 'Queries the administrative regions in China from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceProvinces'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortViewSourceProvinces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSceneDefenseObjects' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14069,43 +12218,23 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106203',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeCode' => '106182',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the policy that you want to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', 'title' => ''],
],
[
- 'name' => 'Domains',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of domain names for which you want to query the Static Page Caching configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The domain name for which you want to query the Static Page Caching configurations.'."\n"
- ."\n"
- .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyundoc.com',
- ],
- 'required' => true,
- 'example' => 'www.aliyun.com',
- 'maxItems' => 5,
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
],
'responses' => [
@@ -14113,85 +12242,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
- ],
- 'DomainCacheConfigs' => [
- 'description' => 'An array that consists of Static Page Caching configurations.'."\n",
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8', 'title' => ''],
+ 'Objects' => [
+ 'description' => 'The information about the protected assets.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyundoc.com',
- ],
- 'Mode' => [
- 'description' => 'The cache mode. Valid values:'."\n"
- ."\n"
- .'* **standard**: The standard cache mode is used.'."\n"
- .'* **aggressive**: The enhanced cache mode is used.'."\n"
- .'* **bypass**: No data is cached.'."\n",
- 'type' => 'string',
- 'example' => 'bypass',
- ],
- 'Enable' => [
- 'description' => 'The status of the Static Page Caching policy. Valid values:'."\n"
- ."\n"
- .'* **1**: enabled'."\n"
- .'* **0**: disabled'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CustomRules' => [
- 'description' => 'An array that consists of custom caching rules.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Mode' => [
- 'description' => 'The cache mode. Valid values:'."\n"
- ."\n"
- .'* **standard**: The standard cache mode is used.'."\n"
- .'* **aggressive**: The enhanced cache mode is used.'."\n"
- .'* **bypass**: No data is cached.'."\n",
- 'type' => 'string',
- 'example' => 'standard',
- ],
- 'CacheTtl' => [
- 'description' => 'The expiration time of the page cache. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '86400',
- ],
- 'Name' => [
- 'description' => 'The name of the rule.'."\n",
- 'type' => 'string',
- 'example' => 'c1',
- ],
- 'Uri' => [
- 'description' => 'The path to the cached page.'."\n",
- 'type' => 'string',
- 'example' => '/blog/',
- ],
- ],
- ],
- ],
+ 'Domain' => ['description' => 'The domain name that is protected by the policy.'."\n", 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''],
+ 'PolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'string', 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', 'title' => ''],
+ 'Vip' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance that is protected by the policy.'."\n", 'type' => 'string', 'example' => '203.XX.XX.119', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeWebCacheConfigsResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <DomainCacheConfigs>\\n <Domain>www.aliyundoc.com</Domain>\\n <Mode>bypass</Mode>\\n <Enable>1</Enable>\\n <CustomRules>\\n <Mode>standard</Mode>\\n <CacheTtl>86400</CacheTtl>\\n <Name>c1</Name>\\n <Uri>/blog/</Uri>\\n </CustomRules>\\n </DomainCacheConfigs>\\n</DescribeWebCacheConfigsResponse>","errorExample":""}]',
- 'title' => 'DescribeWebCacheConfigs',
- 'summary' => 'Queries the Static Page Caching configuration of websites.',
- 'description' => 'You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.'."\n"
+ '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":"<DescribeSceneDefenseObjectsResponse>\\n <Success>true</Success>\\n <RequestId>FE07E73F-F19E-4A51-B62F-AC59E3B962D8</RequestId>\\n <Objects>\\n <Domain>www.aliyundoc.com</Domain>\\n <PolicyId>47e07ebd-0ba5-4afc-957b-59d15b90****</PolicyId>\\n </Objects>\\n</DescribeSceneDefenseObjectsResponse>","errorExample":""}]',
+ 'title' => 'DescribeSceneDefenseObjects',
+ 'summary' => 'Queries the protected objects of a scenario-specific custom policy.',
+ 'description' => 'You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.'."\n"
+ ."\n"
+ .'Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.'."\n"
."\n"
.'### Limits'."\n"
."\n"
@@ -14201,16 +12286,31 @@
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDosEventMax' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
],
- '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSceneDefensePolicies' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14220,40 +12320,35 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106113',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106183',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'Template',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1598889600',
- ],
+ 'schema' => ['description' => 'The type of the template that is used to create the policy. Valid values:'."\n"
+ ."\n"
+ .'* **promotion**: the Important Activity template'."\n"
+ .'* **bypass**: the Forward All template'."\n", 'type' => 'string', 'required' => false, 'example' => 'promotion', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1604073600',
- ],
+ 'schema' => ['description' => 'The status of the policy. Valid values:'."\n"
+ ."\n"
+ .'* **0**: disabled'."\n"
+ .'* **1**: pending enabling'."\n"
+ .'* **2**: enabled'."\n"
+ .'* **3**: expired'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
],
'responses' => [
@@ -14261,51 +12356,127 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Qps' => [
- 'description' => 'The peak of resource exhaustion attacks. Unit: queries per second (QPS).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '26314',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF',
- ],
- 'Cps' => [
- 'description' => 'The peak of connection flood attacks. Unit: connections per seconds (CPS).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1302',
- ],
- 'Mbps' => [
- 'description' => 'The peak of volumetric attacks. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6809',
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
+ 'Policies' => [
+ 'description' => 'An array that consists of the configurations of the scenario-specific custom policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Done' => ['description' => 'The execution status of the policy. Valid values:'."\n"
+ ."\n"
+ .'* **1**: not executed or execution completed'."\n"
+ .'* **0**: being executed'."\n"
+ .'* **-1**: execution failed'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EndTime' => ['description' => 'The time at which the policy expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1586016000000', 'title' => ''],
+ 'Status' => ['description' => 'The status of the policy. Valid values:'."\n"
+ ."\n"
+ .'* **0**: disabled'."\n"
+ .'* **1**: pending enabling'."\n"
+ .'* **2**: enabled'."\n"
+ .'* **3**: expired'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'StartTime' => ['description' => 'The time at which the policy takes effect. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1585670400000', 'title' => ''],
+ 'ObjectCount' => ['description' => 'The number of objects that are protected by the policy.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Template' => ['description' => 'The type of the template that is used to create the policy. Valid values:'."\n"
+ ."\n"
+ .'* **promotion**: the Important Activity template'."\n"
+ .'* **bypass**: the Forward All template'."\n", 'type' => 'string', 'example' => 'promotion', 'title' => ''],
+ 'PolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'string', 'example' => '321a-fd31-df51-****', 'title' => ''],
+ 'Name' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'example' => 'testpolicy', 'title' => ''],
+ 'RuntimePolicies' => [
+ 'description' => 'The running rules of the policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The running status of the policy. Valid values:'."\n"
+ ."\n"
+ .'* **0**: The policy has not been issued or is restored.'."\n"
+ .'* **1**: The policy is pending.'."\n"
+ .'* **2**: The policy is being restored.'."\n"
+ .'* **3**: The policy takes effect.'."\n"
+ .'* **4**: The policy fails to take effect.'."\n"
+ .'* **5**:The policy fails to be restored.'."\n"
+ .'* **6**: The configurations of the protected objects for the policy does not exist because the configurations may be deleted.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ 'oldValue' => ['description' => 'The protection rule that is applied before the policy takes effect.'."\n"
+ ."\n"
+ .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": true}**. The value indicates that the Frequency Control policy is enabled.'."\n"
+ ."\n"
+ .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 1}**. The value indicates that the Intelligent Protection policy is enabled.'."\n", 'type' => 'string', 'example' => '{"cc_rule_enable": true}', 'title' => ''],
+ 'NewValue' => ['description' => 'The protection rule that is applied when the policy takes effect.'."\n"
+ ."\n"
+ .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": false }**. The value indicates that the Frequency Control policy is disabled.'."\n"
+ ."\n"
+ .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 0}**. The value indicates that the Intelligent Protection policy is disabled.'."\n", 'type' => 'string', 'example' => '{"cc_rule_enable": false }', 'title' => ''],
+ 'PolicyType' => ['description' => 'The protection policy whose status is changed when the policy takes effect. Valid values:'."\n"
+ ."\n"
+ .'* **1**: indicates that the Frequency Control policy is changed.'."\n"
+ .'* **2**: indicates that the Intelligent Protection policy is changed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Qps\\": 26314,\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\",\\n \\"Cps\\": 1302,\\n \\"Mbps\\": 6809\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventMaxResponse>\\r\\n\\t<RequestId>5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF</RequestId>\\r\\n\\t<Qps>26314</Qps>\\r\\n\\t<Cps>1302</Cps>\\r\\n\\t<Mbps>6809</Mbps>\\r\\n </DescribeDDosEventMaxResponse>","errorExample":""}]',
- 'title' => 'DescribeDDosEventMax',
- 'summary' => 'Queries the peaks of volumetric attacks (bit/s), connection flood attacks (CPS), and resource exhaustion attacks on websites (QPS).',
+ '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":"<DescribeSceneDefensePoliciesResponse>\\n <Success>true</Success>\\n <RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\n <Policies>\\n <Done>1</Done>\\n <EndTime>1586016000000</EndTime>\\n <Status>1</Status>\\n <StartTime>1585670400000</StartTime>\\n <ObjectCount>1</ObjectCount>\\n <Template>promotion</Template>\\n <PolicyId>321a-fd31-df51-****</PolicyId>\\n <Name>testpolicy</Name>\\n <RuntimePolicies>\\n <Status>3</Status>\\n <oldValue>{\\"cc_rule_enable\\": true}</oldValue>\\n <NewValue>{\\"cc_rule_enable\\": false }</NewValue>\\n <PolicyType>1</PolicyType>\\n </RuntimePolicies>\\n </Policies>\\n</DescribeSceneDefensePoliciesResponse>","errorExample":""}]',
+ 'title' => 'DescribeSceneDefensePolicies',
+ 'summary' => 'Queries the configurations of a scenario-specific custom policy.',
+ 'description' => 'You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDosEventArea' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefensePolicies'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSceneDefensePolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSchedulerRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14314,56 +12485,30 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '106110',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106184',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
- 'name' => 'EventType',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the attack event that you want to query. Valid values:'."\n"
- ."\n"
- .'* **defense**: attack events that trigger traffic scrubbing'."\n"
- .'* **blackhole**: attack events that trigger blackhole filtering'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'defense',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
- ."\n"
- .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1598948471',
- ],
+ 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => false, 'example' => 'testrule', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.***.***.199',
- ],
+ 'schema' => ['description' => 'The page number of the returned page. For example, to query the results on the first page, enter **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Range',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The number of records displayed on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -14371,54 +12516,137 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827',
- ],
- 'Areas' => [
- 'description' => 'The information about the source region from which the volumetric attack was initiated.'."\n",
+ 'TotalCount' => ['description' => 'The total number of traffic scheduling rules.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem locating.', 'type' => 'string', 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989', 'title' => ''],
+ 'SchedulerRules' => [
+ 'description' => 'The traffic scheduling rule information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'InPkts' => [
- 'description' => 'The number of request packets that were sent from the source region.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '228',
+ 'RuleType' => ['description' => 'The rule type. Valid values:'."\n"
+ ."\n"
+ .'- **2**: tiered protection'."\n"
+ ."\n"
+ .'- **3**: network acceleration'."\n"
+ ."\n"
+ .'- **5**: CDN filter interaction'."\n"
+ ."\n"
+ .'- **6**: cloud service interaction'."\n"
+ ."\n"
+ .'- **8**: secure acceleration', 'type' => 'string', 'example' => '2', 'title' => ''],
+ 'Cname' => ['description' => 'The canonical name value.', 'type' => 'string', 'example' => '4eru5229a843****.aliyunddos0001.com', 'title' => ''],
+ 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'doctest', 'title' => ''],
+ 'Rules' => [
+ 'description' => 'The rule list.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The format of the resource address. Valid values:'."\n"
+ ."\n"
+ .'- **A**: IPv4 address'."\n"
+ ."\n"
+ .'- **CNAME**: canonical name address', 'type' => 'string', 'example' => 'A', 'title' => ''],
+ 'Status' => ['description' => 'The rule status. Valid values:'."\n"
+ ."\n"
+ .'- **0**: inactive'."\n"
+ ."\n"
+ .'- **1**: active', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Value' => ['description' => 'The resource address.', 'type' => 'string', 'example' => '203.***.***.39', 'title' => ''],
+ 'ValueType' => ['description' => 'The resource address type. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy IP'."\n"
+ ."\n"
+ .'- **2**: (tiered protection) cloud resource IP'."\n"
+ ."\n"
+ .'- **3**: (network acceleration) MCA IP'."\n"
+ ."\n"
+ .'- **5**: (CDN filter interaction) accelerated domain name'."\n"
+ ."\n"
+ .'- **6**: (cloud service interaction) cloud resource IP'."\n"
+ ."\n"
+ .'- **8**: (CMA) secure acceleration P', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Priority' => ['description' => 'The rule priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'RestoreDelay' => ['description' => 'The Waiting Time of Switchback, in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.'."\n"
+ ."\n"
+ .'> This parameter is returned only when RuleType is set to 2 (tiered protection rule).', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Line' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Area' => [
- 'description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n",
- 'type' => 'string',
- 'example' => '110000',
+ 'Param' => [
+ 'description' => 'The rule for Global Accelerator instance interaction with Anti-DDoS Proxy.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParamType' => ['description' => 'The type of Resource for Interaction. Valid value: **GA**, which indicates a Global Accelerator instance.', 'type' => 'string', 'example' => 'GA', 'title' => ''],
+ 'ParamData' => [
+ 'description' => 'The Resource for Interaction.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CloudInstanceId' => ['description' => 'The ID of the Global Accelerator instance.', 'type' => 'string', 'example' => 'ga-bp1htlajy5509rc99****', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11710C9F-BC5E-481A-BEC5-C6D8FBFCA827\\",\\n \\"Areas\\": [\\n {\\n \\"InPkts\\": 228,\\n \\"Area\\": \\"110000\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDDosEventAreaResponse>\\n <RequestId>11710C9F-BC5E-481A-BEC5-C6D8FBFCA827</RequestId>\\n <Areas>\\n <InPkts>228</InPkts>\\n <Area>110000</Area>\\n </Areas>\\n</DescribeDDosEventAreaResponse>","errorExample":""}]',
- 'title' => 'DescribeDDosEventArea',
- 'summary' => 'Queries the source region from which a volumetric attack is initiated.',
- 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"1\\",\\n \\"RequestId\\": \\"11C55595-1757-4B17-9ACE-4ACB68C2D989\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"RuleType\\": \\"2\\",\\n \\"Cname\\": \\"4eru5229a843****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"doctest\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 0,\\n \\"Value\\": \\"203.***.***.39\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 100,\\n \\"RestoreDelay\\": 60,\\n \\"RegionId\\": \\"1\\",\\n \\"Line\\": \\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"GA\\",\\n \\"ParamData\\": {\\n \\"CloudInstanceId\\": \\"ga-bp1htlajy5509rc99****\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeSchedulerRules',
+ 'summary' => 'Queries the scheduling rules of Sec-Traffic Manager.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDosEventAttackType' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-04T06:34:56.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSchedulerRules'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSchedulerRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeSlaEventList' => [
+ 'summary' => 'Queries the destination rate limit events.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14427,48 +12655,50 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106111',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '175662',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'EventType',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the attack event that you want to query. Valid values:'."\n"
- ."\n"
- .'* **defense**: attack events that trigger traffic scrubbing'."\n"
- .'* **blackhole**: attack events that trigger blackhole filtering'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'defense',
- ],
+ 'schema' => ['description' => 'The type of the service Valid values:'."\n"
+ ."\n"
+ .'- **cn**: Anti-DDoS Pro'."\n"
+ ."\n"
+ .'- **cn-hongkong**: Anti-DDoS Premium', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''],
+ ],
+ [
+ 'name' => 'Ip',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
- ."\n"
- .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1598948471',
- ],
+ 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1678080840', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.***.***.199',
- ],
+ 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ ."\n"
+ .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1671886740', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -14476,96 +12706,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555',
- ],
- 'AttackTypes' => [
- 'description' => 'The information about the attack types.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'SlaEvent' => [
+ 'description' => 'The destination rate limit events.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'InPkts' => [
- 'description' => 'The number of request packets of the attack type.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '145902',
- ],
- 'AttackType' => [
- 'description' => 'The type of the attack Valid values:'."\n"
- ."\n"
- .'* **QOTD-Reflect-Flood**: QOTD reflection attacks'."\n"
- .'* **CharGEN-Reflect-Flood**: CHARGEN reflection attacks'."\n"
- .'* **DNS-Reflect-Flood**: DNS reflection attacks'."\n"
- .'* **TFTP-Reflect-Flood**: TFTP reflection attacks'."\n"
- .'* **Portmap-Reflect-Flood**: Portmap reflection attacks'."\n"
- .'* **NTP-Reflect-Flood**: NTP reflection attacks'."\n"
- .'* **NetBIOS-Reflect-Flood**: NetBIOS reflection attacks'."\n"
- .'* **SNMPv2-Reflect-Flood**: SNMPv2 reflection attacks'."\n"
- .'* **CLDAP-Reflect-Flood**: CLDAP reflection attacks'."\n"
- .'* **Ripv1-Reflect-Flood**: RIPv1 reflection attacks'."\n"
- .'* **OpenVPN-Reflect-Flood**: OpenVPN reflection attacks'."\n"
- .'* **SSDP-Reflect-Flood**: SSDP reflection attacks'."\n"
- .'* **NetAssistant-Reflect-Flood**: NetAssistant reflection attacks'."\n"
- .'* **WSDiscovery-Reflect-Flood**: WS-Discovery reflection attacks'."\n"
- .'* **Kad-Reflect-Flood**: Kad reflection attacks'."\n"
- .'* **mDNS-Reflect-Flood**: mDNS reflection attacks'."\n"
- .'* **10001-Reflect-Flood**: reflection attacks over port 10001'."\n"
- .'* **Memcached-Reflect-Flood**: Memcached reflection attacks'."\n"
- .'* **QNP-Reflect-Flood**: QNP reflection attacks'."\n"
- .'* **DVR-Reflect-Flood**: DVR reflection attacks'."\n"
- .'* **CoAP-Reflect-Flood**: CoAP reflection attacks'."\n"
- .'* **ADDP-Reflect-Flood**: ADDP reflection attacks'."\n"
- .'* **Tcp-Syn**: TCP SYN flood attacks'."\n"
- .'* **Tcp-Fin**: TCP FIN flood attacks'."\n"
- .'* **Tcp-Ack**: TCP ACK flood attacks'."\n"
- .'* **Tcp-Rst**: TCP RST flood attacks'."\n"
- .'* **Tcp-Pushack**: TCP PSH-ACK flood attacks'."\n"
- .'* **Tcp-Synack**: TCP SYN-ACK flood attacks'."\n"
- .'* **Udp-None**: UDP attacks'."\n"
- .'* **Udp-Ssh**: UDP-based SSH attacks'."\n"
- .'* **Udp-Dns**: UDP-based DNS attacks'."\n"
- .'* **Udp-Http**: UDP-based HTTP attacks'."\n"
- .'* **Udp-Https**: UDP-based HTTPS attacks'."\n"
- .'* **Udp-Ntp**: UDP-based NTP attacks'."\n"
- .'* **Udp-Ldap**: UDP-based LDAP attacks'."\n"
- .'* **Udp-Ssdp**: UDP-based SSDP attacks'."\n"
- .'* **Udp-Memcached**: Memcached UDP reflection attacks'."\n"
- .'* **Tcp-Other**: other TCP attacks'."\n"
- .'* **Icmp**: ICMP flood attacks'."\n"
- .'* **Igmp**: IGMP flood attacks'."\n"
- .'* **Ipv6**: IPv6 attacks'."\n",
- 'type' => 'string',
- 'example' => 'Tcp-Syn',
- ],
+ 'StartTime' => ['description' => 'The beginning of the time range. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678080840', 'title' => ''],
+ 'EndTime' => ['description' => 'The end of the time range. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1671886740', 'title' => ''],
+ 'Ip' => ['description' => 'The IP address of the instance.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'Region' => ['description' => 'The region to which the destination IP address belongs. Valid values:'."\n"
+ ."\n"
+ .'- **cn**: a region in the Chinese mainland'."\n"
+ ."\n"
+ .'- **cn-hongkong**: China (Hong Kong)', 'type' => 'string', 'example' => 'cn', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'Total' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F644A6E-40E7-483F-9DBB-CC27E16BB555\\",\\n \\"AttackTypes\\": [\\n {\\n \\"InPkts\\": 145902,\\n \\"AttackType\\": \\"Tcp-Syn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventAttackTypeResponse>\\r\\n\\t<RequestId>6F644A6E-40E7-483F-9DBB-CC27E16BB555</RequestId>\\r\\n\\t<AttackTypes>\\r\\n\\t\\t<AttackType>Tcp-Syn</AttackType>\\r\\n\\t\\t<InPkts>145902</InPkts>\\r\\n\\t</AttackTypes>\\r\\n\\t<AttackTypes>\\r\\n\\t\\t<AttackType>Tcp-Other</AttackType>\\r\\n\\t\\t<InPkts>3</InPkts>\\r\\n\\t</AttackTypes>\\r\\n </DescribeDDosEventAttackTypeResponse>","errorExample":""}]',
- 'title' => 'DescribeDDosEventAttackType',
- 'summary' => 'Queries the attack type details of a volumetric attack.',
- 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDDosEventIsp' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeSlaEventList',
+ 'changeSet' => [
+ ['createdAt' => '2024-03-19T07:44:46.000Z', 'description' => 'Request parameters changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlaEventList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlaEventList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlaEvent\\": [\\n {\\n \\"StartTime\\": 1678080840,\\n \\"EndTime\\": 1671886740,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Region\\": \\"cn\\"\\n }\\n ],\\n \\"Total\\": 10\\n}","type":"json"}]',
+ ],
+ 'DescribeSlsAuthStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14575,57 +12774,15 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106112',
- 'abilityTreeNodes' => [
- 'FEATUREddosY2OCST',
- ],
+ 'abilityTreeCode' => '106185',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'EventType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the attack event that you want to query. Valid values:'."\n"
- ."\n"
- .'* **defense**: attack events that trigger traffic scrubbing'."\n"
- .'* **blackhole**: attack events that trigger blackhole filtering'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'defense',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
- ."\n"
- .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1598948471',
- ],
- ],
- [
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.***.***.199',
- ],
- ],
- [
- 'name' => 'Range',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -14633,74 +12790,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C',
- ],
- 'Isps' => [
- 'description' => 'The ISPs for the volumetric attack.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'InPkts' => [
- 'description' => 'The number of request packets that were sent from the ISP.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '230',
- ],
- 'Isp' => [
- 'description' => 'The code of the ISP. Valid values:'."\n"
- ."\n"
- .'* **100017**: China Telecom'."\n"
- .'* **100026**: China Unicom'."\n"
- .'* **100025**: China Mobile'."\n"
- .'* **100027**: China Education and Research Network'."\n"
- .'* **100020**: China Mobile Tietong'."\n"
- .'* **1000143**: Dr.Peng Telecom & Media Group'."\n"
- .'* **100080**: Beijing Gehua CATV Network'."\n"
- .'* **1000139**: National Radio and Television Administration'."\n"
- .'* **100023**: Oriental Cable Network'."\n"
- .'* **100063**: Founder Broadband'."\n"
- .'* **1000337**: China Internet Exchange'."\n"
- .'* **100021**: 21Vianet Group'."\n"
- .'* **1000333**: Wasu Media Holding'."\n"
- .'* **100093**: Wangsu Science & Technology'."\n"
- .'* **1000401**: Tencent'."\n"
- .'* **100099**: Baidu'."\n"
- .'* **1000323**: Alibaba Cloud'."\n"
- .'* **100098**: Alibaba'."\n",
- 'type' => 'string',
- 'example' => '1000323',
- ],
- ],
- ],
- ],
+ 'SlsAuthStatus' => ['description' => 'Indicates whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4A3BCD1-4A32-4342-941A-4745AE69508C\\",\\n \\"Isps\\": [\\n {\\n \\"InPkts\\": 230,\\n \\"Isp\\": \\"1000323\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventIspResponse>\\r\\n\\t<RequestId>C4A3BCD1-4A32-4342-941A-4745AE69508C</RequestId>\\r\\n\\t<Isps>\\r\\n\\t\\t<InPkts>230</InPkts>\\r\\n\\t\\t<Isp>1000323</Isp>\\r\\n\\t</Isps>\\r\\n\\t<Isps>\\r\\n\\t\\t<InPkts>24</InPkts>\\r\\n\\t\\t<Isp>100098</Isp>\\r\\n\\t</Isps>\\r\\n </DescribeDDosEventIspResponse>","errorExample":""}]',
- 'title' => 'DescribeDDosEventIsp',
- 'summary' => 'Queries the Internet service provider (ISP) information about a volumetric attack.',
- 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsAuthStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeSlsAuthStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsAuthStatus>true</SlsAuthStatus>\\r\\n</DescribeSlsAuthStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribeSlsAuthStatus',
+ 'summary' => 'Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDosEventSrcIp' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsAuthStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSlsLogstoreInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14710,58 +12842,88 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106115',
- 'abilityTreeNodes' => [
- 'FEATUREddosY2OCST',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106186',
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'EventType',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the attack event that you want to query. Valid values:'."\n"
- ."\n"
- .'* **defense**: attack events that trigger traffic scrubbing'."\n"
- .'* **blackhole**: attack events that trigger blackhole filtering'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'defense',
+ 'type' => 'object',
+ 'properties' => [
+ 'Ttl' => ['description' => 'The storage duration of logs. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'example' => '180', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'Quota' => ['description' => 'The available log storage capacity. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '3298534883328', 'title' => ''],
+ 'LogStore' => ['description' => 'The log store that is associated with Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'example' => 'ddoscoo-logstore', 'title' => ''],
+ 'Used' => ['description' => 'The used storage capacity. Unit: bytes.'."\n"
+ ."\n"
+ .'> The statistics from Simple Log Service have a delay of approximately two hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Project' => ['description' => 'The log project that is associated with Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'Query log store information of Anti-DDoS Pro and Anti-DDoS Premium',
+ 'summary' => 'Queries the log store information of Anti-DDoS Pro or Anti-DDoS Premium, such as log storage capacity and storage duration of logs.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsLogstoreInfo'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n"
- ."\n"
- .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1598948471',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsLogstoreInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 180,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Quota\\": 3298534883328,\\n \\"LogStore\\": \\"ddoscoo-logstore\\",\\n \\"Used\\": 0,\\n \\"Project\\": \\"ddoscoo-project-181071506993****-cn-hangzhou\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSlsOpenStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.***.***.199',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106187',
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'Range',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of source IP addresses that you want to return. The source IP addresses are returned in descending order of attack traffic. By default, the top **five** source IP addresses are returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -14769,77 +12931,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9',
- ],
- 'Ips' => [
- 'description' => 'An array that consists of information about the source IP address of the volumetric attack.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SrcIp' => [
- 'description' => 'The source IP address of the volumetric attack.'."\n",
- 'type' => 'string',
- 'example' => '218.***.***.24',
- ],
- 'AreaId' => [
- 'description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n",
- 'type' => 'string',
- 'example' => '110000',
- ],
- 'Isp' => [
- 'description' => 'The Internet service provider (ISP) for the volumetric attack. Valid values:'."\n"
- ."\n"
- .'* **100017**: China Telecom'."\n"
- .'* **100026**: China Unicom'."\n"
- .'* **100025**: China Mobile'."\n"
- .'* **100027**: China Education and Research Network'."\n"
- .'* **100020**: China Mobile Tietong'."\n"
- .'* **1000143**: Dr.Peng Telecom & Media Group'."\n"
- .'* **100080**: Beijing Gehua CATV Network'."\n"
- .'* **1000139**: National Radio and Television Administration'."\n"
- .'* **100023**: Oriental Cable Network'."\n"
- .'* **100063**: Founder Broadband'."\n"
- .'* **1000337**: China Internet Exchange'."\n"
- .'* **100021**: 21Vianet Group'."\n"
- .'* **1000333**: Wasu Media Holding'."\n"
- .'* **100093**: Wangsu Science & Technology'."\n"
- .'* **1000401**: Tencent'."\n"
- .'* **100099**: Baidu'."\n"
- .'* **1000323**: Alibaba Cloud'."\n"
- .'* **100098**: Alibaba'."\n",
- 'type' => 'string',
- 'example' => '100026',
- ],
- ],
- ],
- ],
+ 'SlsOpenStatus' => ['description' => 'Indicates whether Log Service is activated. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDosEventSrcIpResponse>\\r\\n\\t<RequestId>38A0224E-FDBC-4733-A362-B391827FC1E9</RequestId>\\r\\n\\t<Ips>\\r\\n\\t\\t<Isp>100026</Isp>\\r\\n\\t\\t<AreaId>110000</AreaId>\\r\\n\\t\\t<SrcIp>218.***.***.24</SrcIp>\\r\\n\\t</Ips>\\r\\n\\t<Ips>\\r\\n\\t\\t<Isp></Isp>\\r\\n\\t\\t<AreaId>us</AreaId>\\r\\n\\t\\t<SrcIp>193.***.***.174</SrcIp>\\r\\n\\t</Ips>\\r\\n</DescribeDDosEventSrcIpResponse>\\r\\n","errorExample":""}]',
- 'title' => 'DescribeDDosEventSrcIp',
- 'summary' => 'Queries the source IP address from which a volumetric attack is initiated.',
- 'description' => '> This operation is suitable only for volumetric attacks.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeSlsOpenStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsOpenStatus>true</SlsOpenStatus>\\r\\n</DescribeSlsOpenStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribeSlsOpenStatus',
+ 'summary' => 'Checks whether Simple Log Service is activated.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeBackSourceCidr' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsOpenStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeStsGrantStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14849,45 +12983,23 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106098',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '106188',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'Line',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The Internet service provider (ISP) line that you want to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'coop-line-001',
- ],
- ],
- [
- 'name' => 'IpVersion',
+ 'name' => 'Role',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP version of the back-to-origin CIDR blocks.'."\n"
- ."\n"
- .'* **Ipv4**'."\n"
- .'* **Ipv6**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => 'The name of the RAM role that you want to query. The value is fixed as **AliyunDDoSCOODefaultRole**, which indicates the default role of Anti-DDoS Proxy.'."\n"
+ ."\n"
+ .'> Anti-DDoS Proxy use this role by default to access your resources in other cloud services.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'AliyunDDoSCOODefaultRole'],
],
],
'responses' => [
@@ -14895,124 +13007,111 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'Cidrs' => [
- 'description' => 'An array that consists of the back-to-origin CIDR blocks of the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The back-to-origin CIDR block of the instance.'."\n",
- 'type' => 'string',
- 'example' => '47.0.XX.XX/25',
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'],
+ 'StsGrant' => [
+ 'description' => 'The authorization status of Anti-DDoS Pro and Anti-DDoS Premium.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The authorization status. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Anti-DDoS Proxy are not authorized to access resources of other cloud services.'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy are authorized to access resources of other cloud services.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Cidrs\\": [\\n \\"47.0.XX.XX/25\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeBackSourceCidrResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n <Cidrs>[ \\"47.0.XX.XX/25\\",\\"47.128.XX.XX/25\\" ]</Cidrs>\\n</DescribeBackSourceCidrResponse>","errorExample":""}]',
- 'title' => 'DescribeBackSourceCidr',
- 'summary' => 'Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"StsGrant\\": {\\n \\"Status\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribeStsGrantStatus',
+ 'summary' => 'Queries whether Anti-DDoS Proxy are authorized to access other cloud services.',
+ 'description' => 'This operation queries whether your Alibaba Cloud account has authorized Anti-DDoS Pro and Anti-DDoS Premium to access other cloud services.'."\n"
+ ."\n"
+ .'### QPS limits'."\n"
+ ."\n"
+ .'The maximum number of queries per second (QPS) for this operation is 10 per user. If the number of API calls exceeds this limit, throttling is triggered. This may affect your business operations. Ensure that you call this operation at an appropriate rate.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the "Examples" section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDosAllEventList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStsGrantStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeStsGrantStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSystemLog' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106109',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106190',
+ 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'EventType',
+ 'name' => 'EntityType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the DDoS attack events you want to query. Valid values:'."\n"
- ."\n"
- .'* **web-cc**: resource exhaustion attacks'."\n"
- .'* **cc**: connection flood attacks'."\n"
- .'* **defense**: DDoS attacks that trigger traffic scrubbing'."\n"
- .'* **blackhole**: DDoS attacks that trigger blackhole filtering'."\n"
- ."\n"
- .'If you want to query multiple types of DDoS attack events, separate them with commas (,).'."\n"
- ."\n"
- .'If you do not configure this parameter, DDoS attack events of all types are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'defense',
- ],
+ 'schema' => ['description' => 'The type of system logs to query. The value is fixed at **20**, which indicates the billing logs of burstable clean bandwidth.'."\n"
+ ."\n"
+ .'> You must set this parameter. Otherwise, the call fails.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'EntityObject',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IP address of the Anti-DDoS instance to query.'."\n"
+ ."\n"
+ .'> You can call [DescribeInstanceDetails](~~91490~~) to query the IP addresses of Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The DDoS attack events occur after **StartTime** are queried. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1609430400',
- ],
+ 'schema' => ['description' => 'The start time to query bills of burstable clean bandwidth that are generated after the specified time. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400000', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The DDoS attack events occur before **EndTime** are queried. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1640966399',
- ],
+ 'schema' => ['description' => 'The end time to query bills of burstable clean bandwidth that are generated before the specified time. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966400000', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The number of logs to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -15020,120 +13119,96 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => 'The total number of DDoS attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005',
- ],
- 'AttackEvents' => [
- 'description' => 'The DDoS attack events.'."\n",
+ 'Total' => ['description' => 'The total number of billing logs for burstable clean bandwidth that are queried.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C', 'title' => ''],
+ 'SystemLog' => [
+ 'description' => 'The details of the billing logs for burstable clean bandwidth.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => 'The time when the DDoS attack stopped. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1634546030',
- ],
- 'StartTime' => [
- 'description' => 'The time when the DDoS attack started. This value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1634543764',
- ],
- 'EventType' => [
- 'description' => 'The type of the DDoS attack event. Valid values:'."\n"
- ."\n"
- .'* **web-cc**: resource exhaustion attacks'."\n"
- .'* **cc**: connection flood attacks'."\n"
- .'* **defense**: DDoS attacks that trigger traffic scrubbing'."\n"
- .'* **blackhole**: DDoS attacks that trigger blackhole filtering'."\n",
- 'type' => 'string',
- 'example' => 'cc',
- ],
- 'Mbps' => [
- 'description' => 'The peak bandwidth of the attack traffic. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '101899',
- ],
- 'Ip' => [
- 'description' => 'The attacked object. The attacked object varies based on the attack event type. The following list describes different attacked objects of different attack event types:'."\n"
- ."\n"
- .'* If **EventType** is set to **web-cc**, the value of this parameter indicates the domain name of the attacked website.'."\n"
- .'* If **EventType** is set to **cc**, the value of this parameter indicates the IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
- .'* If **EventType** is set to **defense** or **blackhole**, the value of this parameter indicates the IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'Area' => [
- 'description' => 'The source location or region from which the attack was initiated. Valid values:'."\n"
- ."\n"
- .'* **cn**: Chinese mainland'."\n"
- .'* **alb-cn-hongkong-gf-2**: China (Hongkong)'."\n"
- .'* **alb-us-west-1-gf-2**: US (Silicon Valley)'."\n"
- .'* **alb-ap-northeast-1-gf-1**: Japan (Tokyo)'."\n"
- .'* **alb-ap-southeast-gf-1**: Singapore'."\n"
- .'* **alb-eu-central-1-gf-1**: Germany (Frankfurt)'."\n"
- .'* **alb-eu-central-1-gf-1** or **selb-eu-west-1-gf-1a**: UK (London)'."\n"
- .'* **alb-us-east-gf-1**: US (Virginia)'."\n"
- .'* **CT-yundi**: China (Hongkong) This value is returned only for Anti-DDoS Premium instances of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n",
- 'type' => 'string',
- 'example' => 'cn',
- ],
- 'Port' => [
- 'description' => 'The attacked port.'."\n"
- ."\n"
- .'> If **EventType** is set to **web-cc**, this parameter is not returned.'."\n",
- 'type' => 'string',
- 'example' => '80',
- ],
- 'Pps' => [
- 'description' => 'The peak packet forwarding rate of attack traffic. Unit: packets per second (pps).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9664270',
- ],
+ 'Status' => ['description' => 'The status of the bill. Valid values:'."\n"
+ ."\n"
+ .'- **0**: indicates that the bill is pending.'."\n"
+ .'- **1**: indicates that the bill is generated.'."\n"
+ .'- **2**: indicates that the bill is terminated.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'EntityType' => ['description' => 'The type of the system log. The value is fixed at **20**, which indicates the billing log of burstable clean bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'EntityObject' => ['description' => 'The IP address of the Anti-DDoS instance.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''],
+ 'GmtCreate' => ['description' => 'The time when the bill was created. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1631793531000', 'title' => ''],
+ 'OpAction' => ['description' => 'The operation type. The value is fixed at **100**, which indicates that a billing record for burstable clean bandwidth is added.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the bill was last modified. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1635425407000', 'title' => ''],
+ 'OpAccount' => ['description' => 'The ID of the Alibaba Cloud account to which the bill belongs.', 'type' => 'string', 'example' => '171986973287****', 'title' => ''],
+ 'OpDesc' => ['description' => 'The details of the bill. This value is a string that is converted from a JSON struct. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .'- **newEntity**: Object type, which indicates the bill record and contains the following fields:'."\n"
+ ."\n"
+ .' - **billValue**: Integer type | The usage of burstable clean bandwidth in the billing month. Unit: Mbit/s.'."\n"
+ .' - **instanceId**: String type | The ID of the Anti-DDoS instance.'."\n"
+ .' - **ip**: String type | The IP address of the Anti-DDoS instance.'."\n"
+ .' - **maxBw**: String type | The actual peak value of service traffic in the billing month (monthly 95th percentile). Unit: Mbit/s.'."\n"
+ .' - **month**: Long type | The month when the bill is generated (the billing month is the calendar month before the month when the bill is generated). This value is a timestamp in milliseconds.'."\n"
+ .' - **overBandwidth**: Integer type | The bandwidth that exceeds the clean bandwidth specification of the instance. Unit: Mbit/s.'."\n"
+ .' - **peakTime**: Long type | The time when the actual peak value of service traffic is measured. This value is a timestamp in seconds.'."\n"
+ .' - **startTimestamp**: Long type | The start time of the period when the peak value of instance service traffic is measured. This value is a timestamp in seconds.', 'type' => 'string', 'example' => '{"newEntity":{"billValue":"60","instanceId":"ddoscoo-cn-zz121ogz****","ip":"203.107.XX.XX","maxBw":"300","month":1627747200000,"overBandwidth":"120","peakTime":1629871200,"startTimestamp":1629871200}}', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeDDosAllEventListResponse>\\n <Total>1</Total>\\n <RequestId>25D83ED5-28CB-5683-9CF7-AECE521F3005</RequestId>\\n <AttackEvents>\\n <EndTime>1634546030</EndTime>\\n <StartTime>1634543764</StartTime>\\n <EventType>cc</EventType>\\n <Mbps>101899</Mbps>\\n <Ip>203.107.XX.XX</Ip>\\n <Area>cn</Area>\\n <Port>80</Port>\\n <Pps>9664270</Pps>\\n </AttackEvents>\\n</DescribeDDosAllEventListResponse>","errorExample":""}]',
- 'title' => 'DescribeDDosAllEventList',
- 'summary' => 'Queries DDoS attack events.',
- 'description' => 'You can call the DescribeDDosAllEventList operation to query DDoS attack events within a specific time range by page. The information about a DDoS attack event includes the start time and end time of the attack, attack event type, attacked object, peak bandwidth of attack traffic, and peak packet forwarding rate.'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"8BC3A33A-F832-58DB-952F-7682A25AD14C\\",\\n \\"SystemLog\\": [\\n {\\n \\"Status\\": 1,\\n \\"EntityType\\": 20,\\n \\"EntityObject\\": \\"203.107.XX.XX\\",\\n \\"GmtCreate\\": 1631793531000,\\n \\"OpAction\\": 100,\\n \\"GmtModified\\": 1635425407000,\\n \\"OpAccount\\": \\"171986973287****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"billValue\\\\\\":\\\\\\"60\\\\\\",\\\\\\"instanceId\\\\\\":\\\\\\"ddoscoo-cn-zz121ogz****\\\\\\",\\\\\\"ip\\\\\\":\\\\\\"203.107.XX.XX\\\\\\",\\\\\\"maxBw\\\\\\":\\\\\\"300\\\\\\",\\\\\\"month\\\\\\":1627747200000,\\\\\\"overBandwidth\\\\\\":\\\\\\"120\\\\\\",\\\\\\"peakTime\\\\\\":1629871200,\\\\\\"startTimestamp\\\\\\":1629871200}}\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeSystemLog',
+ 'summary' => 'Queries the billing details of burstable clean bandwidth.',
+ 'description' => 'This operation lets you query the system logs of Anti-DDoS Pro. System logs currently include only the billing logs of burstable clean bandwidth.'."\n"
."\n"
- .'### Limits'."\n"
+ .'If you have enabled burstable clean bandwidth, you can call this operation to query the billing details of burstable clean bandwidth.'."\n"
."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ .'### QPS limits'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'The QPS limit for this operation is 10 per second per user. If the number of calls per second exceeds this limit, throttling is triggered. This may affect your business operations. Therefore, call this operation at an appropriate frequency.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the preceding operation-specific request parameters, you must also specify common request parameters. For more information, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the "Examples" section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDDoSEvents' => [
- 'summary' => 'Queries the attack events launched against one or more Anti-DDoS Proxy instances.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-01T09:48:51.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-05-30T05:57:31.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-05-30T04:02:40.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2025-05-30T04:01:32.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSystemLog'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSystemLog',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeTagKeys' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15143,91 +13218,36 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106114',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106191',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Default value: **10**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The number of the page to return. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -15235,101 +13255,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => 'The total number of returned attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334',
- ],
- 'DDoSEvents' => [
- 'description' => 'The DDoS attack events.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''],
+ 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'TagKeys' => [
+ 'description' => 'The details about the tag keys.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1583933330',
- ],
- 'StartTime' => [
- 'description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1583933277',
- ],
- 'EventType' => [
- 'description' => 'The type of the attack event. Valid values:'."\n"
- ."\n"
- .'* **defense**: traffic scrubbing events'."\n"
- .'* **blackhole**: blackhole filtering events'."\n",
- 'type' => 'string',
- 'example' => 'blackhole',
- ],
- 'Region' => [
- 'description' => 'The region from which the attack was launched. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland'."\n"
- .'* **alb-ap-northeast-1-gf-x**: Japan (Tokyo)'."\n"
- .'* **alb-ap-southeast-gf-x**: Singapore'."\n"
- .'* **alb-cn-hongkong-gf-x**: Hong Kong (China)'."\n"
- .'* **alb-eu-central-1-gf-x**: Germany (Frankfurt)'."\n"
- .'* **alb-us-west-1-gf-x**: US (Silicon Valley)'."\n"
- ."\n"
- .'> The values except **cn** are returned only when **RegionId** is set to **ap-southeast-1**.'."\n",
- 'type' => 'string',
- 'example' => 'cn',
- ],
- 'Ip' => [
- 'description' => 'The attacked IP address.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.132',
- ],
- 'Port' => [
- 'description' => 'The attacked port.'."\n",
- 'type' => 'string',
- 'example' => '80',
- ],
- 'Bps' => [
- 'description' => 'The bandwidth of attack traffic. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Pps' => [
- 'description' => 'The packet forwarding rate of attack traffic. Unit: packets per second (pps).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'TagCount' => ['description' => 'The number of Anti-DDoS Proxy (Chinese Mainland) instances to which the tag key is added.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'TagKey' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'aa1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDDoSEventsResponse>\\r\\n\\t<RequestId>0CA72AF5-1795-4350-8C77-50A448A2F334</RequestId>\\r\\n\\t<Total>1</Total>\\r\\n\\t<DDoSEvents>\\r\\n\\t\\t<Pps>0</Pps>\\r\\n\\t\\t<Bps>0</Bps>\\r\\n\\t\\t<EndTime>1583933330</EndTime>\\r\\n\\t\\t<EventType>blackhole</EventType>\\r\\n\\t\\t<Ip>203.***.***.132</Ip>\\r\\n\\t\\t<Port></Port>\\r\\n\\t\\t<StartTime>1583933277</StartTime>\\r\\n\\t</DDoSEvents>\\r\\n</DescribeDDoSEventsResponse>","errorExample":""}]',
- 'title' => 'DescribeDDoSEvents',
+ '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":"<DescribeTagKeysResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n <TotalCount>1</TotalCount>\\n <TagKeys>\\n <TagCount>2</TagCount>\\n <TagKey>aa1</TagKey>\\n </TagKeys>\\n</DescribeTagKeysResponse>","errorExample":""}]',
+ 'title' => 'DescribeTagKeys',
+ 'summary' => 'Queries all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added.',
+ 'description' => 'You can call this operation to query all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added by page.'."\n"
+ ."\n"
+ .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n"
+ ."\n"
+ .'### [](#qps-)QPS limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSlaEventList' => [
- 'summary' => 'Queries the destination rate limit events.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagKeys'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeTagKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeTagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15338,86 +13330,83 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '175662',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106192',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the service Valid values:'."\n"
- ."\n"
- .'* **cn**: Anti-DDoS Pro'."\n"
- .'* **cn-hongkong**: Anti-DDoS Premium'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '203.107.XX.XX',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457398',
- ],
+ 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457398',
- ],
+ 'schema' => ['description' => 'The query token. Set the value to the value of **NextToken** that is returned in the last call.'."\n"
+ ."\n"
+ .'> You do not need to configure this parameter if you call this operation for the first time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The IDs of the Anti-DDoS Proxy (Chinese Mainland) instances that you want to query.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance that you want to query.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n"
+ ."\n"
+ .'* You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zz121ogz****', 'title' => ''],
'required' => false,
- 'example' => '10',
- 'default' => '10',
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 51,
+ 'title' => '',
],
],
[
- 'name' => 'Page',
+ 'name' => 'Tags',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The page number.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'An array consisting of tags that you want to query. Each tag consists of a tag **key** and a tag **value**.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The key of the tag that you want to query.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n"
+ ."\n"
+ .'* You can call the [DescribeTagKeys](~~159785~~) operation to query all tag keys.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testkey', 'title' => ''],
+ 'Value' => ['description' => 'The value of the tag that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '1',
- 'default' => '1',
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -15426,71 +13415,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'SlaEvent' => [
- 'description' => 'The destination rate limit events.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'StartTime' => [
- 'description' => 'The beginning of the time range. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1678080840',
- ],
- 'EndTime' => [
- 'description' => 'The end of the time range. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1671886740',
- ],
- 'Ip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'Region' => [
- 'description' => 'The region to which the destination IP address belongs. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland'."\n"
- .'* **cn-hongkong**: China (Hong Kong)'."\n",
- 'type' => 'string',
- 'example' => 'cn',
+ 'NextToken' => ['description' => 'The query token that is returned in this call.'."\n", 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3', 'title' => ''],
+ 'TagResources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TagResource' => [
+ 'description' => 'The tags that are added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TagValue' => ['description' => 'The value of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'testkey', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type. The value is fixed as **INSTANCE**, which indicates an Anti-DDoS Proxy instance.'."\n", 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''],
+ 'ResourceId' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zz121ogz****', 'title' => ''],
+ 'TagKey' => ['description' => 'The key of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'testvalue', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'Total' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ '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":"<DescribeTagResourcesResponse>\\n <NextToken>RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****</NextToken>\\n <RequestId>36E698F7-48A4-48D0-9554-0BB4BAAB99B3</RequestId>\\n <TagResources>\\n <TagValue>testkey</TagValue>\\n <ResourceType>INSTANCE</ResourceType>\\n <ResourceId>ddoscoo-cn-zz121ogz****</ResourceId>\\n <TagKey>testvalue</TagKey>\\n </TagResources>\\n</DescribeTagResourcesResponse>","errorExample":""}]',
+ 'title' => 'DescribeTagResources',
+ 'summary' => 'Queries the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.',
+ 'description' => 'You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n"
+ ."\n"
+ .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n"
+ ."\n"
+ .'### [](#qps-)QPS limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlaEvent\\": [\\n {\\n \\"StartTime\\": 1678080840,\\n \\"EndTime\\": 1671886740,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Region\\": \\"cn\\"\\n }\\n ],\\n \\"Total\\": 10\\n}","type":"json"}]',
- 'title' => 'DescribeSlaEventList',
- ],
- 'DescribeDomainAttackEvents' => [
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeUdpReflect' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15500,81 +13500,24 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106121',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106193',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
- ],
- [
- 'name' => 'PageNumber',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The ID of the instance to query.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The region ID of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n"
+ .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -15582,71 +13525,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of returned DDoS attack events.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'DomainAttackEvents' => [
- 'description' => 'An array that consists of the details of the DDoS attack event.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F', 'title' => ''],
+ 'UdpSports' => [
+ 'description' => 'An array consisting of the source ports of the UDP traffic that are filtered out by the filtering policies for UDP reflection attacks.'."\n",
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1560320160',
- ],
- 'StartTime' => [
- 'description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1560312900',
- ],
- 'Domain' => [
- 'description' => 'The attacked domain name.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'MaxQps' => [
- 'description' => 'The peak attack QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- ],
- ],
+ 'items' => ['description' => 'The source port of the UDP traffic that is filtered out by the filtering policies for UDP reflection attacks.'."\n", 'type' => 'string', 'example' => '17', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainAttackEventsResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<DomainAttackEvents>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<MaxQps>1000</MaxQps>\\r\\n\\t\\t<StartTime>1560312900</StartTime>\\r\\n\\t\\t<EndTime>1560320160</EndTime>\\r\\n\\t</DomainAttackEvents>\\r\\n</DescribeDomainAttackEventsResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainAttackEvents',
- 'summary' => 'Queries the attack events launched against a website.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F97A8766-FB4D-411A-9CD5-2CFF701B592F\\",\\n \\"UdpSports\\": [\\n \\"17\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUdpReflectResponse>\\r\\n\\t<RequestId>F97A8766-FB4D-411A-9CD5-2CFF701B592F</RequestId>\\r\\n\\t<UdpSports>17</UdpSports>\\r\\n\\t<UdpSports>19</UdpSports>\\r\\n\\t<UdpSports>69</UdpSports>\\r\\n\\t<UdpSports>111</UdpSports>\\r\\n\\t<UdpSports>123</UdpSports>\\r\\n\\t<UdpSports>137</UdpSports>\\r\\n\\t<UdpSports>161</UdpSports>\\r\\n\\t<UdpSports>389</UdpSports>\\r\\n\\t<UdpSports>1194</UdpSports>\\r\\n\\t<UdpSports>1900</UdpSports>\\r\\n\\t<UdpSports>3389</UdpSports>\\r\\n\\t<UdpSports>11211</UdpSports>\\r\\n\\t<UdpSports>11212</UdpSports>\\r\\n</DescribeUdpReflectResponse>","errorExample":""}]',
+ 'title' => 'DescribeUdpReflect',
+ 'summary' => 'Queries the source ports of UDP traffic that are filtered out by the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance.',
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDefenseCountStatistics' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUdpReflect'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUdpReflect',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeUnBlackholeCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15656,24 +13582,15 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106118',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeCode' => '106194',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -15681,68 +13598,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444',
- ],
- 'DefenseCountStatistics' => [
- 'description' => 'The statistics on the number of advanced mitigation sessions.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'FlowPackCountRemain' => [
- 'description' => 'The number of available global advanced mitigation sessions for the Insurance mitigation plan.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'MaxUsableDefenseCountCurrentMonth' => [
- 'description' => 'The maximum number of advanced mitigation sessions available for the current calendar month. The advanced mitigation sessions include the advanced mitigation sessions that are provided free of charge and the global advanced mitigation sessions that you purchase.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'DefenseCountTotalUsageOfCurrentMonth' => [
- 'description' => 'The number of advanced mitigation sessions that are used within the current calendar month.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SecHighSpeedCountRemain' => [
- 'description' => 'The number of available global advanced mitigation sessions for the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total quota that you can deactivate blackhole filtering.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'RemainCount' => ['description' => 'The remaining quota that you can deactivate blackhole filtering.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<DescribeDefenseCountStatisticsResponse>\\n <RequestId>310A41FD-0990-5610-92E0-A6A55D7C6444</RequestId>\\n <DefenseCountStatistics>\\n <FlowPackCountRemain>0</FlowPackCountRemain>\\n <MaxUsableDefenseCountCurrentMonth>20</MaxUsableDefenseCountCurrentMonth>\\n <DefenseCountTotalUsageOfCurrentMonth>0</DefenseCountTotalUsageOfCurrentMonth>\\n <SecHighSpeedCountRemain>0</SecHighSpeedCountRemain>\\n </DefenseCountStatistics>\\n</DescribeDefenseCountStatisticsResponse>","errorExample":""}]',
- 'title' => 'DescribeDefenseCountStatistics',
- 'summary' => 'Queries the statistics on advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.',
- 'description' => 'You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of remaining advanced mitigation sessions.'."\n"
- ."\n"
- .'> This operation is suitable only for Anti-DDoS Proxy (Outside Chinese Mainland).'."\n"
- ."\n"
- .'### [](#qps-)QPS limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the "Examples" section of this topic.'."\n",
- ],
- 'DescribeAttackAnalysisMaxQps' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"232929FA-40B6-4C53-9476-EE335ABA44CD\\",\\n \\"TotalCount\\": 5,\\n \\"RemainCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUnBlackholeCountResponse>\\r\\n\\t<TotalCount>5</TotalCount>\\r\\n\\t<RequestId>232929FA-40B6-4C53-9476-EE335ABA44CD</RequestId>\\r\\n\\t<RemainCount>5</RemainCount>\\r\\n</DescribeUnBlackholeCountResponse>","errorExample":""}]',
+ 'title' => 'DescribeUnBlackholeCount',
+ 'summary' => 'Queries the total quota and remaining quota for blackhole filtering deactivation.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlackholeCount'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUnBlackholeCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeUnBlockCount' => [
+ 'summary' => 'Queries the available near-origin traffic diversion quota.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15752,40 +13649,17 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106093',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106195',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1622476799',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1619798400',
- ],
- ],
- [
- 'name' => 'Ip',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. By default, this parameter is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -15793,36 +13667,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Qps' => [
- 'description' => 'The peak queries per second (QPS) of DDoS attacks. Units: QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '41652',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of available near-origin traffic diversion sessions.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'RemainCount' => ['description' => 'The remaining number of available near-origin traffic diversion sessions.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Qps\\": 41652,\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<DescribeAttackAnalysisMaxQpsResponse>\\n\\t<RequestId>8DFB602D-1AAC-46C4-90F2-C84086E7A6E4</RequestId>\\n\\t<Qps>41652</Qps>\\n</DescribeAttackAnalysisMaxQpsResponse>","errorExample":""}]',
- 'summary' => 'Queries the peak QPS of DDoS attacks within the specific period of time.',
+ 'title' => 'Query available near-origin traffic diversion quota',
+ 'description' => '> This operation is applicable only to Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland) service.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDestinationPortEvent' => [
- 'summary' => 'Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlockCount'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUnBlockCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"TotalCount\\": 10,\\n \\"RemainCount\\": 7\\n}","type":"json"}]',
+ ],
+ 'DescribeWebAccessLogDispatchStatus' => [
+ 'summary' => 'Queries the full log switch status of all domain names.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15831,74 +13717,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '187278',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106197',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region in which your service is deployed. Valid values:'."\n"
- ."\n"
- .'* **cn**: a region in the Chinese mainland.'."\n"
- .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
- ],
- [
- 'name' => 'EventType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the attack event that you want to query. Valid values:'."\n"
- ."\n"
- .'* **defense**: attack events that trigger traffic scrubbing.'."\n"
- .'* **blackhole**: attack events that trigger blackhole filtering.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'defense',
- ],
- ],
- [
- 'name' => 'StartTime',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1720059000',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not set this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the attacker.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.107.XX.XX'."\n",
- ],
+ 'schema' => ['description' => 'The page number of the current page in a paginated query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''],
],
[
- 'name' => 'Range',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of destination ports to return. The ports are sorted in descending order of the number of received request packets. By default, the first **10** ports are returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The number of domain names on each page in a paginated query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''],
],
],
'responses' => [
@@ -15906,52 +13747,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502',
- ],
- 'PortList' => [
- 'description' => 'The ports.'."\n",
+ 'TotalCount' => ['description' => 'The total number of domain names queried.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ 'SlsConfigStatus' => [
+ 'description' => 'The full log switch status of the domain names.',
'type' => 'array',
'items' => [
- 'description' => 'The information about the port.'."\n",
'type' => 'object',
'properties' => [
- 'DstPort' => [
- 'description' => 'The destination port.'."\n",
- 'type' => 'string',
- 'example' => '80',
- ],
- 'InPkts' => [
- 'description' => 'The number of request packets received by the destination port.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8760950',
- ],
+ 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''],
+ 'Enable' => ['description' => 'Indicates whether full log collection is enabled. Valid values:'."\n"
+ .'- **true**: enabled.'."\n"
+ .'- **false**: disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'Query the full log switch status of all domain names',
+ 'description' => 'This operation is used to query the full log switch status of all domain names that are added to Anti-DDoS Pro for protection.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The QPS limit on this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. We recommend that you call this operation at a proper frequency.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also include the Alibaba Cloud common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format of this operation, see the request examples in this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"PortList\\": [\\n {\\n \\"DstPort\\": \\"80\\",\\n \\"InPkts\\": 8760950\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDestinationPortEvent',
- ],
- 'DescribePortFlowList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogDispatchStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogDispatchStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlsConfigStatus\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeWebAccessLogEmptyCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15961,90 +13820,165 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106175',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106198',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
+ 'type' => 'object',
+ 'properties' => [
+ 'AvailableCount' => ['description' => 'The remaining quota that you can clear the Logstore.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAccessLogEmptyCountResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<AvailableCount>10</AvailableCount>\\r\\n</DescribeWebAccessLogEmptyCountResponse>","errorExample":""}]',
+ 'title' => 'DescribeWebAccessLogEmptyCount',
+ 'summary' => 'Queries the remaining quota that allows you to clear the Logstore.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogEmptyCount'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'**'."\n"
- ."\n"
- .'**This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogEmptyCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeWebAccessLogStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'StartTime',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106199',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'**'."\n"
- ."\n"
- .'**This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Interval',
+ 'name' => 'Domain',
'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds. The interval that you can specify varies based on the time range to query. The time range to query is determined by the values of **StartTime** and **EndTime**.'."\n"
- ."\n"
- .'* If the time range to query is no greater than 1 hour, we recommend that you specify the interval from 60 seconds to the time range to query.'."\n"
- .'* If the time range to query is greater than 1 hour but no greater than 6 hours, we recommend that you specify the interval from 600 seconds to the time range to query.'."\n"
- .'* If the time range to query is greater than 6 hours but no greater than 24 hours, we recommend that you specify the interval from 1,800 seconds to the time range to query.'."\n"
- .'* If the time range to query is greater than 24 hours but no greater than 7 days, we recommend that you specify the interval from 3,600 seconds to the time range to query.'."\n"
- .'* If the time range to query is greater than 7 days but no greater than 15 days, we recommend that you specify the interval from 14,400 seconds to the time range to query.'."\n"
- .'* If the time range to query is greater than 15 days, we recommend that you specify the interval from 43,200 seconds to the time range to query.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1000',
+ 'type' => 'object',
+ 'properties' => [
+ 'SlsLogstore' => ['description' => 'The Logstore of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-logstore', 'title' => ''],
+ 'SlsStatus' => ['description' => 'Indicates whether the Log Analysis feature is enabled for the website. Valid values:'."\n"
+ ."\n"
+ .'* **true**: enabled'."\n"
+ .'* **false**: disabled'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'SlsProject' => ['description' => 'The Log Service project of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAccessLogStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsStatus>true</SlsStatus>\\r\\n\\t<SlsProject>ddoscoo-project-128965410602****-cn-hangzhou</SlsProject>\\r\\n\\t<SlsLogstore>ddoscoo-logstore</SlsLogstore>\\r\\n</DescribeWebAccessLogStatusResponse>","errorExample":""}]',
+ 'title' => 'DescribeWebAccessLogStatus',
+ 'summary' => 'Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogStatus'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InstanceIds',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeWebAccessMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106201',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array that consists of the IDs of instances.'."\n",
+ 'description' => 'The domain names of website businesses.'."\n"
+ ."\n"
+ .'> The domain names must have website forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zz120cjv****',
- ],
+ 'items' => ['description' => 'The domain name of a website business.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.test****.com'],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -16053,132 +13987,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B',
- ],
- 'PortFlowList' => [
- 'description' => 'The returned traffic data.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
+ 'DomainModes' => [
+ 'description' => 'The access mode information of website businesses.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Time' => [
- 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1582992000',
- ],
- 'InPps' => [
- 'description' => 'The packet forwarding rate of inbound traffic. Unit: packets per second.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2934',
- ],
- 'InBps' => [
- 'description' => 'The inbound bandwidth. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2176000',
- ],
- 'Region' => [
- 'description' => 'The source region of the traffic. Valid values:'."\n"
- ."\n"
- .'* **cn**: mainland China'."\n"
- .'* **alb-ap-northeast-1-gf-x**: Japan (Tokyo)'."\n"
- .'* **alb-ap-southeast-gf-x**: Singapore'."\n"
- .'* **alb-cn-hongkong-gf-x**: Hong Kong (China)'."\n"
- .'* **alb-eu-central-1-gf-x**: Germany (Frankfurt)'."\n"
- .'* **alb-us-west-1-gf-x**: US (Silicon Valley)'."\n"
- ."\n"
- .'> The values except **cn** are returned only when **RegionId** is set to **ap-southeast-1**.'."\n",
- 'type' => 'string',
- 'example' => 'cn',
- ],
- 'OutPps' => [
- 'description' => 'The packet forwarding rate of outbound traffic. Unit: packets per second (pps).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'AttackPps' => [
- 'description' => 'The packet forwarding rate of attack traffic. Unit: pps.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OutBps' => [
- 'description' => 'The outbound bandwidth. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4389',
- ],
- 'AttackBps' => [
- 'description' => 'The bandwidth of attack traffic. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SlaBpsDropBps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaPpsDropBps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaCpsDropBps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaConnDropBps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaBpsDropPps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaPpsDropPps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaCpsDropPps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SlaConnDropPps' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'AccessMode' => ['description' => 'The access mode. Valid values:'."\n"
+ ."\n"
+ .'- **0**: A record access'."\n"
+ ."\n"
+ .'- **1**: Anti-DDoS Proxy mode'."\n"
+ ."\n"
+ .'- **2**: Back-to-origin mode', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"PortFlowList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"InPps\\": 2934,\\n \\"InBps\\": 2176000,\\n \\"Region\\": \\"cn\\",\\n \\"OutPps\\": 5,\\n \\"AttackPps\\": 0,\\n \\"OutBps\\": 4389,\\n \\"AttackBps\\": 0,\\n \\"SlaBpsDropBps\\": 0,\\n \\"SlaPpsDropBps\\": 0,\\n \\"SlaCpsDropBps\\": 0,\\n \\"SlaConnDropBps\\": 0,\\n \\"SlaBpsDropPps\\": 0,\\n \\"SlaPpsDropPps\\": 0,\\n \\"SlaCpsDropPps\\": 0,\\n \\"SlaConnDropPps\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribePortFlowList',
- 'summary' => 'Queries the traffic data of one or more Anti-DDoS Proxy instances.',
- ],
- 'DescribePortConnsList' => [
- 'summary' => 'Queries the connections established over the ports of one or more Anti-DDoS Proxy instances.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModes\\": [\\n {\\n \\"AccessMode\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeWebAccessMode',
+ 'summary' => 'Queries the access mode of website businesses.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessMode'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeWebAreaBlockConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16188,91 +14057,29 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106174',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106202',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1000',
- ],
- ],
- [
- 'name' => 'Port',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '80',
- ],
- ],
- [
- 'name' => 'InstanceIds',
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the instance.'."\n"
+ 'description' => 'The domain names of the website services.'."\n"
."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ .'> The domain names must have forwarding rules configured for website services. You can call [DescribeDomains](~~91724~~) to query all domain names.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'items' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 10,
+ 'title' => '',
],
],
],
@@ -16281,155 +14088,114 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1',
- ],
- 'ConnsList' => [
- 'description' => 'Details about the connections established over the port.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
+ 'AreaBlockConfigs' => [
+ 'description' => 'The configuration information of the Location Blacklist feature (for domain names).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ActConns' => [
- 'description' => 'The number of active connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'InActConns' => [
- 'description' => 'The number of inactive connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16506',
- ],
- 'Cps' => [
- 'description' => 'The number of new connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Conns' => [
- 'description' => '> This parameter is in internal preview. Do not use this parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'RegionList' => [
+ 'description' => 'The information about the blocked regions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Region' => ['description' => 'The region.', 'type' => 'string', 'example' => 'CN-SHANGHAI', 'title' => ''],
+ 'Block' => ['description' => 'The blocking status. Valid values:'."\n"
+ ."\n"
+ .'- **0**: not blocked'."\n"
+ ."\n"
+ .'- **1**: blocked', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<DescribePortConnsListResponse>\\n <RequestId>6D48AED0-41DB-5D9B-B484-3B6AAD312AD1</RequestId>\\n <ConnsList>\\n <ActConns>3</ActConns>\\n <InActConns>2</InActConns>\\n <Index>16506</Index>\\n <Cps>0</Cps>\\n <Conns>8</Conns>\\n </ConnsList>\\n</DescribePortConnsListResponse>","errorExample":""}]',
- 'title' => 'DescribePortConnsList',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"AreaBlockConfigs\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RegionList\\": [\\n {\\n \\"Region\\": \\"CN-SHANGHAI\\",\\n \\"Block\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeWebAreaBlockConfigs',
+ 'summary' => 'Queries the configuration information of the Location Blacklist feature (for domain names) in website services.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribePortConnsCount' => [
- 'summary' => 'The statistics on the connections established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances are queried.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAreaBlockConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAreaBlockConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeWebCCRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
+ 'deprecated' => true,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106173',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106205',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'Port',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '80',
- ],
+ 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IDs of instances.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -16437,53 +14203,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'InActConns' => [
- 'description' => 'The number of inactive connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '121',
- ],
- 'ActConns' => [
- 'description' => 'The number of active connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '159',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776',
- ],
- 'Cps' => [
- 'description' => 'The number of new connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Conns' => [
- 'description' => 'The number of concurrent connections.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '46340',
+ 'TotalCount' => ['description' => 'The total number of custom frequency control rules.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314', 'title' => ''],
+ 'WebCCRules' => [
+ 'description' => 'The custom frequency control rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Ttl' => ['description' => 'The validity period. Valid values: **1** to **1440**. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
+ 'Act' => ['description' => 'The action triggered if the rule is matched. Valid values:'."\n"
+ ."\n"
+ .'* **close**: The requests that match the rule are blocked.'."\n"
+ .'* **captcha**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n", 'type' => 'string', 'example' => 'close', 'title' => ''],
+ 'Interval' => ['description' => 'The check interval. Valid values: **5** to **10800**. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'Mode' => ['description' => 'The match mode. Valid values:'."\n"
+ ."\n"
+ .'* **prefix**: prefix match.'."\n"
+ .'* **match**: exact match.'."\n", 'type' => 'string', 'example' => 'prefix', 'title' => ''],
+ 'Name' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'wq', 'title' => ''],
+ 'Uri' => ['description' => 'The check path.'."\n", 'type' => 'string', 'example' => '/hello', 'title' => ''],
+ 'Count' => ['description' => 'The number of requests that are allowed from a single IP address. Valid values: **2** to **2000**.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"InActConns\\": 121,\\n \\"ActConns\\": 159,\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\",\\n \\"Cps\\": 0,\\n \\"Conns\\": 46340\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePortConnsCountResponse>\\r\\n\\t<Conns>46340</Conns>\\r\\n\\t<RequestId>48859E14-A9FB-4100-99FF-AAB75CA46776</RequestId>\\r\\n\\t<Cps>0</Cps>\\r\\n\\t<ActConns>159</ActConns>\\r\\n\\t<InActConns>121</InActConns>\\r\\n</DescribePortConnsCountResponse>","errorExample":""}]',
- 'title' => 'DescribePortConnsCount',
+ 'staticInfo' => [
+ 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"EAED912D-909E-45F0-AF74-AC0CCDCAE314\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Ttl\\": 60,\\n \\"Act\\": \\"close\\",\\n \\"Interval\\": 5,\\n \\"Mode\\": \\"prefix\\",\\n \\"Name\\": \\"wq\\",\\n \\"Uri\\": \\"/hello\\",\\n \\"Count\\": 3\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebCCRulesResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>EAED912D-909E-45F0-AF74-AC0CCDCAE314</RequestId>\\r\\n\\t<WebCCRules>\\r\\n\\t\\t<Act>close</Act>\\r\\n\\t\\t<Mode>prefix</Mode>\\r\\n\\t\\t<Count>3</Count>\\r\\n\\t\\t<Ttl>60</Ttl>\\r\\n\\t\\t<Uri>/hello</Uri>\\r\\n\\t\\t<Name>wq</Name>\\r\\n\\t\\t<Interval>5</Interval>\\r\\n\\t</WebCCRules>\\r\\n</DescribeWebCCRulesResponse>","errorExample":""}]',
+ 'title' => 'DescribeWebCCRules',
+ 'summary' => 'Queries the custom frequency control rules that are created for a website.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribePortMaxConns' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCCRules'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCCRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeWebCCRulesV2' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16492,126 +14281,202 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106176',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '198809',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The domain name of the website protected by Alibaba Cloud Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **20**. Default value: **20**.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The starting index of the results to return. Default value: **0**.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Owner',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => ' ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => ' ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The source of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **manual** (default): manually added'."\n"
+ ."\n"
+ .'- **clover**: automatically generated', 'type' => 'string', 'example' => 'manual', 'required' => false, 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C',
- ],
- 'PortMaxConns' => [
- 'description' => 'The details of the maximum number of connections that can be established over a port of the instance.'."\n",
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'TotalCount' => ['description' => 'The total number of frequency control rules.', 'type' => 'string', 'example' => '12', 'title' => ''],
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'WebCCRules' => [
+ 'description' => 'Custom HTTP flood protection (CC protection) rules.',
'type' => 'array',
'items' => [
+ 'description' => 'Custom HTTP flood protection (CC protection) rules.',
'type' => 'object',
'properties' => [
- 'Ip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.117',
- ],
- 'Port' => [
- 'description' => 'The port of the instance.'."\n",
- 'type' => 'string',
- 'example' => '80',
- ],
- 'Cps' => [
- 'description' => 'The maximum number of connections per second (CPS).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
+ 'Owner' => ['description' => 'The source of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **manual** (default): manually added'."\n"
+ ."\n"
+ .'- **clover**: automatically generated', 'type' => 'string', 'example' => 'manual', 'title' => ''],
+ 'Expires' => ['description' => 'The validity period of the rule, in seconds. This parameter takes effect only when the action is set to block. During the validity period, access requests are blocked. A value of 0 means the rule is permanently valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'wq', 'title' => ''],
+ 'RuleDetail' => [
+ 'description' => 'Details of the rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Mode' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'string', 'example' => '废弃', 'title' => ''],
+ 'Count' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '废弃', 'title' => ''],
+ 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'ccauto14', 'title' => ''],
+ 'Action' => ['description' => 'The action to take when the rule matches. Valid values:'."\n"
+ ."\n"
+ .'- **accept**: allow'."\n"
+ ."\n"
+ .'- **block**: block'."\n"
+ ."\n"
+ .'- **challenge**: JavaScript Challenge'."\n"
+ ."\n"
+ .'- **watch**: monitor', 'type' => 'string', 'example' => 'block', 'title' => ''],
+ 'Interval' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
+ 'Ttl' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''],
+ 'Uri' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'string', 'example' => '/p3shijihao', 'title' => ''],
+ 'RateLimit' => [
+ 'description' => 'Rate limiting settings.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubKey' => ['description' => 'The header field name. Set this parameter only when Target is set to header.', 'type' => 'string', 'example' => 'action', 'title' => ''],
+ 'Interval' => ['description' => 'The statistical period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
+ 'Threshold' => ['description' => 'The threshold that triggers the action.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'Ttl' => ['description' => 'The blocking duration, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''],
+ 'Target' => ['description' => 'The source for statistics. Valid values:'."\n"
+ ."\n"
+ .'- **ip**: count by IP address'."\n"
+ ."\n"
+ .'- **header**: count by HTTP header', 'type' => 'string', 'example' => 'ip', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Condition' => [
+ 'description' => 'A list of matching conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A matching condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MatchMethod' => ['description' => 'The matching method.', 'type' => 'string', 'example' => 'belong', 'title' => ''],
+ 'Field' => ['description' => 'The field to match.', 'type' => 'string', 'example' => 'ip', 'title' => ''],
+ 'HeaderName' => ['description' => 'The custom HTTP header field name.'."\n"
+ ."\n"
+ .'> This parameter takes effect only when **Field** is set to **header**.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'Content' => ['description' => 'The content to match.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
+ 'ContentList' => [
+ 'description' => 'The content to match when MatchMethod is set to match one of multiple values.',
+ 'items' => ['type' => 'string', 'example' => '["2","3","ad"]', 'description' => '', 'title' => ''],
+ 'type' => 'array',
+ 'example' => '["2","3","ad"]',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Statistics' => [
+ 'description' => 'Deduplication settings. This parameter is optional. If not specified, deduplication is disabled.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Mode' => ['description' => 'The deduplication mode. Valid values:'."\n"
+ ."\n"
+ .'- **count**: no deduplication'."\n"
+ ."\n"
+ .'- **distinct**: deduplication enabled', 'type' => 'string', 'example' => 'count', 'title' => ''],
+ 'Field' => ['description' => 'The source for statistics. Valid values:'."\n"
+ ."\n"
+ .'- **ip**: count by IP address'."\n"
+ ."\n"
+ .'- **header**: count by HTTP header'."\n"
+ ."\n"
+ .'- **uri**: count by URI', 'type' => 'string', 'example' => 'uri', 'title' => ''],
+ 'HeaderName' => ['description' => 'Set this parameter only when Field is set to header.', 'type' => 'string', 'example' => 'hello', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'StatusCode' => [
+ 'description' => 'The status code of the rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => ['description' => 'Whether the status code check is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: enabled'."\n"
+ ."\n"
+ .'- **false**: disabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Code' => ['description' => 'The HTTP status code. Valid values: **100** to **599**.'."\n"
+ ."\n"
+ .'- **200**: success'."\n"
+ ."\n"
+ .'- Others: error codes', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'UseRatio' => ['description' => 'Whether to use a ratio threshold:'."\n"
+ ."\n"
+ .'- **true**: use ratio'."\n"
+ ."\n"
+ .'- **false**: do not use ratio', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CountThreshold' => ['description' => 'If UseRatio is false, the action is triggered only when the number of requests with the specified status code reaches **CountThreshold**. Valid values: **2** to **50000**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'RatioThreshold' => ['description' => 'If UseRatio is true, the action is triggered only when the percentage of requests with the specified status code reaches **RatioThreshold**. Valid values: **1** to **100**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"08F79110-2AF5-4FA7-998E-7C5E75EACF9C\\",\\n \\"PortMaxConns\\": [\\n {\\n \\"Ip\\": \\"203.***.***.117\\",\\n \\"Port\\": \\"80\\",\\n \\"Cps\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePortMaxConnsResponse>\\r\\n\\t<PortMaxConns>\\r\\n\\t\\t<Port>80</Port>\\r\\n\\t\\t<Ip>203.***.***.117</Ip>\\r\\n\\t\\t<Cps>0</Cps>\\r\\n\\t</PortMaxConns>\\r\\n\\t<PortMaxConns>\\r\\n\\t\\t<Port>443</Port>\\r\\n\\t\\t<Ip>203.***.***.117</Ip>\\r\\n\\t\\t<Cps>0</Cps>\\r\\n\\t</PortMaxConns>\\r\\n\\t<RequestId>08F79110-2AF5-4FA7-998E-7C5E75EACF9C</RequestId>\\r\\n</DescribePortMaxConnsResponse>","errorExample":""}]',
- 'title' => 'DescribePortMaxConns',
- 'summary' => 'Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribePortAttackMaxFlow' => [
- 'summary' => 'Queries the peak attack traffic bandwidth and peak attack traffic packet rates of one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeWebCCRulesV2',
+ 'summary' => 'Queries the custom HTTP flood protection (CC protection) rules for website traffic.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-30T03:50:36.000Z', 'description' => 'Response parameters changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"TotalCount\\": \\"12\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Owner\\": \\"manual\\",\\n \\"Expires\\": 0,\\n \\"Name\\": \\"wq\\",\\n \\"RuleDetail\\": {\\n \\"Mode\\": \\"废弃\\",\\n \\"Count\\": 0,\\n \\"Name\\": \\"ccauto14\\",\\n \\"Action\\": \\"block\\",\\n \\"Interval\\": 60,\\n \\"Ttl\\": 300,\\n \\"Uri\\": \\"/p3shijihao\\",\\n \\"RateLimit\\": {\\n \\"SubKey\\": \\"action\\",\\n \\"Interval\\": 60,\\n \\"Threshold\\": 20,\\n \\"Ttl\\": 15,\\n \\"Target\\": \\"ip\\"\\n },\\n \\"Condition\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"Content\\": \\"192.0.XX.XX\\",\\n \\"ContentList\\": [\\n \\"[\\\\\\"2\\\\\\",\\\\\\"3\\\\\\",\\\\\\"ad\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"Statistics\\": {\\n \\"Mode\\": \\"count\\",\\n \\"Field\\": \\"uri\\",\\n \\"HeaderName\\": \\"hello\\"\\n },\\n \\"StatusCode\\": {\\n \\"Enabled\\": true,\\n \\"Code\\": 200,\\n \\"UseRatio\\": true,\\n \\"CountThreshold\\": 10,\\n \\"RatioThreshold\\": 10\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeWebCacheConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16620,71 +14485,32 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106165',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '106203',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'InstanceIds',
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'description' => 'An array consisting of domain names for which you want to query the Static Page Caching configurations.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
+ 'items' => ['description' => 'The domain name for which you want to query the Static Page Caching configurations.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com', 'title' => ''],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 5,
+ 'title' => '',
],
],
],
@@ -16693,31 +14519,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'Bps' => [
- 'description' => 'The peak bandwidth of attack traffic. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '149559',
- ],
- 'Pps' => [
- 'description' => 'The peak packet rate of attack traffic . Unit: packets per second (pps).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '23',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''],
+ 'DomainCacheConfigs' => [
+ 'description' => 'An array that consists of Static Page Caching configurations.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Domain' => ['description' => 'The domain name of the website.'."\n", 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''],
+ 'Mode' => ['description' => 'The cache mode. Valid values:'."\n"
+ ."\n"
+ .'* **standard**: The standard cache mode is used.'."\n"
+ .'* **aggressive**: The enhanced cache mode is used.'."\n"
+ .'* **bypass**: No data is cached.'."\n", 'type' => 'string', 'example' => 'bypass', 'title' => ''],
+ 'Enable' => ['description' => 'The status of the Static Page Caching policy. Valid values:'."\n"
+ ."\n"
+ .'* **1**: enabled'."\n"
+ .'* **0**: disabled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CustomRules' => [
+ 'description' => 'An array that consists of custom caching rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Mode' => ['description' => 'The cache mode. Valid values:'."\n"
+ ."\n"
+ .'* **standard**: The standard cache mode is used.'."\n"
+ .'* **aggressive**: The enhanced cache mode is used.'."\n"
+ .'* **bypass**: No data is cached.'."\n", 'type' => 'string', 'example' => 'standard', 'title' => ''],
+ 'CacheTtl' => ['description' => 'The expiration time of the page cache. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '86400', 'title' => ''],
+ 'Name' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'c1', 'title' => ''],
+ 'Uri' => ['description' => 'The path to the cached page.'."\n", 'type' => 'string', 'example' => '/blog/', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Bps\\": 149559,\\n \\"Pps\\": 23\\n}","errorExample":""},{"type":"xml","example":"<DescribePortAttackMaxFlowResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <Bps>149559</Bps>\\n <Pps>23</Pps>\\n</DescribePortAttackMaxFlowResponse>","errorExample":""}]',
- 'title' => 'DescribePortAttackMaxFlow',
- 'description' => 'You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n"
+ '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":"<DescribeWebCacheConfigsResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <DomainCacheConfigs>\\n <Domain>www.aliyundoc.com</Domain>\\n <Mode>bypass</Mode>\\n <Enable>1</Enable>\\n <CustomRules>\\n <Mode>standard</Mode>\\n <CacheTtl>86400</CacheTtl>\\n <Name>c1</Name>\\n <Uri>/blog/</Uri>\\n </CustomRules>\\n </DomainCacheConfigs>\\n</DescribeWebCacheConfigsResponse>","errorExample":""}]',
+ 'title' => 'DescribeWebCacheConfigs',
+ 'summary' => 'Queries the Static Page Caching configuration of websites.',
+ 'description' => 'You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.'."\n"
."\n"
.'### Limits'."\n"
."\n"
@@ -16727,16 +14586,31 @@
.'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribePortViewSourceCountries' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCacheConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeWebCcProtectSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16746,68 +14620,29 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106178',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106204',
+ 'abilityTreeNodes' => ['FEATUREddosCRC1QI'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default. This means the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'InstanceIds',
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'description' => 'The domain names of your web services. You can query up to five domain names at a time.'."\n"
+ ."\n"
+ .'> The domain names must have forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'items' => ['description' => 'The domain name of the web service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 5,
+ 'title' => '',
],
],
],
@@ -16816,51 +14651,113 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'SourceCountrys' => [
- 'description' => 'The details about the country or area from which the requests are sent.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D', 'title' => ''],
+ 'ProtectSwitchList' => [
+ 'description' => 'The status of each protection feature for the web services.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Count' => [
- 'description' => 'The number of requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
- ],
- 'CountryId' => [
- 'description' => 'The abbreviation of the country or area. For example, **cn** indicates China and **us** indicates the United States.'."\n"
- ."\n"
- .'> For more information, see [Location parameters](~~167926~~).'."\n",
- 'type' => 'string',
- 'example' => 'cn',
- ],
+ 'BlackWhiteListEnable' => ['description' => 'The status of the blacklist and whitelist feature for the domain name. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'AiTemplate' => ['description' => 'The protection level of the AI-powered protection feature. Valid values:'."\n"
+ ."\n"
+ .'- **level30**: Loose'."\n"
+ ."\n"
+ .'- **level60**: Normal'."\n"
+ ."\n"
+ .'- **level90**: Strict', 'type' => 'string', 'example' => 'level60', 'title' => ''],
+ 'PreciseRuleEnable' => ['description' => 'The status of the accurate access control feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'Domain' => ['description' => 'The website domain name.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'AiMode' => ['description' => 'The mode of the AI-powered protection feature. Valid values:'."\n"
+ ."\n"
+ .'- **watch**: Warning mode'."\n"
+ ."\n"
+ .'- **defense**: Defense mode', 'type' => 'string', 'example' => 'defense', 'title' => ''],
+ 'AiRuleEnable' => ['description' => 'The status of the AI-powered protection feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'RegionBlockEnable' => ['description' => 'The status of the Location Blacklist feature for the domain name. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CcTemplate' => ['description' => 'The mode of the Frequency Control (CC protection) feature. Valid values:'."\n"
+ ."\n"
+ .'- **default**: Normal'."\n"
+ ."\n"
+ .'- **gf\\_under\\_attack**: Emergency'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_verify**: Strict'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'CcCustomRuleEnable' => ['description' => 'The status of the custom Frequency Control (CC protection) feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'CcEnable' => ['description' => 'The status of the Frequency Control (CC protection) feature. Valid values:'."\n"
+ ."\n"
+ .'- **0**: Disabled'."\n"
+ ."\n"
+ .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CcGlobalSwitch' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribePortViewSourceCountries',
- 'summary' => 'Queries the areas and countries from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.',
- ],
- 'DescribePortViewSourceIsps' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'DescribeWebCcProtectSwitch',
+ 'summary' => 'Queries the status of protection features for your web services.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-04T06:34:53.000Z', 'description' => 'OpenAPI offline'],
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCcProtectSwitch'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCcProtectSwitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3ADD9EED-CA4B-488C-BC82-01B0B899363D\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeWebCustomPorts' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16870,69 +14767,15 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106179',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeCode' => '106206',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
],
],
'responses' => [
@@ -16940,85 +14783,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'Isps' => [
- 'description' => 'An array that consists of the details of the ISP.'."\n",
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
+ 'WebCustomPorts' => [
+ 'description' => 'The custom port information for website services.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Count' => [
- 'description' => 'The total number of requests that are sent from the ISP.'."\n"
- ."\n"
- .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different ISPs.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
- ],
- 'IspId' => [
- 'description' => 'The ID of the ISP. For more information, see the ISP codes table.'."\n",
- 'type' => 'string',
- 'example' => '100017',
+ 'ProxyType' => ['description' => 'The Protocol Type. Valid values:'."\n"
+ ."\n"
+ .'- **http**'."\n"
+ ."\n"
+ .'- **https**', 'type' => 'string', 'title' => '', 'example' => 'http'],
+ 'ProxyPorts' => [
+ 'description' => 'The available port range.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The available port.', 'type' => 'string', 'title' => '', 'example' => '8080'],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Isps\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"IspId\\": \\"100017\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribePortViewSourceIspsResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <Isps>\\n <Count>3390671</Count>\\n <IspId>100017</IspId>\\n </Isps>\\n</DescribePortViewSourceIspsResponse>","errorExample":""}]',
- 'title' => 'DescribePortViewSourceIsps',
- 'summary' => 'Queries the Internet service providers (ISPs) from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.',
- 'description' => 'You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n"
- ."\n"
- .'> The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => '**ISP codes**'."\n"
- ."\n"
- .'|Code|ISP|'."\n"
- .'|---|---|'."\n"
- .'|100017|China Telecom|'."\n"
- .'|100026|China Unicom|'."\n"
- .'|100025|China Mobile|'."\n"
- .'|100027|China Education and Research Network (CERNET)|'."\n"
- .'|100020|China Mobile Tietong|'."\n"
- .'|1000143|Dr.Peng Group|'."\n"
- .'|100080|Beijing Gehua CATV|'."\n"
- .'|1000139|National Radio and Television Administration (NRTA)|'."\n"
- .'|100023|Oriental Cable Network|'."\n"
- .'|100063|Founder Broadband|'."\n"
- .'|1000337|China Internet Exchange (CNIX)|'."\n"
- .'|100021|21Vianet Group|'."\n"
- .'|1000333|Wasu Media Holding|'."\n"
- .'|100093|Wangsu Science &#x26; Technology|'."\n"
- .'|1000401|Tencent|'."\n"
- .'|100099|Baidu|'."\n"
- .'|1000323|Alibaba Cloud|'."\n"
- .'|100098|Alibaba Group|'."\n"
- .'|1000120|KNET|',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"WebCustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"8080\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeWebCustomPorts',
+ 'summary' => 'Queries the range of custom ports supported by Anti-DDoS Proxy for website services.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribePortViewSourceProvinces' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCustomPorts'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCustomPorts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeWebInstanceRelations' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17028,68 +14857,31 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106180',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106207',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.'."\n"
- ."\n"
- .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not configure this parameter, the current system time is used as the end time.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Domains',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n",
+ 'description' => 'The domain names of the website services.'."\n"
+ ."\n"
+ .'> The domain names must have website service forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
+ 'items' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''],
'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 100,
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -17098,53 +14890,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'SourceProvinces' => [
- 'description' => 'The details of the administrative region in China from which the requests are sent.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818', 'title' => ''],
+ 'WebInstanceRelations' => [
+ 'description' => 'The information about Anti-DDoS Pro or Anti-DDoS Premium instances associated with website services.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ProvinceId' => [
- 'description' => 'The ID of the administrative region in China from which the requests are sent. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n"
- ."\n"
- .'> For more information, see [Location parameters](~~167926~~).'."\n",
- 'type' => 'string',
- 'example' => '440000',
- ],
- 'Count' => [
- 'description' => 'The total number of requests that are sent from the ISP.'."\n"
- ."\n"
- .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different administrative regions in China.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'InstanceDetails' => [
+ 'description' => 'The information about the associated Anti-DDoS Pro or Anti-DDoS Premium instances.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FunctionVersion' => ['description' => 'The function plan type. Valid values:'."\n"
+ .'- **default**: Standard function.'."\n"
+ .'- **enhance**: Enhanced function.', 'type' => 'string', 'example' => 'enhance', 'title' => ''],
+ 'InstanceId' => ['description' => 'The Anti-DDoS Pro or Anti-DDoS Premium instance ID.', 'type' => 'string', 'example' => 'ddoscoo-cn-0pp163pd****', 'title' => ''],
+ 'EipList' => [
+ 'description' => 'The list of IP addresses of the Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'example' => '203.***.***.158', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribePortViewSourceProvinces',
- 'summary' => 'Queries the administrative regions in China from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.',
- ],
- 'DescribeDomainQPSList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Query Anti-DDoS Pro or Anti-DDoS Premium instance information associated with website services',
+ 'summary' => 'Queries the information about Anti-DDoS Pro or Anti-DDoS Premium instances associated with website services.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebInstanceRelations'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebInstanceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0222382B-5FE5-4FF7-BC9B-97EE31D58818\\",\\n \\"WebInstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"enhance\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-0pp163pd****\\",\\n \\"EipList\\": [\\n \\"203.***.***.158\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeWebPreciseAccessRule' => [
+ 'summary' => 'Queries the precise access control rules configured for a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17154,69 +14979,47 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106127',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106208',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Domains',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ 'description' => 'The domain name of the website.'."\n"
."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The domain name of the website.', 'type' => 'string', 'required' => false, 'example' => 'www.test****.com', 'title' => ''],
'required' => true,
- 'example' => '1582992000',
+ 'example' => 'www.aliyun.com',
+ 'maxItems' => 5,
+ 'title' => '',
],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Owner',
'in' => 'query',
'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
+ 'description' => 'The source of the rule. Valid values:'."\n"
."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.'."\n"
+ .'- **manual** (default): The rule is manually created.'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
+ .'- **clover**: The rule is automatically generated.',
'type' => 'string',
'required' => false,
- 'example' => 'www.aliyun.com',
+ 'enum' => ['manual', 'clover'],
+ 'example' => 'manual',
+ 'title' => '',
],
],
],
@@ -17225,97 +15028,143 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51',
- ],
- 'DomainQPSList' => [
- 'description' => 'An array that consists of the statistics on the QPS of the website.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638', 'title' => ''],
+ 'PreciseAccessConfigList' => [
+ 'description' => 'The precise access control rules for the website.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Time' => [
- 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1582992000',
- ],
- 'MaxAttackQps' => [
- 'description' => 'The peak attack QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '37',
- ],
- 'AttackQps' => [
- 'description' => 'The attack QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxQps' => [
- 'description' => 'The peak of total QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '130',
- ],
- 'MaxNormalQps' => [
- 'description' => 'The peak of normal QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '93',
- ],
- 'TotalQps' => [
- 'description' => 'The total QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20008',
- ],
- 'CacheHits' => [
- 'description' => 'The number of cache hits.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''],
+ 'RuleList' => [
+ 'description' => 'The list of rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Action' => ['description' => 'The action that is performed on requests that match the rule. Valid values:'."\n"
+ ."\n"
+ .'- **accept**: allows the requests.'."\n"
+ ."\n"
+ .'- **block**: blocks the requests.'."\n"
+ ."\n"
+ .'- **challenge**: triggers a JavaScript Challenge for the requests.', 'type' => 'string', 'example' => 'accept', 'title' => ''],
+ 'Owner' => ['description' => 'The source of the rule. Valid values:'."\n"
+ ."\n"
+ .'- **manual** (default): The rule is manually created.'."\n"
+ ."\n"
+ .'- **clover**: The rule is automatically generated.', 'type' => 'string', 'example' => 'manual', 'title' => ''],
+ 'ExpirePeriod' => ['description' => 'The validity period of the rule. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1598889600', 'title' => ''],
+ 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'testrule', 'title' => ''],
+ 'ConditionList' => [
+ 'description' => 'The list of match conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MatchMethod' => ['description' => 'The logical operator.', 'type' => 'string', 'example' => 'belong', 'title' => ''],
+ 'Field' => ['description' => 'The match field.', 'type' => 'string', 'example' => 'ip', 'title' => ''],
+ 'Content' => ['description' => 'The match content.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''],
+ 'HeaderName' => ['description' => 'The name of the custom HTTP header field.'."\n"
+ ."\n"
+ .'> This parameter is required only when **Field** is set to **header**.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'ContentList' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The match condition.', 'type' => 'string', 'example' => '{"field":"uri","match_method":"contain","content":"/test/123"}', 'title' => ''],
+ 'description' => 'The match conditions of the rule. The value is a JSON string. The value contains the following fields:'."\n"
+ ."\n"
+ .'> If you specify multiple match conditions, the logical relation between these conditions is AND.'."\n"
+ ."\n"
+ .'- **field**: The match field. This parameter is of the string type.'."\n"
+ ."\n"
+ .'- **match\\_method**: The match method. This parameter is of the string type.'."\n"
+ ."\n"
+ .' > For more information about the valid values of **field** and **match\\_method**, see the "Additional information about field and match\\_method" section in this topic.'."\n"
+ ."\n"
+ .'- **content**: The match content. This parameter is of the string type.'."\n"
+ ."\n"
+ .'- **header\\_name**: The name of the header field. This parameter is of the string type. This parameter is required only when **field** is set to **header**.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Expires' => ['description' => 'The validity period of the rule. Unit: seconds. This parameter is required only when the **action** of the rule is **block**. Requests that match the rule are blocked within the validity period. A value of **0** indicates that the rule is permanently valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainQPSListResponse>\\r\\n\\t<DomainQPSList>\\r\\n\\t\\t<MaxAttackQps>37</MaxAttackQps>\\r\\n\\t\\t<TotalQps>1</TotalQps>\\r\\n\\t\\t<TotalCount>20008</TotalCount>\\r\\n\\t\\t<MaxQps>130</MaxQps>\\r\\n\\t\\t<MaxNormalQps>93</MaxNormalQps>\\r\\n\\t\\t<AttackQps>1</AttackQps>\\r\\n\\t\\t<Index>0</Index>\\r\\n\\t\\t<Time>1582992000</Time>\\r\\n\\t\\t<CacheHits>0</CacheHits>\\r\\n\\t</DomainQPSList>\\r\\n\\t<RequestId>327F2ABB-104D-437A-AAB5-D633E29A8C51</RequestId>\\r\\n</DescribeDomainQPSListResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainQPSList',
- 'summary' => 'Queries the statistics on the queries per second (QPS) of a website.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"209EEFBF-B0C7-441E-8C28-D0945A57A638\\",\\n \\"PreciseAccessConfigList\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RuleList\\": [\\n {\\n \\"Action\\": \\"accept\\",\\n \\"Owner\\": \\"manual\\",\\n \\"ExpirePeriod\\": 1598889600,\\n \\"Name\\": \\"testrule\\",\\n \\"ConditionList\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"Content\\": \\"1.1.1.1\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"ContentList\\": [\\n \\"{\\\\\\"field\\\\\\":\\\\\\"uri\\\\\\",\\\\\\"match_method\\\\\\":\\\\\\"contain\\\\\\",\\\\\\"content\\\\\\":\\\\\\"/test/123\\\\\\"}\\"\\n ]\\n }\\n ],\\n \\"Expires\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeWebPreciseAccessRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => '**Additional information about field and match\\_method**'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
+ .'| Match field (field) | Description | Applicable logical operator (match_method) |'."\n"
+ .'| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |'."\n"
+ .'| **ip** | The source IP address of the request. | **belong**: belongs to<br>**nbelong**: does not belong to |'."\n"
+ .'| **uri** | The URI of the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**regular**: matches a regular expression |'."\n"
+ .'| **referer** | The Referer header of the request, which indicates the source from which the request is redirected. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**nexist**: does not exist<br>**regular**: matches a regular expression |'."\n"
+ .'| **user-agent** | The User-Agent header of the request, which includes information such as the browser identifier, rendering engine, and version. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**regular**: matches a regular expression |'."\n"
+ .'| **params** | The parameters in the URL of the request. This refers to the part of the URL that follows the question mark (?). For example, in `demo.aliyundoc.com/index.html?action=login`, `action=login` is the parameter part. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than |'."\n"
+ .'| **cookie** | The Cookie header of the request. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**nexist**: does not exist |'."\n"
+ .'| **content-type** | The Content-Type header of the request, which specifies the Multipurpose Internet Mail Extensions (MIME) type of the HTTP content. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than |'."\n"
+ .'| **x-forwarded-for** | The real IP address of the client that initiated the request. The X-Forwarded-For (XFF) header field is used to identify the original IP address of a client that connects to a web server through an HTTP proxy or a Server Load Balancer (SLB) instance. This header is included only in requests that are forwarded by an HTTP proxy or an SLB instance. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**nexist**: does not exist<br>**regular**: matches a regular expression |'."\n"
+ .'| **content-length** | The number of bytes in the request body. | **vless**: value is less than<br>**vequal**: value equals<br>**vgreat**: value is greater than |'."\n"
+ .'| **post-body** | The content of the request body. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**regular**: matches a regular expression |'."\n"
+ .'| **http-method** | The HTTP method of the request, such as GET or POST. | **equal**: equals<br>**nequal**: does not equal |'."\n"
+ .'| **header** | The header of the request. You can specify a custom HTTP header field. | **contain**: contains<br>**ncontain**: does not contain<br>**equal**: equals<br>**nequal**: does not equal<br>**lless**: length is less than<br>**lequal**: length equals<br>**lgreat**: length is greater than<br>**nexist**: does not exist |',
'extraInfo' => ' ',
- ],
- 'DescribeDomainStatusCodeList' => [
- 'summary' => 'Queries the statistics on HTTP status codes of a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebPreciseAccessRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeWebRules' => [
+ 'summary' => 'This topic describes how to configure web forwarding rules.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17324,83 +15173,66 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106134',
- 'abilityTreeNodes' => [
- 'FEATUREddos38XZ5J',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106211',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
+ 'autoTest' => true,
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you omit this parameter, the system uses the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The start time of the event. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
+ 'schema' => ['description' => 'The domain to query.'."\n"
+ ."\n"
+ .'> The domain must have a web rule configured. You can call [DescribeDomains](~~91724~~) to query all domains that have web rules.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Cname',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The CNAME to query.', 'type' => 'string', 'maxLength' => 128, 'minLength' => 3, 'required' => false, 'example' => 'kzmk7b8tt351****.aliyunddos1014****', 'title' => ''],
],
[
- 'name' => 'Interval',
+ 'name' => 'QueryDomainPattern',
'in' => 'query',
- 'schema' => [
- 'description' => 'The interval for returning data. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => 'The matching mode for the query. Valid values:'."\n"
+ ."\n"
+ .'- **fuzzy** (default): Fuzzy search.'."\n"
+ ."\n"
+ .'- **exact**: Exact match.', 'type' => 'string', 'required' => false, 'example' => 'exact', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website. If you do not specify this parameter, the statistics on response status codes of all domain names are queried.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The page number to return. Default: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
- 'name' => 'QueryType',
+ 'name' => 'PageSize',
'in' => 'query',
+ 'schema' => ['description' => 'The number of web rules per page. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The source of the statistics. Valid values:'."\n"
+ 'description' => 'An array of Anti-DDoS Pro instance IDs to query.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of an Anti-DDoS Pro instance. You can specify up to 200 instance IDs.'."\n"
."\n"
- .'* **gf**: Anti-DDoS Pro or Anti-DDoS Premium'."\n"
- .'* **upstrem**: origin server'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gf',
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****', 'title' => ''],
+ 'required' => false,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'maxItems' => 100,
+ 'title' => '',
],
],
],
@@ -17409,134 +15241,262 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C',
- ],
- 'StatusCodeList' => [
- 'description' => 'The statistics on response status codes.'."\n",
+ 'TotalCount' => ['description' => 'The total number of web forwarding rules returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates this unique identifier for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8', 'title' => ''],
+ 'WebRules' => [
+ 'description' => 'An array of web forwarding rules.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Status502' => [
- 'description' => 'The number of 502 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Time' => [
- 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1582992000',
- ],
- 'Status405' => [
- 'description' => 'The number of 405 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status3XX' => [
- 'description' => 'The number of 3xx status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status503' => [
- 'description' => 'The number of 503 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status4XX' => [
- 'description' => 'The number of 4xx status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4486',
- ],
- 'Status2XX' => [
- 'description' => 'The number of 2xx status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15520',
- ],
- 'Status5XX' => [
- 'description' => 'The number of 5xx status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status504' => [
- 'description' => 'The number of 504 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'Domain' => ['description' => 'The website domain.', 'type' => 'string', 'example' => 'example.com', 'title' => ''],
+ 'Http2HttpsEnable' => ['description' => 'Indicates whether forced HTTPS redirection is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'SslProtocols' => ['description' => 'The supported TLS protocol version. Valid values:'."\n"
+ ."\n"
+ .'- **tls1.0**: TLS 1.0 and later versions are supported.'."\n"
+ ."\n"
+ .'- **tls1.1**: TLS 1.1 and later versions are supported.'."\n"
+ ."\n"
+ .'- **tls1.2**: TLS 1.2 and later versions are supported.', 'type' => 'string', 'example' => 'tls1.1', 'title' => ''],
+ 'PunishReason' => ['description' => 'The reason the domain is penalized for non-compliance. Valid values:'."\n"
+ ."\n"
+ .'- **1**: The domain does not have an ICP filing.'."\n"
+ ."\n"
+ .'- **2**: The service operated under the domain does not meet regulatory requirements.'."\n"
+ ."\n"
+ .'If both reasons **1** and **2** apply, this parameter returns **2**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n"
+ ."\n"
+ .'- **default**: Normal'."\n"
+ ."\n"
+ .'- **gf\\_under\\_attack**: Emergency'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_verify**: Strict'."\n"
+ ."\n"
+ .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'CcEnabled' => ['description' => 'Indicates whether CC protection is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'SslCiphers' => ['description' => 'The cipher suite type. Valid values:'."\n"
+ ."\n"
+ .'- **default**: Custom cipher suite.'."\n"
+ ."\n"
+ .'- **all**: All cipher suites, including strong and weak cipher suites.'."\n"
+ ."\n"
+ .'- **strong**: Strong cipher suite.', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'Ssl13Enabled' => ['description' => 'Indicates whether TLS 1.3 is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'CcRuleEnabled' => ['description' => 'Indicates whether custom CC protection is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'OcspEnabled' => ['description' => 'Indicates whether OCSP is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'PunishStatus' => ['description' => 'Indicates whether the domain is penalized. Valid values:'."\n"
+ ."\n"
+ .'- **true**: The domain is penalized. You can view the reason by checking the **PunishReason** parameter.'."\n"
+ ."\n"
+ .'- **false**: The domain is not penalized.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ProxyEnabled' => ['description' => 'Indicates whether the web forwarding rule is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CertName' => ['description' => 'The name of the certificate.', 'type' => 'string', 'example' => 'testcert', 'title' => ''],
+ 'PolicyMode' => ['description' => 'This parameter is deprecated. For more information, see the `DescribeL7RsPolicy` operation.', 'type' => 'string', 'example' => 'ip_hash', 'title' => ''],
+ 'Cname' => ['description' => 'The CNAME address assigned by Anti-DDoS for the website domain.', 'type' => 'string', 'example' => 'kzmk7b8tt351****.aliyunddos1014****', 'title' => ''],
+ 'Http2Enable' => ['description' => 'Indicates whether HTTP/2 support is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Https2HttpEnable' => ['description' => 'Indicates whether HTTP back-to-origin is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enabled.'."\n"
+ ."\n"
+ .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ProxyTypes' => [
+ 'description' => 'The forwarding protocol and port settings.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProxyType' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **http**: HTTP'."\n"
+ ."\n"
+ .'- **https**: HTTPS'."\n"
+ ."\n"
+ .'- **websocket**: WebSocket'."\n"
+ ."\n"
+ .'- **websockets**: WebSockets', 'type' => 'string', 'example' => 'https', 'title' => ''],
+ 'ProxyPorts' => [
+ 'description' => 'A list of ports.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The port number.', 'type' => 'string', 'example' => '443', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Status200' => [
- 'description' => 'The number of 200 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15520',
+ 'RealServers' => [
+ 'description' => 'Details about the origin servers.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RsType' => ['description' => 'The type of the origin server address. Valid values:'."\n"
+ ."\n"
+ .'- **0**: The IP address of the origin server.'."\n"
+ ."\n"
+ .'- **1**: A domain name that serves as the origin server address. This value is typically used when a proxy service, such as Web Application Firewall (WAF), is deployed between the Anti-DDoS instance and the origin server. In this case, specify the CNAME address of the proxy service.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'RealServer' => ['description' => 'The origin server address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Status403' => [
- 'description' => 'The number of 403 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'WhiteList' => [
+ 'description' => 'The IP allowlist for the domain.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An IP address in the allowlist.'."\n"
+ ."\n"
+ .'> This parameter is returned only if you have configured a domain-level IP allowlist. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist or IP blocklist for a website domain.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'Status404' => [
- 'description' => 'The number of 404 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'BlackList' => [
+ 'description' => 'The IP blocklist for the domain.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An IP address in the blocklist.'."\n"
+ ."\n"
+ .'> This parameter is returned only if you have configured a domain-level IP blocklist. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist or IP blocklist for a website domain.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'Status410' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'CustomCiphers' => [
+ 'description' => 'A list of custom cipher suites.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A custom cipher suite.', 'type' => 'string', 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'Status499' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'GmCert' => [
+ 'description' => 'The GM (Guomi) settings.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CertId' => ['description' => 'The ID of the GM (Guomi) certificate.', 'type' => 'string', 'example' => '725****', 'title' => ''],
+ 'GmEnable' => ['description' => 'Indicates whether GM (Guomi) verification is enabled.'."\n"
+ ."\n"
+ .'- 0: Disabled'."\n"
+ ."\n"
+ .'- 1: Enabled', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'GmOnly' => ['description' => 'Indicates whether access is allowed only from clients that support GM (Guomi) cryptography.'."\n"
+ ."\n"
+ .'- 0: Disabled'."\n"
+ ."\n"
+ .'- 1: Enabled', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Status501' => [
- 'description' => 'The number of 501 status codes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'CertRegion' => ['description' => 'The region where the certificate is used. Valid values:'."\n"
+ ."\n"
+ .'- cn-hangzhou: Chinese mainland (default)'."\n"
+ ."\n"
+ .'- ap-southeast-1: a region outside the Chinese mainland', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'UserCertName' => ['description' => 'The name of the certificate that you uploaded to Certificate Management Service.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'Tls13CustomCiphers' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'A cipher suite for TLS 1.3.', 'type' => 'string', 'example' => 'ECDHE-RSA-AES128-GCM-SHA256', 'title' => ''],
+ 'description' => 'A list of cipher suites for TLS 1.3.',
+ 'title' => '',
+ 'example' => '',
],
+ 'CertExpireTime' => ['description' => 'The expiration timestamp of the associated certificate.'."\n"
+ ."\n"
+ .'> This parameter is deprecated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1765959120', 'title' => ''],
+ 'WafProtectionEnable' => ['type' => 'boolean', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B63C0DD-8AC5-44B2-95D6-064CA9296B9C\\",\\n \\"StatusCodeList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Status502\\": 0,\\n \\"Time\\": 1582992000,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 0,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 4486,\\n \\"Status2XX\\": 15520,\\n \\"Status5XX\\": 0,\\n \\"Status504\\": 0,\\n \\"Status200\\": 15520,\\n \\"Status403\\": 0,\\n \\"Status404\\": 0,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeDomainStatusCodeList',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeWebRules',
+ 'description' => 'This API runs a paginated query to retrieve the configurations of your web rules, such as the forwarding protocol type, origin server addresses, HTTPS settings, and IP blocklist configuration.'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'Before calling this API, you must first create a web rule by calling [CreateWebRule](~~157463~~).'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The per-user QPS limit for this API is 50. Calls that exceed this limit are throttled, which can impact your services. Please plan your calls accordingly.',
+ 'requestParamsDescription' => 'When you call this API, you must include the Alibaba Cloud common request parameters in addition to the parameters described in this topic. For details, see [common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the request example in the **Examples** section.',
'responseParamsDescription' => ' ',
- ],
- 'DescribeDomainOverview' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T08:52:36.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
+ ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-03-15T11:09:55.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebRules'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0F5B72DD-96F4-423A-B12B-A5151DD746B8\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"Http2HttpsEnable\\": true,\\n \\"SslProtocols\\": \\"tls1.1\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"Ssl13Enabled\\": false,\\n \\"CcRuleEnabled\\": false,\\n \\"OcspEnabled\\": false,\\n \\"PunishStatus\\": true,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"testcert\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"kzmk7b8tt351****.aliyunddos1014****\\",\\n \\"Http2Enable\\": true,\\n \\"Https2HttpEnable\\": true,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"443\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"192.0.XX.XX\\"\\n }\\n ],\\n \\"WhiteList\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"BlackList\\": [\\n \\"192.0.XX.XX\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-ECDSA-AES128-GCM-SHA256\\"\\n ],\\n \\"GmCert\\": {\\n \\"CertId\\": \\"725****\\",\\n \\"GmEnable\\": 1,\\n \\"GmOnly\\": 1\\n },\\n \\"CertRegion\\": \\"cn-hangzhou\\",\\n \\"UserCertName\\": \\"test\\",\\n \\"Tls13CustomCiphers\\": [\\n \\"ECDHE-RSA-AES128-GCM-SHA256\\"\\n ],\\n \\"CertExpireTime\\": 1765959120,\\n \\"WafProtectionEnable\\": false\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DetachSceneDefenseObject' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17545,62 +15505,29 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106125',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106212',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n"
- ."\n"
- .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the policy.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ObjectType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1619798400',
- ],
+ 'schema' => ['description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.', 'type' => 'string', 'required' => false, 'default' => 'Domain', 'example' => 'Domain', 'title' => ''],
],
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1623427200',
- ],
- ],
- [
- 'name' => 'Domain',
+ 'name' => 'Objects',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n"
- ."\n"
- .'> The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -17608,46 +15535,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'MaxHttp' => [
- 'description' => 'The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '41652',
- ],
- 'MaxHttps' => [
- 'description' => 'The peak QPS during HTTPS traffic scrubbing. Unit: QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'- **true**: yes'."\n"
+ ."\n"
+ .'- **false**: no', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"MaxHttp\\": 41652,\\n \\"MaxHttps\\": 0\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainOverviewResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <MaxHttp>41652</MaxHttp>\\n <MaxHttps>0</MaxHttps>\\n</DescribeDomainOverviewResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainOverview',
- 'summary' => 'Queries the attack overview of a website, such as the peak HTTP and HTTPS traffic.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'title' => 'DetachSceneDefenseObject',
+ 'summary' => 'Removes a protected object from a scenario-specific custom policy.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainStatusCodeCount' => [
- 'summary' => 'Queries the statistics on HTTP status codes of a website within a specified period of time.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachSceneDefenseObject'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DetachSceneDefenseObject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]',
+ ],
+ 'DisableSceneDefensePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17656,60 +15587,17 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106133',
- 'abilityTreeNodes' => [
- 'FEATUREddos38XZ5J',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106213',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'EndTime',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
- ],
- [
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The ID of the policy to disable.'."\n"
+ ."\n"
+ .'> Call [DescribeSceneDefensePolicies](~~159382~~) to query all policy IDs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '321a-fd31-df51-****'],
],
],
'responses' => [
@@ -17717,112 +15605,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status502' => [
- 'description' => 'The number of 502 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status405' => [
- 'description' => 'The number of 405 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status3XX' => [
- 'description' => 'The number of 3xx status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '133209',
- ],
- 'Status503' => [
- 'description' => 'The number of 503 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status4XX' => [
- 'description' => 'The number of 4xx status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5653',
- ],
- 'Status2XX' => [
- 'description' => 'The number of 2xx status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '951472',
- ],
- 'Status5XX' => [
- 'description' => 'The number of 5xx status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '14',
- ],
- 'Status504' => [
- 'description' => 'The number of 504 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'Status200' => [
- 'description' => 'The number of 200 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '951159',
- ],
- 'Status403' => [
- 'description' => 'The number of 403 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Status404' => [
- 'description' => 'The number of 404 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '897',
- ],
- 'Status410' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Status499' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Status501' => [
- 'description' => 'The number of 501 status codes within the specified period of time.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'Success' => ['description' => 'Indicates whether the API call was successful. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Yes'."\n"
+ ."\n"
+ .'- **false**: No', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeDomainStatusCodeCountResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n <Status501>0</Status501>\\n <Status502>0</Status502>\\n <Status403>0</Status403>\\n <Status503>0</Status503>\\n <Status404>897</Status404>\\n <Status405>0</Status405>\\n <Status504>0</Status504>\\n <Status2XX>951472</Status2XX>\\n <Status200>951159</Status200>\\n <Status3XX>133209</Status3XX>\\n <Status4XX>5653</Status4XX>\\n <Status5XX>14</Status5XX>\\n</DescribeDomainStatusCodeCountResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainStatusCodeCount',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'title' => 'DisableSceneDefensePolicy',
+ 'summary' => 'Disables a scenario-specific policy.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainTopAttackList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSceneDefensePolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]',
+ ],
+ 'DisableWebAccessLogConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17831,57 +15657,22 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106135',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106214',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Interval',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'default' => '3600',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -17889,59 +15680,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'AttackList' => [
- 'description' => 'The peak QPS of the website.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Attack' => [
- 'description' => 'The attack QPS. Unit: QPS'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Count' => [
- 'description' => 'The number of all QPS, which includes normal and attack QPS. Unit: QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '294',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"AttackList\\": [\\n {\\n \\"Attack\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 294\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainTopAttackListResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<AttackList>\\r\\n\\t\\t<Count>294</Count>\\r\\n\\t\\t<Attack>0</Attack>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t</AttackList>\\r\\n</DescribeDomainTopAttackListResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainTopAttackList',
- 'summary' => 'Queries the peak queries per second (QPS) information about a website, such as the attack QPS and total QPS, within a specific period of time.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebAccessLogConfigResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</requestId>\\r\\n</DisableWebAccessLogConfigResponse>","errorExample":""}]',
+ 'title' => 'DisableWebAccessLogConfig',
+ 'summary' => 'Disables the log analysis feature for a website.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainViewSourceCountries' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DisableWebCC' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17950,60 +15727,22 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106136',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106215',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -18011,53 +15750,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'SourceCountrys' => [
- 'description' => 'An array consisting of the country or area from which the requests are sent.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Count' => [
- 'description' => 'The total number of requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
- ],
- 'CountryId' => [
- 'description' => 'The abbreviation of the country or area. For more information, see the **Codes of countries and areas** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **cn** indicates China, and **us** indicates the United States.'."\n",
- 'type' => 'string',
- 'example' => 'cn',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewSourceCountriesResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<SourceCountrys>\\r\\n\\t\\t<Count>3390671</Count>\\r\\n\\t\\t<CountryId>cn</CountryId>\\r\\n\\t</SourceCountrys>\\r\\n</DescribeDomainViewSourceCountriesResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainViewSourceCountries',
- 'summary' => 'Queries the areas and countries from which requests are sent to a website within a specified period of time.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebCCResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableWebCCResponse>","errorExample":""}]',
+ 'title' => 'DisableWebCC',
+ 'summary' => 'Disables frequency control for a website.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainViewSourceProvinces' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCC'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableWebCC',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DisableWebCCRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18066,60 +15797,22 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106137',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106216',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -18127,53 +15820,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'SourceProvinces' => [
- 'description' => 'An array consisting of the details of the administrative region in China from which the requests are sent.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProvinceId' => [
- 'description' => 'The ID of the region inside China. For more information, see the **Codes of administrative regions in China** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n",
- 'type' => 'string',
- 'example' => '440000',
- ],
- 'Count' => [
- 'description' => 'The total number of requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewSourceProvincesResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<SourceProvinces>\\r\\n\\t\\t<Count>3390671</Count>\\r\\n\\t\\t<ProvinceId>440000</ProvinceId>\\r\\n\\t</SourceProvinces>\\r\\n</DescribeDomainViewSourceProvincesResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainViewSourceProvinces',
- 'summary' => 'Queries the administrative regions in China from which requests are sent to a website within a specified period of time.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebCCRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableWebCCRuleResponse>","errorExample":""}]',
+ 'title' => 'DisableWebCCRule',
+ 'summary' => 'Disables custom frequency control rules for a website.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainViewTopCostTime' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCCRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EmptyAutoCcBlacklist' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18182,73 +15867,87 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106138',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106217',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'EmptyAutoCcBlacklist',
+ 'summary' => 'Clears the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcBlacklist'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptyAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'EmptyAutoCcWhitelist' => [
+ 'summary' => 'Clears the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106218',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Top',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '5',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
],
'responses' => [
@@ -18256,58 +15955,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'UrlList' => [
- 'description' => 'The URLs which require the longest time to respond to requests.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CostTime' => [
- 'description' => 'The response duration. Unit: milliseconds.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3000',
- ],
- 'Url' => [
- 'description' => 'The URL that is Base64-encoded.'."\n",
- 'type' => 'string',
- 'example' => 'Lw==',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"CostTime\\": 3000,\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewTopCostTimeResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<UrlList>\\r\\n\\t\\t<CostTime>3000</CostTime>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<Url>Lw==</Url>\\r\\n\\t</UrlList>\\r\\n</DescribeDomainViewTopCostTimeResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainViewTopCostTime',
- 'summary' => 'Queries the top N URLs that require the longest time to respond to requests within a specified period of time.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'title' => 'EmptyAutoCcWhitelist',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainViewTopUrl' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcWhitelist'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptyAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'EmptySlsLogstore' => [
+ 'summary' => 'Deletes the Logstore of Anti-DDoS Proxy.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18316,82 +16002,82 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106139',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106219',
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS Proxy instance belongs in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200',
- ],
+ ],
+ 'title' => 'EmptySlsLogstore',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptySlsLogstore'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Domain',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptySlsLogstore',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]',
+ ],
+ 'EnableSceneDefensePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Top',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '5',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106220',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Inerval',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'default' => '3600',
- ],
+ 'schema' => ['description' => 'The ID of the policy that you want to enable.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''],
],
],
'responses' => [
@@ -18399,58 +16085,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
- 'UrlList' => [
- 'description' => 'An array consisting of the URLs that receive the most requests.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Url' => [
- 'description' => 'The URL that is Base64-encoded.'."\n",
- 'type' => 'string',
- 'example' => 'Lw==',
- ],
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Count' => [
- 'description' => 'The total number of requests.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3390671',
- ],
- ],
- ],
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDomainViewTopUrlResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n\\t<UrlList>\\r\\n\\t\\t<Count>3390671</Count>\\r\\n\\t\\t<Domain>www.aliyun.com</Domain>\\r\\n\\t\\t<Url>Lw==</Url>\\r\\n\\t</UrlList>\\r\\n</DescribeDomainViewTopUrlResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainViewTopUrl',
- 'summary' => 'Queries the top N URLs that receive the most requests within a specified period of time.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EnableSceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</EnableSceneDefensePolicyResponse>","errorExample":""}]',
+ 'title' => 'EnableSceneDefensePolicy',
+ 'summary' => 'Enables a scenario-specific custom policy.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'EnableWebAccessLogConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'EnableWebAccessLogConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18461,32 +16138,20 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '106221',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -18494,12 +16159,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -18509,16 +16173,31 @@
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyFullLogTtl' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebAccessLogConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'EnableWebCC' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18528,32 +16207,21 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '106241',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeCode' => '106222',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'Ttl',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The log storage duration of a website. Valid values: **7** to **180**. Unit: days.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
],
'responses' => [
@@ -18561,32 +16229,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyFullLogTtlResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyFullLogTtlResponse>","errorExample":""}]',
- 'title' => 'ModifyFullLogTtl',
- 'summary' => 'Modifies the log storage duration for Anti-DDoS Proxy.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EnableWebCCResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableWebCCResponse>","errorExample":""}]',
+ 'title' => 'EnableWebCC',
+ 'summary' => 'Enables the Frequency Control policy for a website.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DisableWebAccessLogConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCC'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebCC',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EnableWebCCRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18596,33 +16277,21 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '106214',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeCode' => '106223',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance is added to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website.'."\n"
- ."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -18630,31 +16299,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DisableWebAccessLogConfigResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</requestId>\\r\\n</DisableWebAccessLogConfigResponse>","errorExample":""}]',
- 'title' => 'DisableWebAccessLogConfig',
- 'summary' => 'Disables the log analysis feature for a website.',
+ 'title' => 'EnableWebCCRule',
+ 'summary' => 'Enables a custom HTTP flood protection rule.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebAccessLogDispatchStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCCRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyBlackholeStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18663,46 +16346,22 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106197',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106227',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'BlackholeStatus',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The action that you want to perform on the instance. Set the value to **undo**, which indicates that you want to deactivate blackhole filtering.'."\n", 'type' => 'string', 'required' => true, 'example' => 'undo', 'title' => ''],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. Default value: **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
],
'responses' => [
@@ -18710,66 +16369,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'SlsConfigStatus' => [
- 'description' => 'Indicates whether the log analysis feature is enabled for domain names.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => 'The domain name.'."\n",
- 'type' => 'string',
- 'example' => 'www.aliyundoc.com',
- ],
- 'Enable' => [
- 'description' => 'Indicates whether the log analysis feature is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeWebAccessLogDispatchStatusResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\n <SlsConfigStatus>\\n <Domain>www.aliyundoc.com</Domain>\\n <Enable>true</Enable>\\n </SlsConfigStatus>\\n</DescribeWebAccessLogDispatchStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeWebAccessLogDispatchStatus',
- 'summary' => 'Checks whether the log analysis feature is enabled for all domain names.',
- 'description' => 'You can call the DescribeWebAccessLogDispatchStatus operation to check whether the log analysis feature is enabled for all domain names that are added to your Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyPortAutoCcStatusResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</ModifyPortAutoCcStatusResponse>","errorExample":""}]',
+ 'title' => 'ModifyBlackholeStatus',
+ 'summary' => 'Deactivates blackhole filtering that is triggered on an instance.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebAccessLogStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlackholeStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyBlackholeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyBlockStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18778,33 +16416,48 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106199',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106228',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'Specifies the status of the Diversion from Origin Server policy. Valid values:'."\n"
+ ."\n"
+ .'* **do**: enables the policy.'."\n"
+ .'* **undo**: disables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'do', 'title' => ''],
],
[
- 'name' => 'Domain',
+ 'name' => 'Duration',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The blocking period. Valid values: **15** to **43200**. Unit: minutes.'."\n"
+ ."\n"
+ .'> If you set **Status** to **do**, you must also specify this parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Lines',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The domain name of the website.'."\n"
+ 'description' => 'An array consisting of the Internet service provider (ISP) lines from which traffic is blocked.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ISP line from which traffic is blocked. Valid values:'."\n"
."\n"
- .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n",
- 'type' => 'string',
+ .'* **ct**: a China Telecom line intended for users outside the Chinese mainland'."\n"
+ .'* **cut**: a China Unicom line intended for users outside the Chinese mainland'."\n", 'type' => 'string', 'required' => false, 'example' => 'ct', 'title' => ''],
'required' => true,
- 'example' => 'www.aliyun.com',
+ 'example' => 'ct',
+ 'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -18813,49 +16466,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsLogstore' => [
- 'description' => 'The Logstore of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-logstore',
- ],
- 'SlsStatus' => [
- 'description' => 'Indicates whether the Log Analysis feature is enabled for the website. Valid values:'."\n"
- ."\n"
- .'* **true**: enabled'."\n"
- .'* **false**: disabled'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SlsProject' => [
- 'description' => 'The Log Service project of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsLogstore\\": \\"ddoscoo-logstore\\",\\n \\"SlsStatus\\": true,\\n \\"SlsProject\\": \\"ddoscoo-project-128965410602****-cn-hangzhou\\",\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAccessLogStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsStatus>true</SlsStatus>\\r\\n\\t<SlsProject>ddoscoo-project-128965410602****-cn-hangzhou</SlsProject>\\r\\n\\t<SlsLogstore>ddoscoo-logstore</SlsLogstore>\\r\\n</DescribeWebAccessLogStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeWebAccessLogStatus',
- 'summary' => 'Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.',
- 'requestParamsDescription' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyBlockStatusResponse>\\n <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\n</ModifyBlockStatusResponse>","errorExample":""}]',
+ 'title' => 'ModifyBlockStatus',
+ 'summary' => 'Modifies the Diversion from Origin Server configuration of an Anti-DDoS Proxy (Chinese Mainland) instance.',
+ 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeLogStoreExistStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlockStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyBlockStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyCnameReuse' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18864,23 +16516,35 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106159',
- 'abilityTreeNodes' => [
- 'FEATUREddos38XZ5J',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106229',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Cname',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The CNAME record that you want to reuse for the website.'."\n", 'type' => 'string', 'required' => false, 'example' => '4o6ep6q217k9****.aliyunddos0004.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Enable',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable CNAME reuse. Valid values:'."\n"
+ ."\n"
+ .'* **0:** disabled'."\n"
+ .'* **1:** enabled'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -18888,39 +16552,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ExistStatus' => [
- 'description' => 'Indicates whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExistStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeLogStoreExistStatus?\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<ExistStatus>true</ExistStatus>\\r\\n</DescribeLogStoreExistStatus?","errorExample":""}]',
- 'title' => 'DescribeLogStoreExistStatus',
- 'summary' => 'Checks whether a Logstore is created for Anti-DDoS Proxy.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyCnameReuseResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyCnameReuseResponse>","errorExample":""}]',
+ 'title' => 'ModifyCnameReuse',
+ 'summary' => 'Enables or disables CNAME reuse for a website.',
+ 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeOpEntities' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCnameReuse'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyCnameReuse',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyDomainResource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18929,250 +16600,334 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106163',
- 'abilityTreeNodes' => [
- 'FEATUREddosHFA00W',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106238',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The domain name that is added to the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''],
],
[
- 'name' => 'EntityType',
+ 'name' => 'RsType',
'in' => 'query',
'schema' => [
- 'description' => 'The type of the operation object that you want to query. Valid values:'."\n"
+ 'description' => 'The address type of the origin server. Valid values:'."\n"
+ ."\n"
+ .'- **0**: IP address'."\n"
+ ."\n"
+ .'- **1**: domain name'."\n"
."\n"
- .'* **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
- .'* **2**: Anti-DDoS plans'."\n"
- .'* **3**: ECS instances'."\n"
- .'* **4**: all logs'."\n",
+ .' If you deploy proxies, such as a Web Application Firewall (WAF) instance, between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance, set the value to 1. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.',
'type' => 'integer',
'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'required' => true,
+ 'enum' => ['0', '1'],
+ 'example' => '0',
+ 'title' => '',
],
],
[
- 'name' => 'EntityObject',
+ 'name' => 'HttpsExt',
'in' => 'query',
- 'schema' => [
- 'description' => 'The operation object that you want to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '203.***.***.132',
- ],
+ 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
+ ."\n"
+ .'- **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n"
+ ."\n"
+ .'- **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n"
+ ."\n"
+ .'- **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
+ ."\n"
+ .' After you turn on the switch, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ProxyTypes',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n"
- ."\n"
- .'> The time must be in the latest 30 days.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The details about the protocol type and port number.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProxyPorts' => [
+ 'description' => 'The port numbers.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The port number.'."\n"
+ ."\n"
+ .'> You must specify a port within the port range supported by the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see [Custom non-standard ports](~~127433~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '443', 'title' => ''],
+ 'required' => true,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ProxyType' => [
+ 'description' => 'The type of the protocol. Valid values:'."\n"
+ ."\n"
+ .'- **http**'."\n"
+ ."\n"
+ .'- **https**'."\n"
+ ."\n"
+ .'- **websocket**'."\n"
+ ."\n"
+ .'- **websockets**',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['http', 'https', 'websocket', 'websockets'],
+ 'example' => 'https',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => true,
- 'example' => '1582992000000',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'EndTime',
+ 'name' => 'RealServers',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n"
+ 'description' => 'An array that consists of the addresses of origin servers.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The address of the origin server.'."\n"
."\n"
- .'> The time must be in the latest 30 days.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
+ .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''],
'required' => true,
- 'example' => '1583683200000',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'An array consisting of the IDs of instances that you want to associate.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
'required' => true,
- 'example' => '1',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
+ 'title' => 'ModifyDomainResource',
+ 'summary' => 'Modifies the forwarding rule of a website.',
+ 'changeSet' => [
+ ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDomainResource'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyElasticBandWidth' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106239',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ElasticBandwidth',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The new burstable protection bandwidth that you want to use. Unit: Gbit/s.'."\n"
+ ."\n"
+ .'> You can call the [DescribeElasticBandwidthSpec](~~91502~~) operation to query the available burstable protection bandwidth of the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> The instance must be in a normal state. You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of returned operation records.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1',
- ],
- 'OpEntities' => [
- 'description' => 'The operation records.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The operation record.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'EntityType' => [
- 'description' => 'The type of the operation object. Valid values:'."\n"
- ."\n"
- .'* **1**: the IP address of the Anti-DDoS Proxy instance.'."\n"
- .'* **2**: Anti-DDoS plans.'."\n"
- .'* **3**: ECS instances.'."\n"
- .'* **4**: all logs.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'EntityObject' => [
- 'description' => 'The operation object.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.132',
- ],
- 'GmtCreate' => [
- 'description' => 'The time when the operation was performed. The value is a UNIX timestamp. Units: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1584451769000',
- ],
- 'OpAction' => [
- 'description' => 'The type of the operation. Valid values:'."\n"
- ."\n"
- .'* **1**: configuring burstable protection bandwidth.'."\n"
- .'* **5**: using Anti-DDoS plans.'."\n"
- .'* **8**: changing the IP addresses of ECS instances.'."\n"
- .'* **9**: deactivating blackhole filtering.'."\n"
- .'* **10**: configuring the near-origin traffic diversion feature.'."\n"
- .'* **11**: clearing all logs.'."\n"
- .'* **12**: downgrading the specifications of the Anti-DDoS Proxy instance. If the instance expires or the account has overdue payments, this operation is performed to downgrade the burstable protection bandwidth.'."\n"
- .'* **13**: restoring the specifications of the Anti-DDoS Proxy instance. If the instance is renewed or you have paid the overdue payments within your account, this operation is performed to restore the burstable protection bandwidth.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'OpAccount' => [
- 'description' => 'The ID of the Alibaba Cloud account that is used to perform the operation.'."\n",
- 'type' => 'string',
- 'example' => '128965410602****',
- ],
- 'OpDesc' => [
- 'description' => 'The details of the operation. This parameter is a JSON string. The string contains the following fields:'."\n"
- ."\n"
- .'* **newEntity**: the values of the parameters after the operation. This field is of the string type.'."\n"
- .'* **oldEntity**: the values of the parameters before the operation. This field is of the string type.'."\n"
- ."\n"
- .'Both **newEntity** and **oldEntity** are JSON strings. The returned parameters vary based on **OpAction**.'."\n"
- ."\n"
- .'If the value of **OpAction** is **1**, **12**, or **13**, the following parameter is returned:'."\n"
- ."\n"
- .'* **elasticBandwidth**: the burstable protection bandwidth. This parameter is of the integer type. Unit: Gbit/s.'."\n"
- ."\n"
- .' Example: `{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n"
- ."\n"
- .'If the value of **OpAction** is **5**, the following parameters are returned:'."\n"
- ."\n"
- .'* **bandwidth**: the burstable protection bandwidth. The parameter is of the integer type. Unit: Gbit/s.'."\n"
- ."\n"
- .'* **count**: the number of Anti-DDoS plans. This parameter is of the integer type.'."\n"
- ."\n"
- .'* **deductCount**: the number of used Anti-DDoS plans. This parameter is of the integer type.'."\n"
- ."\n"
- .'* **expireTime**: the expiration time of the Anti-DDoS plans. This parameter is of the long type. The value is a UNIX timestamp. Units: milliseconds.'."\n"
- ."\n"
- .'* **instanceId**: the ID of the Anti-DDoS Proxy instance. This parameter is of the string type.'."\n"
- ."\n"
- .'* **peakFlow**: the peak throughput on the Anti-DDoS Proxy instance. This parameter is of the integer type. Unit: bit/s.'."\n"
- ."\n"
- .' Example: `{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n"
- ."\n"
- .'If the value of **OpAction** is **8**, the following parameter is returned:'."\n"
- ."\n"
- .'* **instanceId**: the IDs of the ECS instances whose IP addresses are changed. This parameter is of the string type.'."\n"
- ."\n"
- .' Example: `{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}`'."\n"
- ."\n"
- .'If the value of **OpAction** is **9**, the following parameter is returned:'."\n"
- ."\n"
- .'* **actionMethod**: the operation method. This parameter is of the string type. Valid value: **undo**, which indicates that you deactivated blackhole filtering.'."\n"
- ."\n"
- .' Example: `{"newEntity":{"actionMethod":"undo"}}`'."\n"
- ."\n"
- .'If the value of **OpAction** is **10**, the following parameters are returned:'."\n"
- ."\n"
- .'* **actionMethod**: the operation method. This parameter is of the string type. Valid values:'."\n"
- ."\n"
- .' * **do**: The near-origin traffic diversion feature is enabled.'."\n"
- .' * **undo**: The near-origin traffic diversion feature is disabled.'."\n"
- ."\n"
- .'* **lines**: the Internet service provider (ISP) line from which the traffic is blocked. This parameter is of the array type. Valid values:'."\n"
- ."\n"
- .' * **ct**: China Telecom (International).'."\n"
- .' * **cut**: China Unicom (International).'."\n"
- ."\n"
- .' Example: `{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n"
- ."\n"
- .'If the value of **OpAction** is **11**, no parameter is returned, and the description is empty.'."\n",
- 'type' => 'string',
- 'example' => '{"newEntity":{"actionMethod":"undo"}}',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeOpEntitiesResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>FB24D70C-71F5-4000-8CD8-22CDA0C53CD1</RequestId>\\r\\n\\t<OpEntities>\\r\\n\\t\\t<EntityType>1</EntityType>\\r\\n\\t\\t<GmtCreate>1584451769000</GmtCreate>\\r\\n\\t\\t<OpAccount>128965410602****</OpAccount>\\r\\n\\t\\t<OpDesc>\\r\\n\\t\\t\\t<newEntity>\\r\\n\\t\\t\\t\\t<actionMethod>undo</actionMethod>\\r\\n\\t\\t\\t</newEntity>\\r\\n\\t\\t</OpDesc>\\r\\n\\t\\t<OpAction>9</OpAction>\\r\\n\\t\\t<EntityObject>203.***.***.132</EntityObject>\\r\\n\\t</OpEntities>\\r\\n</DescribeOpEntitiesResponse>","errorExample":""}]',
- 'title' => 'DescribeOpEntities',
- 'summary' => 'Queries the operation logs of Anti-DDoS Proxy (Chinese Mainland).',
- 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n"
- ."\n"
- .'You can query operations performed on Anti-DDoS Proxy (Chinese Mainland), such as configuring the burstable protection bandwidth, deactivating blackhole filtering, configuring the near-origin traffic diversion feature, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyElasticBandWidthResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyElasticBandWidthResponse>","errorExample":""}]',
+ 'title' => 'ModifyElasticBandWidth',
+ 'summary' => 'Modifies the burstable protection bandwidth of a specified Anti-DDoS Proxy (Chinese Mainland) instance.',
+ 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBandWidth'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyElasticBandWidth',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
- 'DescribeSlsAuthStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'ModifyElasticBizQps' => [
+ 'summary' => 'Configures the burstable QPS and mode of an Anti-DDoS Proxy instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172640',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the Anti-DDoS instance.'."\n"
+ ."\n"
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The metering method for the burstable QPS. Valid values:'."\n"
+ ."\n"
+ .'- **month**: Monthly 95th percentile'."\n"
+ ."\n"
+ .'- **day**: Daily 95th percentile', 'type' => 'string', 'required' => true, 'example' => 'month', 'title' => ''],
+ ],
+ [
+ 'name' => 'OpsElasticQps',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The burstable QPS value. After burstable QPS is enabled, the default value is three times the basic QPS, but it cannot exceed the maximum burstable QPS:'."\n"
+ ."\n"
+ .'- **Anti-DDoS Proxy (Chinese Mainland) IPv4 instance**: The maximum value is 300,000 QPS.'."\n"
+ ."\n"
+ .'- **Anti-DDoS Proxy (Chinese Mainland) IPv6 instance**: The maximum value is 100,000 QPS.'."\n"
+ ."\n"
+ .'- **Anti-DDoS Proxy (Outside Chinese Mainland) instance**: The maximum value is 150,000 QPS.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ModifyElasticBizQps',
+ 'description' => 'Both IPv4 and IPv6 instances support burstable QPS.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBizQps'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyElasticBizQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyFullLogTtl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19181,23 +16936,20 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106185',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106241',
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The log storage duration of a website. Valid values: **7** to **180**. Unit: days.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''],
+ ],
+ [
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
],
'responses' => [
@@ -19205,39 +16957,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsAuthStatus' => [
- 'description' => 'Indicates whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsAuthStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeSlsAuthStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsAuthStatus>true</SlsAuthStatus>\\r\\n</DescribeSlsAuthStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeSlsAuthStatus',
- 'summary' => 'Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyFullLogTtlResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyFullLogTtlResponse>","errorExample":""}]',
+ 'title' => 'ModifyFullLogTtl',
+ 'summary' => 'Modifies the log storage duration for Anti-DDoS Proxy.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSlsLogstoreInfo' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFullLogTtl'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyFullLogTtl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyHeaders' => [
+ 'summary' => 'Modifies custom headers for a domain on an Anti-DDoS Pro instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19246,85 +17005,113 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106186',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106247',
+ 'abilityTreeNodes' => ['FEATUREddosCT2Z4D'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n"
+ ."\n"
+ .'> - You can call the [ListResourceGroups](~~158855~~) operation or use the console to obtain a list of resource group IDs. For more information, see [View basic information about a resource group](~~151181~~).'."\n"
+ ."\n"
+ .'- To find the current resource group of an instance before changing it, call the [ListResources](~~158866~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmz6jbof5****'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain of the website.'."\n"
+ ."\n"
+ .'> A website service forwarding rule must be configured for the domain. You can call the [DescribeDomains](~~91724~~) operation to query all your domains.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'CustomHeaders',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The custom header, specified as a key-value pair. The key is the header name and the value is the header value. You can specify up to 5 key-value pairs. The total length cannot exceed 200 characters.'."\n"
+ ."\n"
+ .'Important:'."\n"
+ ."\n"
+ .'- - X-Forwarded-ClientSrcPort: Used by default to retrieve the client port that accesses the Layer 7 engine of Anti-DDoS Pro.'."\n"
+ ."\n"
+ .' - X-Forwarded-ProxyPort: Used by default to retrieve the listening port of the Layer 7 engine of Anti-DDoS Pro.'."\n"
+ ."\n"
+ .' - X-Forwarded-For: Used by default to retrieve the client IP address that accesses the Layer 7 engine of Anti-DDoS Pro.'."\n"
+ ."\n"
+ .'- Do not use standard HTTP header fields (such as `host`, `user-agent`, `connection`, and `upgrade`) or common custom HTTP header fields (such as `x-real-ip`, `x-true-ip`, `x-client-ip`, `web-server-type`, `wl-proxy-client-ip`, `eagleeye-rpcid`, `eagleeye-traceid`, `x-forwarded-cluster`, and `x-forwarded-proto`) as they will overwrite the original header values in requests.'."\n"
+ ."\n"
+ .'> To use the `X-Forwarded-ClientSrcPort` key to retrieve the client port that accesses the Layer 7 engine of Anti-DDoS Pro, set the value to `""`.', 'type' => 'string', 'required' => true, 'example' => '{"X-Forwarded-ClientSrcPort":""}', 'title' => ''],
+ ],
+ [
+ 'name' => 'EmbeddedHeaders',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The forwarding configuration for request headers. This parameter is a JSON string of key-value pairs where the key is the header field name and the value is a boolean. Set the value to `true` to enable forwarding or `false` to disable it.'."\n"
+ ."\n"
+ .'Field description:'."\n"
+ ."\n"
+ .'`X-Client-IP`: Forwards the client\'s real IP address.'."\n"
+ ."\n"
+ .'`X-True-IP`: Forwards the client\'s connection IP address.'."\n"
+ ."\n"
+ .'`Web-Server-Type`: Informs the back-end server about the type of front-end web server or proxy that is handling the request.'."\n"
+ ."\n"
+ .'`WL-Proxy-Client-IP`: A request header specific to Oracle WebLogic Server that provides the same functionality as `X-Client-IP`.'."\n"
+ ."\n"
+ .'`X-Forwarded-Proto`: Indicates the protocol used for the connection between the client and the first proxy.'."\n"
+ ."\n"
+ .'Important:'."\n"
+ ."\n"
+ .'- **Supported Headers**: The configuration supports only the five preset header fields listed above.'."\n"
+ ."\n"
+ .'- **Default settings**: All the listed header fields are enabled by default. To make changes, you must explicitly set the corresponding value to `false`.', 'type' => 'string', 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', 'title' => '', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'Response parameters.',
'type' => 'object',
'properties' => [
- 'Ttl' => [
- 'description' => 'The log storage duration. Unit: days.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '180',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'Quota' => [
- 'description' => 'The available log storage capacity. Unit: bytes.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3298534883328',
- ],
- 'LogStore' => [
- 'description' => 'The Logstore of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-logstore',
- ],
- 'Used' => [
- 'description' => 'The used log storage capacity. Unit: bytes.'."\n"
- ."\n"
- .'> The statistics on Log Service are delayed for about two hours.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Project' => [
- 'description' => 'The Logstore project of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou',
- ],
+ 'RequestId' => ['description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeSlsLogstoreInfoResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</requestId>\\r\\n\\t<LogStore>ddoscoo-logstore</LogStore>\\r\\n\\t<Project>ddoscoo-project-181071506993****-cn-hangzhou</Project>\\r\\n\\t<Quota>3298534883328</Quota>\\r\\n\\t<Ttl>180</Ttl>\\r\\n\\t<Used>0</Used>\\r\\n</DescribeSlsLogstoreInfoResponse>","errorExample":""}]',
- 'title' => 'DescribeSlsLogstoreInfo',
- 'summary' => 'Queries information about the Logstore of the Anti-DDoS Proxy instance, such as the log storage capacity and log storage duration.',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeSlsOpenStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidEmbeddedHeaders', 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', 'description' => 'The EmbeddedHeaders parameter passed in is invalid.'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyHeaders',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHeaders'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHeaders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyHealthCheckConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19333,23 +17120,59 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106187',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106248',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'ForwardProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'* **tcp**'."\n"
+ .'* **udp**'."\n", 'type' => 'string', 'required' => true, 'example' => 'tcp', 'title' => ''],
+ ],
+ [
+ 'name' => 'FrontendPort',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080', 'title' => ''],
+ ],
+ [
+ 'name' => 'HealthCheck',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the health check configuration. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **Type**: the protocol type. This field is required and must be of the STRING type. Valid values: **tcp** (Layer 4) and **http** (Layer 7).'."\n"
+ ."\n"
+ .'* **Domain**: the domain name, which must be of the STRING type.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n"
+ ."\n"
+ .'* **Uri**: the check path, which must be of the STRING type.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n"
+ ."\n"
+ .'* **Timeout**: the response timeout period, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n"
+ ."\n"
+ .'* **Port**: the port on which you want to perform the health check, which must be of the INTEGER type.'."\n"
+ ."\n"
+ .'* **Interval**: the health check interval, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n"
+ ."\n"
+ .'* **Up**: the number of consecutive successful health checks that must occur before declaring a port healthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n"
+ ."\n"
+ .'* **Down**: the number of consecutive failed health checks that must occur before declaring a port unhealthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}', 'title' => ''],
],
],
'responses' => [
@@ -19357,39 +17180,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsOpenStatus' => [
- 'description' => 'Indicates whether Log Service is activated. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeSlsOpenStatusResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<SlsOpenStatus>true</SlsOpenStatus>\\r\\n</DescribeSlsOpenStatusResponse>","errorExample":""}]',
- 'title' => 'DescribeSlsOpenStatus',
- 'summary' => 'Checks whether Simple Log Service is activated.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyHealthCheckConfigResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyHealthCheckConfigResponse>","errorExample":""}]',
+ 'title' => 'ModifyHealthCheckConfig',
+ 'summary' => 'Modifies the Layer 4 or Layer 7 health check configuration of a port forwarding rule.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeWebAccessLogEmptyCount' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHealthCheckConfig'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyHttp2Enable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19398,23 +17227,30 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106198',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106249',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Enable',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable HTTP/2. Valid values:'."\n"
+ ."\n"
+ .'* **0**: disables HTTP/2.'."\n"
+ .'* **1**: enables HTTP/2.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -19422,121 +17258,167 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AvailableCount' => [
- 'description' => 'The remaining quota that you can clear the Logstore.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeWebAccessLogEmptyCountResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n\\t<AvailableCount>10</AvailableCount>\\r\\n</DescribeWebAccessLogEmptyCountResponse>","errorExample":""}]',
- 'title' => 'DescribeWebAccessLogEmptyCount',
- 'summary' => 'Queries the remaining quota that allows you to clear the Logstore.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyHttp2EnableResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</ModifyHttp2EnableResponse>","errorExample":""}]',
+ 'title' => 'ModifyHttp2Enable',
+ 'summary' => 'Enables or disables HTTP/2 for the forwarding rule of a website.',
+ 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDefenseRecords' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHttp2Enable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHttp2Enable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyInstance' => [
+ 'summary' => 'Modifies the specifications of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106120',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'operationType' => 'update',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '262914',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
+ 'autoTest' => true,
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
+ .'> You can invoke [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-6ja1y6p5****'."\n", 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'ModifyType',
'in' => 'query',
'schema' => [
- 'description' => 'The ID of the instance.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
+ 'description' => 'The type of specification change. Valid values:'."\n"
+ .'- UPGRADE: Upgrade.'."\n"
+ .'- DOWNGRADE: Downgrade.',
'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
+ 'required' => true,
+ 'enum' => ['UPGRADE', 'DOWNGRADE'],
+ 'example' => 'Upgrade',
+ 'title' => '',
],
],
[
- 'name' => 'StartTime',
+ 'name' => 'NormalBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n"
- ."\n"
- .'> The time must be in the latest 90 days.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1582992000000',
- ],
+ 'schema' => ['description' => 'The clean bandwidth (outside the Chinese mainland). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '200', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'ServiceBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n"
- ."\n"
- .'> The time must be in the latest 90 days.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1583683200000',
- ],
+ 'schema' => ['description' => 'The clean bandwidth (the Chinese mainland). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '300', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'BaseBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The basic protection bandwidth (the Chinese mainland). Unit: Gbit/s.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'PortCount',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of protected ports.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'Bandwidth',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The burstable protection bandwidth (the Chinese mainland). Unit: Gbit/s.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''],
+ ],
+ [
+ 'name' => 'DomainCount',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of protected domain names.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NormalQps',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The clean queries per second (QPS). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProductType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The product type.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- **ddoscoo**: indicates that the China site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.'."\n"
+ .'- **ddoscoo_intl**: indicates that the international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.'."\n"
+ .'- **ddosDip**: indicates that the China site account or international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland) instance.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo', 'title' => ''],
+ ],
+ [
+ 'name' => 'AddressType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The address type. Valid values:'."\n"
+ .'- **Ipv4**: IPv4.'."\n"
+ .'- **Ipv6**: IPv6.', 'type' => 'string', 'required' => false, 'example' => 'Ipv4', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProductPlan',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The mitigation plan (outside the Chinese mainland). Valid values:'."\n"
+ ."\n"
+ .'- **0**: Insurance mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n"
+ .'- **1**: Unlimited mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n"
+ .'- **2**: acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n"
+ .'- **3**: secure acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''],
+ ],
+ [
+ 'name' => 'EditionSale',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The mitigation plan (the Chinese mainland). Valid values:'."\n"
+ ."\n"
+ .'- **coop**: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).'."\n"
+ .'- **advance**: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => 'coop', 'title' => ''],
+ ],
+ [
+ 'name' => 'ServicePartner',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The line resource of the instance (the Chinese mainland). Valid values:'."\n"
+ ."\n"
+ .'- **coop-line-001**: eight-line BGP line for Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001', 'title' => ''],
+ ],
+ [
+ 'name' => 'FunctionVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The function version. Valid values:'."\n"
+ ."\n"
+ .'- **0**: standard features.'."\n"
+ .'- **1**: enhanced features.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''],
],
],
'responses' => [
@@ -19544,86 +17426,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of advanced mitigation sessions.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
- 'DefenseRecords' => [
- 'description' => 'An array that consists of details of the log of an advanced mitigation session.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => 'The end time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1583683200000',
- ],
- 'Status' => [
- 'description' => 'The status of the advanced mitigation session. Valid values:'."\n"
- ."\n"
- .'* **0**: The advanced mitigation session is being used.'."\n"
- .'* **1**: The advanced mitigation session is used.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'StartTime' => [
- 'description' => 'The start time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1582992000000',
- ],
- 'EventCount' => [
- 'description' => 'The number of attacks.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'AttackPeak' => [
- 'description' => 'The peak attack traffic. Unit: bit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6584186000',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E', 'title' => ''],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '242461444340562', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeDefenseRecordsResponse>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n\\t<DefenseRecords>\\r\\n\\t\\t<StartTime>1582992000000</StartTime>\\r\\n\\t\\t<EndTime>1583683200000</EndTime>\\r\\n\\t\\t<InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<AttackPeak>10</AttackPeak>\\r\\n\\t\\t<EventCount>1</EventCount>\\r\\n\\t</DefenseRecords>\\r\\n</DescribeDefenseRecordsResponse>","errorExample":""}]',
- 'title' => 'DescribeDefenseRecords',
- 'summary' => 'Queries the advanced mitigation logs of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.',
- 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n",
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'EmptySlsLogstore' => [
- 'summary' => 'Clears the Logstore of Anti-DDoS Pro or Anti-DDoS Premium.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Upgrade/Downgrade an Anti-DDoS Pro or Anti-DDoS Premium instance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0018DF77-7189-5D33-947B-E5B34BFCE07E\\",\\n \\"OrderId\\": 242461444340562\\n}","type":"json"}]',
+ ],
+ 'ModifyInstanceRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19635,22 +17470,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106219',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '106250',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to manage.'."\n"
+ ."\n"
+ .'> You can invoke [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Settings for the remark of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
+ ."\n"
+ .'The remark can contain Chinese characters, uppercase and lowercase letters, digits, and some special characters such as `,.+-*/_`. The remark can be up to 500 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'new-remark', 'title' => ''],
],
],
'responses' => [
@@ -19658,29 +17494,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<EmptySlsLogstoreResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n</EmptySlsLogstoreResponse>","errorExample":""}]',
- 'requestParamsDescription' => ' ',
+ 'title' => 'Modify the remark of a specified instance',
+ 'summary' => 'Modifies the remark of an Anti-DDoS Pro or Anti-DDoS Premium instance.',
+ 'requestParamsDescription' => 'When you call this operation, you must include the common request parameters of Alibaba Cloud API in addition to the operation-specific request parameters described in this topic. For more information about common parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For the request format, see the request example in the **Examples** section of this topic.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeStsGrantStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceRemark'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyInstanceRemark',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyNetworkRuleAttribute' => [
+ 'summary' => 'Modifies the session persistence and DDoS mitigation policy settings for a port forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19689,35 +17544,92 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106188',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106251',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n"
+ ."\n"
+ .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'Role',
+ 'name' => 'ForwardProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**'."\n"
+ ."\n"
+ .'- **udp**', 'type' => 'string', 'required' => true, 'example' => 'tcp', 'title' => ''],
+ ],
+ [
+ 'name' => 'FrontendPort',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The advanced settings for the port forwarding rule. Specify the settings as a JSON string. The structure is described below.'."\n"
+ .'The structure of \\`TcpConfig\\` is as follows:'."\n"
+ ."\n"
+ .'- **PersistenceTimeout**: An integer. This parameter is required. The timeout period for session persistence. Unit: seconds. Valid values: **30** to **3600**. The default value is **0**, which disables session persistence.'."\n"
+ ."\n"
+ .'- **Synproxy**: A string. This parameter is required. The status of the False Source setting for the DDoS mitigation policy. Valid values: \\`off\\` and \\`on\\`.'."\n"
+ ."\n"
+ .'- **NodataConn**: A string. This parameter is required. The status of the Empty Connection setting for the DDoS mitigation policy. Valid values: \\`off\\` and \\`on\\`.'."\n"
+ ."\n"
+ .'- **Sla**: A struct. This parameter is required. The configuration for destination rate limiting. For more information, see the \\`Sla\\` section below.'."\n"
+ ."\n"
+ .'- **Slimit**: A struct. This parameter is required. The configuration for source rate limiting. For more information, see the \\`Slimit\\` section below.'."\n"
+ ."\n"
+ .'- **PayloadLen**: A struct. This parameter is required. The packet length filter configuration. For more information, see the \\`PayloadLen\\` section below.'."\n"
+ ."\n"
+ .'The structure of \\`Sla\\` is as follows:'."\n"
+ ."\n"
+ .'- **Cps**: An integer. This parameter is required. The maximum number of new connections per second to a destination IP address. Valid values: 100 to 100,000.'."\n"
+ ."\n"
+ .'- **Maxconn**: An integer. This parameter is required. The maximum number of concurrent connections to a destination IP address. Valid values: 1,000 to 1,000,000.'."\n"
+ ."\n"
+ .'- **CpsEnable**: An integer. This parameter is required. Specifies whether to enable the limit on new connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n"
+ ."\n"
+ .'- **MaxconnEnable**: An integer. This parameter is required. Specifies whether to enable the limit on concurrent connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n"
+ ."\n"
+ .'The structure of \\`Slimit\\` is as follows:'."\n"
+ ."\n"
+ .'- **Cps**: An integer. This parameter is required. The maximum number of new connections per second from a source IP address. Valid values: 1 to 50,000.'."\n"
+ ."\n"
+ .'- **Maxconn**: An integer. This parameter is required. The maximum number of concurrent connections from a source IP address. Valid values: 1 to 50,000.'."\n"
+ ."\n"
+ .'- **CpsEnable**: An integer. This parameter is required. Specifies whether to enable the limit on new connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n"
+ ."\n"
+ .'- **MaxconnEnable**: An integer. This parameter is required. Specifies whether to enable the limit on concurrent connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n"
+ ."\n"
+ .'- **CpsMode**: An integer. This parameter is required. The mode for the new connection rate limit from a source IP address. Valid values: 1 (off) and 2 (auto).'."\n"
+ ."\n"
+ .'The structure of \\`PayloadLen\\` is as follows:'."\n"
+ ."\n"
+ .'- **Min**: An integer. This parameter is required. The minimum packet length. Valid values: 0 to 1,500.'."\n"
+ ."\n"
+ .'- **Max**: An integer. This parameter is required. The maximum packet length. Valid values: 0 to 1,500.', 'type' => 'string', 'required' => true, 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":1500}}'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Module',
'in' => 'query',
'schema' => [
- 'description' => 'The name of the RAM role to query. Set the value to **AliyunDDoSCOODefaultRole**, which indicates the default role of Anti-DDoS Pro or Anti-DDoS Premium.'."\n"
+ 'description' => 'The module for Layer 7 port support. The default value is sla. Valid value:'."\n"
."\n"
- .'> Anti-DDoS Pro or Anti-DDoS Premium uses the default role to access other cloud services.'."\n",
+ .'**sla**: Speed Limit for Destination',
'type' => 'string',
- 'required' => true,
- 'example' => 'AliyunDDoSCOODefaultRole',
+ 'required' => false,
+ 'enum' => ['sla'],
+ 'example' => 'sla',
+ 'title' => '',
],
],
],
@@ -19726,52 +17638,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
- ],
- 'StsGrant' => [
- 'description' => 'The authorization status of Anti-DDoS Pro or Anti-DDoS Premium.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The authorization status. Valid values:'."\n"
- ."\n"
- .'* **0**: Anti-DDoS Pro or Anti-DDoS Premium is not authorized to access other cloud services.'."\n"
- .'* **1**: Anti-DDoS Pro or Anti-DDoS Premium is authorized to access other cloud services.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"StsGrant\\": {\\n \\"Status\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeStsGrantStatusResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <StsGrant>\\n <Status>1</Status>\\n </StsGrant>\\n</DescribeStsGrantStatusResponse>","errorExample":""}]',
- 'summary' => 'Queries whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access other cloud services.',
- 'description' => 'You can call the DescribeStsGrantStatus operation to query whether Anti-DDoS Pro or Anti-DDoS Premium of the current Alibaba Cloud account is authorized to access other cloud services.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyNetworkRuleAttribute',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAsyncTasks' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNetworkRuleAttribute'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyNetworkRuleAttribute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyOcspStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19781,46 +17685,24 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '106092',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106252',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => true, 'example' => 'click.linktech.cn', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Specifies whether to enable the OCSP feature. Valid values:'."\n"
+ ."\n"
+ .'* **1**: yes.'."\n"
+ .'* **0**: no.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
@@ -19828,123 +17710,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of asynchronous export tasks that are returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
- ],
- 'AsyncTasks' => [
- 'description' => 'An array that consists of the details of the asynchronous export tasks.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => 'The end time of the task. This value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '157927362000',
- ],
- 'TaskType' => [
- 'description' => 'The type of the task. Valid values:'."\n"
- ."\n"
- .'* **1**: the task to export the port forwarding rules of an instance'."\n"
- .'* **2**: the task to export the forwarding rules of a website protected by an instance'."\n"
- .'* **3**: the task to export the sessions and health check settings of an instance'."\n"
- .'* **4**: the task to export the mitigation policies of an instance'."\n"
- .'* **5**: the task to download the blacklist for destination IP addresses of an instance'."\n"
- .'* **6**: the task to download the whitelist for destination IP addresses of an instance'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'StartTime' => [
- 'description' => 'The start time of the task. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '156927362000',
- ],
- 'TaskParams' => [
- 'description' => 'The task parameter. The value is a JSON string. The returned field in the value varies based on the value of **TaskType**.'."\n"
- ."\n"
- .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following filed is returned:'."\n"
- ."\n"
- .'* **instanceId**: the ID of the instance. Data type: string.'."\n"
- ."\n"
- .'If **TaskType** is set to **2**, the following field is returned:'."\n"
- ."\n"
- .'* **domain**: the domain name of the website. Data type: string.'."\n",
- 'type' => 'string',
- 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}',
- ],
- 'TaskStatus' => [
- 'description' => 'The status of the task. Valid values:'."\n"
- ."\n"
- .'* **0**: indicates that the task is being initialized.'."\n"
- .'* **1**: indicates that the task is in progress.'."\n"
- .'* **2**: indicates that the task is successful.'."\n"
- .'* **3**: indicates that the task failed.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TaskResult' => [
- 'description' => 'The execution result of the task. The value is a JSON string. The returned fields in the value vary based on the value of **TaskType**.'."\n"
- ."\n"
- .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following fields are returned:'."\n"
- ."\n"
- .'* **instanceId**: the ID of the instance. Data type: string.'."\n"
- .'* **url**: the URL to download the exported file from Object Storage Service (OSS). Data type: string.'."\n"
- ."\n"
- .'If **TaskType** is set to **2**, the following fields are returned:'."\n"
- ."\n"
- .'* **domain**: the domain name of the website. Data type: string.'."\n"
- .'* **url**: the URL to download the exported file from OSS. Data type: string.'."\n",
- 'type' => 'string',
- 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****","url": "https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****"}',
- ],
- 'TaskId' => [
- 'description' => 'The ID of the job.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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":"<DescribeAsyncTasksResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <AsyncTasks>\\n <EndTime>157927362000</EndTime>\\n <TaskType>5</TaskType>\\n <StartTime>156927362000</StartTime>\\n <TaskParams>{\\"instanceId\\": \\"ddoscoo-cn-mp91j1ao****\\"}</TaskParams>\\n <TaskStatus>2</TaskStatus>\\n <TaskResult>{\\"instanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\"url\\": \\"https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&amp;OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&amp;Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****\\"}</TaskResult>\\n <TaskId>1</TaskId>\\n </AsyncTasks>\\n</DescribeAsyncTasksResponse>","errorExample":""}]',
- 'summary' => 'Queries the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.',
- 'description' => 'You can call the DescribeAsyncTasks operation to query the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeSystemLog' => [
- 'summary' => 'Queries the details of the bills for the burstable clean bandwidth.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyOcspStatus',
+ 'summary' => 'Specifies whether to enable the Online Certificate Status Protocol (OCSP) feature.',
+ 'description' => 'This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyOcspStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyOcspStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyPort' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19952,82 +17752,68 @@
],
'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106190',
- 'abilityTreeNodes' => [
- 'FEATUREddosIJFWZ1',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106253',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'EntityType',
+ 'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the system log. Set the value to **20**, which indicates the billing logs for the burstable clean bandwidth.'."\n"
- ."\n"
- .'> You must specify this parameter. Otherwise, the call fails.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'The forwarding port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''],
],
[
- 'name' => 'EntityObject',
+ 'name' => 'FrontendProtocol',
'in' => 'query',
'schema' => [
- 'description' => 'The IP address of the instance.'."\n"
+ 'description' => 'The type of the forwarding protocol. Valid values:'."\n"
+ ."\n"
+ .'- **tcp**: TCP protocol.'."\n"
."\n"
- .'> You can call the [DescribeInstanceDetails](~~91490~~) operation to query the IP addresses of all instances.'."\n",
+ .'- **udp**: UDP protocol.',
'type' => 'string',
- 'required' => false,
- 'example' => '203.107.XX.XX',
+ 'required' => true,
+ 'enum' => ['tcp', 'udp'],
+ 'example' => 'tcp',
+ 'title' => '',
],
],
[
- 'name' => 'StartTime',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The bills of the burstable clean bandwidth that are issued after this point in time are queried. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1609430400000',
- ],
+ 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy instance to which the port forwarding rule belongs.'."\n"
+ ."\n"
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'BackendPort',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The bills of the burstable clean bandwidth that are issued before this point in time are queried. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1640966400000',
- ],
+ 'schema' => ['description' => 'The origin server port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'RealServers',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of the page to return.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The IP addresses of origin servers.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the origin server.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''],
'required' => true,
- 'example' => '1',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ProxyEnable',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n"
+ ."\n"
+ .'- **0**: off.'."\n"
+ ."\n"
+ .'- **1**: on.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''],
],
],
'responses' => [
@@ -20035,114 +17821,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => 'The total number of billing logs for the burstable clean bandwidth.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C',
- ],
- 'SystemLog' => [
- 'description' => 'An array that consists of details of the billing logs for the burstable clean bandwidth.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The status of the bill. Valid values:'."\n"
- ."\n"
- .'* **0**: to be billed'."\n"
- .'* **1**: billed'."\n"
- .'* **2**: terminated'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'EntityType' => [
- 'description' => 'The type of the system log. The value is fixed as **20**, which indicates the billing logs for burstable clean bandwidth.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'EntityObject' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'GmtCreate' => [
- 'description' => 'The time when the bill was generated. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1631793531000',
- ],
- 'OpAction' => [
- 'description' => 'The operation type. The value is fixed as **100**, which indicates the billing logs for the burstable clean bandwidth that you increased.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => 'The time when the bill was last modified. The value is a UNIX timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1635425407000',
- ],
- 'OpAccount' => [
- 'description' => 'The ID of the Alibaba Cloud account to which the bill belongs.'."\n",
- 'type' => 'string',
- 'example' => '171986973287****',
- ],
- 'OpDesc' => [
- 'description' => 'The details of the bill. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **newEntity**: the bill record, which contains the following fields. Data type: object.'."\n"
- ."\n"
- .' * **billValue**: the usage of the burstable clean bandwidth within a month. Unit: Mbit/s. Data type: integer.'."\n"
- .' * **instanceId**: the ID of the instance. Data type: string.'."\n"
- .' * **ip**: the IP address of the instance. Data type: string.'."\n"
- .' * **maxBw**: the peak service traffic (monthly 95th percentile bandwidth) within a month. Unit: Mbit/s. Data type: string.'."\n"
- .' * **month**: the month in which the bill of the previous calendar month is issued. This value is a UNIX timestamp. Unit: milliseconds. Data type: long.'."\n"
- .' * **overBandwidth**: the peak service traffic minus the clean bandwidth of the instance. Unit: Mbit/s. Data type: integer.'."\n"
- .' * **peakTime**: the time in point of the peak service traffic that is measured for billing. This value is a UNIX timestamp. Unit: seconds. Data type: long.'."\n"
- .' * **startTimestamp**: the beginning of the time range for the peak service traffic range. This value is a UNIX timestamp. Unit: seconds. Data type: long.'."\n",
- 'type' => 'string',
- 'example' => '{"newEntity":{"billValue":"60","instanceId":"ddoscoo-cn-zz121ogz****","ip":"203.107.XX.XX","maxBw":"300","month":1627747200000,"overBandwidth":"120","peakTime":1629871200,"startTimestamp":1629871200}}',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeSystemLogResponse>\\n <Total>1</Total>\\n <RequestId>8BC3A33A-F832-58DB-952F-7682A25AD14C</RequestId>\\n <SystemLog>\\n <Status>1</Status>\\n <EntityType>20</EntityType>\\n <EntityObject>203.107.XX.XX</EntityObject>\\n <GmtCreate>1631793531000</GmtCreate>\\n <OpAction>100</OpAction>\\n <GmtModified>1635425407000</GmtModified>\\n <OpAccount>171986973287****</OpAccount>\\n <OpDesc>{\\"newEntity\\":{\\"billValue\\":\\"60\\",\\"instanceId\\":\\"ddoscoo-cn-zz121ogz****\\",\\"ip\\":\\"203.107.XX.XX\\",\\"maxBw\\":\\"300\\",\\"month\\":1627747200000,\\"overBandwidth\\":\\"120\\",\\"peakTime\\":1629871200,\\"startTimestamp\\":1629871200}}</OpDesc>\\n </SystemLog>\\n</DescribeSystemLogResponse>","errorExample":""}]',
- 'description' => 'You can call the DescribeSystemLog operation to query the system logs of Anti-DDoS Pro or Anti-DDoS Premium. The system logs contain only billing logs for the burstable clean bandwidth.'."\n"
- ."\n"
- .'If you have enabled the burstable clean bandwidth feature, you can call this operation to query the details of the bills of the burstable clean bandwidth.'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeElasticQps' => [
- 'summary' => 'Queries the line chart of the bills for the burstable QPS of an Anti-DDoS Proxy instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ModifyPort',
+ 'summary' => 'Modifies a port forwarding rule.',
+ 'description' => 'This operation can be used with Terraform. For more information, see [What is Terraform](~~95820~~).',
+ 'changeSet' => [
+ ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Request parameters changed'],
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPort'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyPort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyPortAutoCcStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20151,74 +17867,34 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '172965',
- 'abilityTreeNodes' => [
- 'FEATUREddosIJFWZ1',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106254',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the service. Valid values:'."\n"
- ."\n"
- .'* **cn**: Anti-DDoS Proxy (Chinese Mainland)'."\n"
- .'* **cn-hongkong**: Anti-DDoS Proxy (Outside Chinese Mainland)'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn',
- ],
- ],
- [
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the Anti-DDoS Proxy instance to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '203.107.XX.XX'."\n",
- ],
- ],
- [
- 'name' => 'StartTime',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1684252800',
- ],
+ 'schema' => ['description' => 'The ID of the instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Switch',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n"
- ."\n"
- .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1684339200',
- ],
+ 'schema' => ['description' => 'Specifies the status of the Intelligent Protection policy. Valid values:'."\n"
+ ."\n"
+ .'* **on**: enables the policy.'."\n"
+ .'* **off**: disables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'on', 'title' => ''],
],
[
- 'name' => 'Interval',
+ 'name' => 'Mode',
'in' => 'query',
- 'schema' => [
- 'description' => 'The sampling interval. Unit: seconds. The value must be a multiple of 60. Default value: 60. Unit: seconds. The query result varies depending on the sampling interval.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '60',
- 'default' => '3600',
- ],
+ 'schema' => ['description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n"
+ ."\n"
+ .'* **normal**'."\n"
+ .'* **loose**'."\n"
+ .'* **strict**'."\n", 'type' => 'string', 'required' => true, 'example' => 'normal', 'title' => ''],
],
],
'responses' => [
@@ -20226,95 +17902,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F',
- ],
- 'ElasticQps' => [
- 'description' => 'The information about the burstable QPS.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'MaxNormalQps' => [
- 'description' => 'The peak QPS of the normal service.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '23',
- ],
- 'Index' => [
- 'description' => 'The index number of the returned data.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'MaxQps' => [
- 'description' => 'The peak inbound QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Pv' => [
- 'description' => 'The total number of requests during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15104',
- ],
- 'Ups' => [
- 'description' => 'The total number of origin requests during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1223',
- ],
- 'Status2' => [
- 'description' => 'The total number of HTTP 2xx status codes during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '455',
- ],
- 'Status3' => [
- 'description' => 'The total number of HTTP 3xx status codes during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Status4' => [
- 'description' => 'The total number of HTTP 4xx status codes during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '34',
- ],
- 'Status5' => [
- 'description' => 'The total number of HTTP 5xx status codes during the step size period.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyPortAutoCcStatusResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyPortAutoCcStatusResponse>","errorExample":""}]',
+ 'title' => 'ModifyPortAutoCcStatus',
+ 'summary' => 'Modifies the Intelligent Protection configuration of a non-website service.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F\\",\\n \\"ElasticQps\\": [\\n {\\n \\"MaxNormalQps\\": 23,\\n \\"Index\\": 1,\\n \\"MaxQps\\": 100,\\n \\"Pv\\": 15104,\\n \\"Ups\\": 1223,\\n \\"Status2\\": 455,\\n \\"Status3\\": 100,\\n \\"Status4\\": 34,\\n \\"Status5\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeElasticQps',
- ],
- 'DescribeElasticQpsRecord' => [
- 'summary' => 'Queries the burstable QPS details of an Anti-DDoS Proxy instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPortAutoCcStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyQpsMode' => [
+ 'summary' => 'Switches between the metering methods of the burstable clean bandwidth feature.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20323,143 +17950,70 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '173053',
- 'abilityTreeNodes' => [
- 'FEATUREddosIJFWZ1',
- ],
+ 'abilityTreeCode' => '169181',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The beginning of the time range to query. The value is a timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1684252800000',
- ],
- ],
- [
- 'name' => 'EndTime',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end of the time range to query. The value is a timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1688140799999',
- ],
+ 'schema' => ['description' => 'The region ID of the Anti-DDoS Pro instance.'."\n"
+ ."\n"
+ .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''],
],
[
- 'name' => 'Ip',
+ 'name' => 'Mode',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the Anti-DDoS Proxy instance to query.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '203.107.XX.XX'."\n",
- ],
+ 'schema' => ['description' => 'The metering method of QPS. Valid values:'."\n"
+ ."\n"
+ .'- **month**: monthly 95th percentile QPS.'."\n"
+ ."\n"
+ .'- **day**: daily 95th percentile QPS.', 'type' => 'string', 'required' => true, 'example' => 'month', 'title' => ''],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F',
- ],
- 'ElasticQpsList' => [
- 'description' => 'The QPS information about the instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OpsElasticQps' => [
- 'description' => 'The burstable QPS value. A value of 0 indicates that the burstable QPS feature is not enabled.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '300000',
- ],
- 'Ip' => [
- 'description' => 'The IP address of the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'string',
- 'example' => '203.***.***.199',
- ],
- 'OriginQps' => [
- 'description' => 'The service QPS (purchased).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1345',
- ],
- 'Date' => [
- 'description' => 'The timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1688140799999'."\n",
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-7e225i41****'."\n",
- ],
- 'Qps' => [
- 'description' => 'The daily peak 95th percentile QPS.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4367',
- ],
- 'QpsPeak' => [
- 'description' => 'The daily peak traffic.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '122',
- ],
- 'Status' => [
- 'description' => 'Indicates whether the instance has expired or is released. Valid values:'."\n"
- ."\n"
- .'* **1**: The instance runs as expected.'."\n"
- .'* **2**: The instance has expired.'."\n"
- .'* **4**: The instance is released.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'OpsQps' => [
- 'description' => 'The service QPS (active).'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1345',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B34E2-570C-508D-95FD-DFB6611D518F\\",\\n \\"ElasticQpsList\\": [\\n {\\n \\"OpsElasticQps\\": 300000,\\n \\"Ip\\": \\"203.***.***.199\\",\\n \\"OriginQps\\": 1345,\\n \\"Date\\": 1688140799999,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\\\n\\",\\n \\"Qps\\": 4367,\\n \\"QpsPeak\\": 122,\\n \\"Status\\": 1,\\n \\"OpsQps\\": 1345\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeElasticQpsRecord',
- ],
- 'CreateTagResources' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ModifyQpsMode',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]',
+ ],
+ 'ModifySceneDefensePolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20468,93 +18022,47 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106073',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106256',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the Anti-DDoS Proxy instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the policy that you want to modify.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpolicy', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'Template',
'in' => 'query',
'schema' => [
- 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n",
+ 'description' => 'The template of the policy. Valid values:'."\n"
+ ."\n"
+ .'* **promotion**: important activity.'."\n"
+ .'* **bypass**: all traffic forwarded.'."\n",
'type' => 'string',
'required' => true,
- 'example' => 'INSTANCE',
+ 'example' => 'promotion',
+ 'enum' => ['promotion'],
+ 'title' => '',
],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'StartTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy instances to which you want to add tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy instance to which you want to add tags.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 51,
- ],
+ 'schema' => ['description' => 'The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'EndTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the tags to add.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag to add.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testkey',
- ],
- 'Value' => [
- 'description' => 'The value of the tag to add.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testvalue',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 21,
- ],
+ 'schema' => ['description' => 'The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000', 'title' => ''],
],
],
'responses' => [
@@ -20562,38 +18070,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E',
- ],
+ 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<CreateTagResourcesResponse>\\r\\n\\t<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>\\r\\n</CreateTagResourcesResponse>","errorExample":""}]',
- 'title' => 'CreateTagResources',
- 'summary' => 'Adds tags to multiple Anti-DDoS Proxy instances at a time.',
- 'description' => 'You can call the CreateTagResources operation to add tags to multiple Anti-DDoS Proxy instances at a time.'."\n"
- ."\n"
- .'### [](#qps-)Limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifySceneDefensePolicyResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</ModifySceneDefensePolicyResponse>","errorExample":""}]',
+ 'title' => 'ModifySceneDefensePolicy',
+ 'summary' => 'Modifies a scenario-specific custom policy.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteTagResources' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySceneDefensePolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifySceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifySchedulerRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20602,95 +18121,71 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106087',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106257',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'Rules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n"
+ ."\n"
+ .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n"
+ ."\n"
+ .' * **A**: IP address'."\n"
+ .' * **CNAME**: domain name'."\n"
+ ."\n"
+ .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n"
+ ."\n"
+ .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n"
+ ."\n"
+ .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n"
+ ."\n"
+ .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n"
+ .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n"
+ .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n"
+ .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n"
+ .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n"
+ .' * **8**: the IP address of the Secure Chinese Mainland Acceleration (Sec-CMA) instance in the secure acceleration scenario'."\n"
+ ."\n"
+ .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', 'title' => ''],
],
[
- 'name' => 'All',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to remove all tags from the specified resource. Valid values:'."\n"
- ."\n"
- .'* **true**: yes.'."\n"
- .'* **false** no. This is the default value.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The name of the rule that you want to modify.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'RuleType',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of the IDs of instances from which you want to remove tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance from which you want to remove tags.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zvp2eibz****',
- ],
- 'required' => true,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 51,
- ],
+ 'schema' => ['description' => 'The type of the scheduling rule. Valid values:'."\n"
+ ."\n"
+ .'* **2**: tiered protection'."\n"
+ .'* **3**: network acceleration'."\n"
+ .'* **5**: CDN interaction'."\n"
+ .'* **6**: cloud service interaction'."\n"
+ .'* **8**: secure acceleration'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''],
],
[
- 'name' => 'TagKey',
+ 'name' => 'Param',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of the keys of the tags that you want to remove.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The key of the tag that you want to remove.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doc-test-key',
- ],
- 'required' => false,
- 'example' => 'testkey',
- 'maxItems' => 21,
- ],
+ 'schema' => ['description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n"
+ ."\n"
+ .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. The ParamData parameter contains the following parameters:'."\n"
+ ."\n"
+ .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n"
+ .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n"
+ .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n"
+ .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', 'title' => ''],
],
],
'responses' => [
@@ -20698,40 +18193,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
- ],
+ 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', 'title' => ''],
+ 'Cname' => ['description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n"
+ ."\n"
+ .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com', 'title' => ''],
+ 'RuleName' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'testrule', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTagResourcesResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n</DeleteTagResourcesResponse>","errorExample":""}]',
- 'title' => 'DeleteTagResources',
- 'summary' => 'Removes tags from Anti-DDoS Proxy (Chinese Mainland) instances.',
- 'description' => 'You can call the DeleteTagResources operation to remove tags from Anti-DDoS Proxy (Chinese Mainland) instances.'."\n"
- ."\n"
- .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n"
- ."\n"
- .'### [](#qps-)QPS limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySchedulerRuleResponse>\\n <RequestId>FFC77501-BDF8-4BC8-9BF5-B295FBC3189B</RequestId>\\n <Cname>48k7b372gpl4****.aliyunddos0001.com</Cname>\\n <RuleName>testrule</RuleName>\\n</ModifySchedulerRuleResponse>","errorExample":""}]',
+ 'title' => 'ModifySchedulerRule',
+ 'summary' => 'Modifies the scheduling rule of Sec-Traffic Manager.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeTagKeys' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySchedulerRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifySchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyTlsConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20740,67 +18244,52 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106191',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106258',
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Config',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of the page to return. Default value: **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The details of the TLS security policy, expressed as a JSON-formatted string with the following structure.'."\n"
+ .'- **ssl_protocols**: String type, required. The TLS version. Valid values:'."\n"
+ .' - **tls1.0**: TLS 1.0 and later are supported.'."\n"
+ .' - **tls1.1**: TLS 1.1 and later are supported.'."\n"
+ .' - **tls1.2**: TLS 1.2 and later are supported.'."\n"
+ .'- **ssl_ciphers**: String type, required. The cipher suite type. Valid values:'."\n"
+ .' - **all**: all cipher suites, including strong and weak cipher suites'."\n"
+ .' - **improved**: enhanced cipher suites'."\n"
+ .' - **strong**: strong cipher suites only'."\n"
+ .' - **default**: default cipher suites, which include only strong cipher suites'."\n"
+ .'- **ssl_13_enabled**: Boolean type, optional. Specifies whether to enable TLS 1.3. Valid values:'."\n"
+ .' - **true**: Enables TLS 1.3.'."\n"
+ .' - **false**: Disables TLS 1.3.'."\n"
+ .'- **custom_ciphers**: Array type, optional. The list of custom cipher suites for TLS versions earlier than 1.3.'."\n"
+ .'- **tls_13_custom_ciphers**: Array type, optional. The list of custom cipher suites for TLS 1.3. If TLS 1.3 is enabled, select at least one cipher suite for TLS versions earlier than 1.3.', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "ssl_protocols": "tls1.2",'."\n"
+ .' "ssl_ciphers": "default",'."\n"
+ .' "ssl_13_enabled": true,'."\n"
+ .' "custom_ciphers": ['."\n"
+ .' "ECDHE-ECDSA-AES128-GCM-SHA256"'."\n"
+ .' ],'."\n"
+ .' "tls_13_custom_ciphers": ['."\n"
+ .' "TLS_AES_256_GCM_SHA384"'."\n"
+ .' ]'."\n"
+ .'}', 'title' => ''],
],
],
'responses' => [
@@ -20808,79 +18297,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1',
- ],
- 'PageNumber' => [
- 'description' => 'The page number of the returned page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TagKeys' => [
- 'description' => 'The details about the tag keys.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TagCount' => [
- 'description' => 'The number of Anti-DDoS Proxy (Chinese Mainland) instances to which the tag key is added.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TagKey' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'aa1',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeTagKeysResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n <TotalCount>1</TotalCount>\\n <TagKeys>\\n <TagCount>2</TagCount>\\n <TagKey>aa1</TagKey>\\n </TagKeys>\\n</DescribeTagKeysResponse>","errorExample":""}]',
- 'title' => 'DescribeTagKeys',
- 'summary' => 'Queries all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added.',
- 'description' => 'You can call this operation to query all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added by page.'."\n"
- ."\n"
- .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n"
- ."\n"
- .'### [](#qps-)QPS limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'title' => 'Modify the TLS security policy of a website forwarding rule',
+ 'summary' => 'Modifies the TLS security policy of a website forwarding rule.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeTagResources' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTlsConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyTlsConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyWebAIProtectMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20889,116 +18344,118 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106192',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- 'FEATUREddosMHU3MF',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106260',
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
- ."\n"
- .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm2pz25js****',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'Config',
'in' => 'query',
+ 'schema' => ['description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **AiTemplate**: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values:'."\n"
+ ."\n"
+ .' * **level30**: the Low level'."\n"
+ .' * **level60**: the Normal level'."\n"
+ .' * **level90**: the Strict level'."\n"
+ ."\n"
+ .'* **AiMode**: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values:'."\n"
+ ."\n"
+ .' * **watch**: the Warning mode'."\n"
+ .' * **defense**: the Defense mode'."\n", 'type' => 'string', 'required' => true, 'example' => '{"AiTemplate":"level60","AiMode":"defense"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebAIProtectModeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAIProtectModeResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebAIProtectMode',
+ 'summary' => 'Changes the mode of the intelligent protection feature for a website.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectMode'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The query token. Set the value to the value of **NextToken** that is returned in the last call.'."\n"
- ."\n"
- .'> You do not need to configure this parameter if you call this operation for the first time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAIProtectMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyWebAIProtectSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ResourceIds',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106261',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of the Anti-DDoS Proxy (Chinese Mainland) instances that you want to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance that you want to query.'."\n"
- ."\n"
- .'> '."\n"
- ."\n"
- .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n"
- ."\n"
- .'* You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-zz121ogz****',
- ],
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- 'maxItems' => 51,
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of tags that you want to query. Each tag consists of a tag **key** and a tag **value**.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag that you want to query.'."\n"
- ."\n"
- .'> '."\n"
- ."\n"
- .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n"
- ."\n"
- .'* You can call the [DescribeTagKeys](~~159785~~) operation to query all tag keys.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testkey',
- ],
- 'Value' => [
- 'description' => 'The value of the tag that you want to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testvalue',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 21,
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **AiRuleEnable**: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values:'."\n"
+ ."\n"
+ .' * **0**: disabled'."\n"
+ .' * **1**: enabled'."\n", 'type' => 'string', 'required' => true, 'example' => '{"AiRuleEnable": 1}', 'title' => ''],
],
],
'responses' => [
@@ -21006,81 +18463,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The query token that is returned in this call.'."\n",
- 'type' => 'string',
- 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3',
- ],
- 'TagResources' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'TagResource' => [
- 'description' => 'The tags that are added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TagValue' => [
- 'description' => 'The value of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'example' => 'testkey',
- ],
- 'ResourceType' => [
- 'description' => 'The resource type. The value is fixed as **INSTANCE**, which indicates an Anti-DDoS Proxy instance.'."\n",
- 'type' => 'string',
- 'example' => 'INSTANCE',
- ],
- 'ResourceId' => [
- 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-zz121ogz****',
- ],
- 'TagKey' => [
- 'description' => 'The key of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n",
- 'type' => 'string',
- 'example' => 'testvalue',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"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":"<DescribeTagResourcesResponse>\\n <NextToken>RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****</NextToken>\\n <RequestId>36E698F7-48A4-48D0-9554-0BB4BAAB99B3</RequestId>\\n <TagResources>\\n <TagValue>testkey</TagValue>\\n <ResourceType>INSTANCE</ResourceType>\\n <ResourceId>ddoscoo-cn-zz121ogz****</ResourceId>\\n <TagKey>testvalue</TagKey>\\n </TagResources>\\n</DescribeTagResourcesResponse>","errorExample":""}]',
- 'title' => 'DescribeTagResources',
- 'summary' => 'Queries the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.',
- 'description' => 'You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n"
- ."\n"
- .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n"
- ."\n"
- .'### [](#qps-)QPS limits'."\n"
- ."\n"
- .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebAIProtectSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAIProtectSwitchResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebAIProtectSwitch',
+ 'summary' => 'Enables or disables the Intelligent Protection policy for a website.',
+ 'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreatePort' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectSwitch'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAIProtectSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyWebAccessMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21089,86 +18510,112 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '106070',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106259',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'FrontendPort',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'FrontendProtocol',
+ 'name' => 'AccessMode',
'in' => 'query',
+ 'schema' => ['description' => 'The mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n"
+ ."\n"
+ .'* **0**: A record mode'."\n"
+ .'* **1**: anti-DDoS mode'."\n"
+ .'* **2**: origin redundancy mode'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- 'enum' => [
- 'tcp',
- 'udp',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebAccessModeResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebAccessModeResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebAccessMode',
+ 'summary' => 'Changes the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAccessMode'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-st21zbyq****',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAccessMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyWebAreaBlock' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'BackendPort',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106262',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in the Resource Management service. The default value is empty, which means the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'],
],
[
- 'name' => 'RealServers',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IP addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.XX.XX.1',
- ],
- 'required' => true,
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The domain name to operate on.'."\n"
+ ."\n"
+ .'> The domain name must have website business forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'www.aliyun.com'],
],
[
- 'name' => 'ProxyEnable',
+ 'name' => 'Regions',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The list of regions to block.'."\n"
+ ."\n"
+ .'> Not setting this parameter indicates turning off the location blacklist (for domain names) feature.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The list of regions to block. Supports blocking Chinese regions (province, city, district dimension) and international regions (country dimension), for example, **CN-310000** represents Shanghai, **OVERSEAS-US** represents the United States. Not setting this parameter indicates turning off the location blacklist (for domain names) feature.'."\n"
+ ."\n"
+ .'> For information about the values of this parameter, see [Region type parameter value description](~~167926~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'CN-310000'],
'required' => false,
+ 'example' => 'CN-SHANGHAI',
+ 'maxItems' => 1000,
+ 'title' => '',
],
],
],
@@ -21177,29 +18624,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D',
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]',
- 'title' => 'CreatePort',
- 'summary' => 'Creates a port forwarding rule.',
- 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
- ],
- 'DeletePort' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'ModifyWebAreaBlock',
+ 'summary' => 'Configures blocked regions for website domain name blacklists.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlock'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAreaBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyWebAreaBlockSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21208,78 +18668,119 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '106084',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106263',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'FrontendPort',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not set this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'FrontendProtocol',
+ 'name' => 'Domain',
'in' => 'query',
+ 'schema' => ['description' => 'The domain name for which you want to set the Location Blacklist feature.'."\n"
+ ."\n"
+ .'> You can call [DescribeDomains](~~91724~~) to query all domain names that are protected by Anti-DDoS Proxy.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The status of the Location Blacklist feature (for domain names). This parameter is a string that is converted from a JSON struct. The JSON struct contains the following parameter:'."\n"
+ ."\n"
+ .'- **RegionblockEnable**: An Integer value that is required. The status of the Location Blacklist feature (for domain names). Valid values:'."\n"
+ ."\n"
+ .' - **1**: enables the feature.'."\n"
+ ."\n"
+ .' - **0**: disables the feature.', 'type' => 'string', 'required' => true, 'example' => '{"RegionblockEnable": 1}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- 'enum' => [
- 'tcp',
- 'udp',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyWebAreaBlockSwitch',
+ 'summary' => 'Sets the status of the Location Blacklist feature for website services (for domain names).',
+ 'description' => 'This operation sets the status of the Location Blacklist feature for website services (for domain names).'."\n"
+ ."\n"
+ .'### QPS limits'."\n"
+ ."\n"
+ .'The single-user queries per second (QPS) limit for this operation is 10. API calls that exceed the limit are throttled, which may affect your business. We recommend that you call this operation at an appropriate rate.',
+ 'requestParamsDescription' => 'When you call this operation, in addition to the preceding operation-specific request parameters, you must also specify common request parameters. For more information, see [common parameter](https://help.aliyun.com/document_detail/157269.html).'."\n"
+ ."\n"
+ .'For the request syntax, see the "Request syntax" section in this topic.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlockSwitch'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-st21zbyq****',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyWebCCGlobalSwitch' => [
+ 'summary' => 'Enables or disables the HTTP flood mitigation feature for a website.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'BackendPort',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201506',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''],
],
[
- 'name' => 'RealServers',
+ 'name' => 'CcGlobalSwitch',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IP addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.XX.XX.1',
- ],
- 'required' => false,
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'Specifies whether the HTTP flood mitigation feature is enabled. Valid values:'."\n"
+ ."\n"
+ .'- **open**'."\n"
+ ."\n"
+ .'- **close**', 'type' => 'string', 'required' => true, 'example' => 'open', 'title' => ''],
],
],
'responses' => [
@@ -21287,122 +18788,107 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
- 'title' => 'DeletePort',
- 'summary' => 'Deletes the specified port forwarding rule.',
- 'description' => 'After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.'."\n"
- ."\n"
- .'> You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
- ],
- 'ModifyPort' => [
- 'summary' => 'Modifies a port forwarding rule.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ModifyWebCCGlobalSwitch',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyWebCCRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => true,
'systemTags' => [
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106253',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106267',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'FrontendPort',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS Proxy instance belongs in the Resource Management product. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'FrontendProtocol',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the forwarding protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- 'enum' => [
- 'tcp',
- 'udp',
- ],
- ],
+ 'schema' => ['description' => 'The domain name of the website business.'."\n"
+ ."\n"
+ .'> The domain name must have a configured website business forwarding rule. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-st21zbyq****',
- ],
+ 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
],
[
- 'name' => 'BackendPort',
+ 'name' => 'Act',
'in' => 'query',
- 'schema' => [
- 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The blocking type. Valid values:'."\n"
+ ."\n"
+ .'- **close**: block'."\n"
+ ."\n"
+ .'- **captcha**: bot detection', 'type' => 'string', 'required' => true, 'example' => 'close', 'title' => ''],
],
[
- 'name' => 'RealServers',
+ 'name' => 'Count',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IP addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.XX.XX.1',
- ],
- 'required' => true,
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => 'The number of access attempts from a single IP address. Valid values: **2** to **2000**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''],
],
[
- 'name' => 'ProxyEnable',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The detection duration. Valid values: **5** to **10800**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The matching pattern. Valid values:'."\n"
+ ."\n"
+ .'- **prefix**: prefix match'."\n"
+ ."\n"
+ .'- **match**: exact match', 'type' => 'string', 'required' => true, 'example' => 'prefix', 'title' => ''],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''],
+ ],
+ [
+ 'name' => 'Uri',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The detection path.'."\n"
+ ."\n"
+ .'> The URI cannot be modified. A rule is uniquely identified by the domain name of the website business, the detection path, and the rule name.', 'type' => 'string', 'required' => true, 'example' => '/abc', 'title' => ''],
],
],
'responses' => [
@@ -21410,28 +18896,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
- 'title' => 'ModifyPort',
- 'description' => 'You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
- ],
- 'DescribePort' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => [
+ 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyWebCCRule',
+ 'summary' => 'Modifies a custom rule for website business frequency control protection (HTTP flood protection).',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCCRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyWebCacheCustomRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21440,74 +18946,39 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '106164',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106264',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-7e225i41****',
- ],
- ],
- [
- 'name' => 'FrontendProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the forwarding protocol to query. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tcp',
- 'enum' => [
- 'tcp',
- 'udp',
- ],
- ],
- ],
- [
- 'name' => 'FrontendPort',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The forwarding port to query. Valid values: **0** to **65535**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The page number. For example, if you want to obtain results on the first page, set the value to **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Rules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The details of the custom rule. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **Name**: the name of the rule. This field is required and must be of the string type.'."\n"
+ ."\n"
+ .'* **Uri**: the path to the cached page. This field is required and must be of the STRING type.'."\n"
+ ."\n"
+ .'* **Mode**: the cache mode. This field is required and must be of the STRING type. Valid values:'."\n"
+ ."\n"
+ .' * **standard**: uses the standard mode.'."\n"
+ .' * **aggressive**: uses the enhanced mode.'."\n"
+ .' * **bypass**: No data is cached.'."\n"
+ ."\n"
+ .'* **CacheTtl**: the expiration time of the page cache. This field is required and must be of the INTEGER type. Unit: seconds.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]', 'title' => ''],
],
],
'responses' => [
@@ -21515,87 +18986,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The number of port forwarding rules returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
- 'NetworkRules' => [
- 'description' => 'An array that consists of port forwarding rules.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '55',
- ],
- 'IsAutoCreate' => [
- 'description' => 'Indicates whether the port forwarding rule is automatically created by the instance. Valid values:'."\n"
- ."\n"
- .'* **true**: yes'."\n"
- .'* **false**: no'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance to which the port forwarding rule is applied.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-7e225i41****',
- ],
- 'FrontendProtocol' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **tcp**'."\n"
- .'* **udp**'."\n",
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'BackendPort' => [
- 'description' => 'The port of the origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '55',
- ],
- 'RealServers' => [
- 'description' => 'An array that consists of IP addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '1.XX.XX.1',
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 55,\\n \\"IsAutoCreate\\": false,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\",\\n \\"FrontendProtocol\\": \\"tcp\\",\\n \\"BackendPort\\": 55,\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribePort',
- 'summary' => 'Queries the port forwarding rules that are created for an Anti-DDoS Pro or Anti-DDoS Premium instance.',
- 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n",
- ],
- 'CreateDomainResource' => [
- 'summary' => 'Creates a forwarding rule for a website.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebCacheCustomRuleResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebCacheCustomRuleResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebCacheCustomRule',
+ 'summary' => 'Modifies the custom rule of the Static Page Caching policy for a website.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheCustomRule'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheCustomRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyWebCacheMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21604,183 +19033,164 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '106066',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106265',
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website that you want to add to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'RsType',
+ 'name' => 'Mode',
'in' => 'query',
+ 'schema' => ['description' => 'The cache mode of the Static Page Caching policy. Valid values:'."\n"
+ ."\n"
+ .'* **standard**: uses the standard cache mode.'."\n"
+ .'* **aggressive**: uses the enhanced cache mode.'."\n"
+ .'* **bypass**: caches no data.'."\n", 'type' => 'string', 'required' => true, 'example' => 'standard', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The address type of the origin server. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address.'."\n"
- ."\n"
- .'* **1**: domain name.'."\n"
- ."\n"
- .' This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- 'enum' => [
- '0',
- '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebCacheModeResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebCacheModeResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebCacheMode',
+ 'summary' => 'Changes the cache mode of the Static Page Caching policy for a website.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheMode'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'HttpsExt',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n"
- ."\n"
- .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n"
- ."\n"
- .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
- ."\n"
- .' After you turn on the switch, HTTP/2 is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyWebCacheSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'InstanceIds',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106266',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n"
+ ."\n"
+ .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
],
[
- 'name' => 'RealServers',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The address of the origin server.'."\n"
- ."\n"
- .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.XX.XX.1',
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n"
+ ."\n"
+ .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''],
],
[
- 'name' => 'ProxyTypes',
+ 'name' => 'Enable',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'The details about the protocol type and port number.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProxyPorts' => [
- 'description' => 'The port numbers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The port number.'."\n"
- ."\n"
- .'> You must specify a port within the port range supported by the Anti-DDoS Proxy instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- 'required' => true,
- 'maxItems' => 10,
- ],
- 'ProxyType' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **http**'."\n"
- .'* **https**'."\n"
- .'* **websocket**'."\n"
- .'* **websockets**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http',
- 'enum' => [
- 'http',
- 'https',
- 'websocket',
- 'websockets',
- ],
- ],
- ],
- 'required' => false,
- 'description' => '',
- ],
- 'required' => true,
- ],
+ 'schema' => ['description' => 'Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:'."\n"
+ ."\n"
+ .'* **1**: enables the policy.'."\n"
+ .'* **0**: disables the policy.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The data body that is returned for the request.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
- 'title' => 'CreateDomainResource',
- ],
- 'DeleteDomainResource' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebCacheSwitchResponse>\\n <RequestId>6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1</RequestId>\\n</ModifyWebCacheSwitchResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebCacheSwitch',
+ 'summary' => 'Enables or disables the Static Page Caching policy for a website.',
+ 'description' => 'You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
+ 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ ."\n"
+ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheSwitch'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyWebIpSetSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21789,22 +19199,32 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '106081',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106268',
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
+ ],
+ [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name for which the forwarding rule is configured.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The details of the Blacklist/Whitelist (Domain Names) feature. This parameter is a JSON string. The value consists of the following fields:'."\n"
+ ."\n"
+ .'**bwlist_enable**: the status of the Blacklist/Whitelist (Domain Names) feature. This field is required and must be of the integer type. Valid values:'."\n"
+ ."\n"
+ .'* 0: turned off'."\n"
+ .'* 1: turned on'."\n", 'type' => 'string', 'required' => true, 'example' => '{"bwlist_enable":1}', 'title' => ''],
],
],
'responses' => [
@@ -21812,111 +19232,230 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
- 'summary' => 'Deletes a specified forwarding rule of a website.',
- ],
- 'DescribeDomainResource' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebIpSetSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebIpSetSwitchResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebIpSetSwitch',
+ 'summary' => 'Enables or disables the Black Lists and White Lists (Domain Names) policy for a domain name.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebIpSetSwitch'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebIpSetSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyWebPreciseAccessRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '106130',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
- 'autoTest' => true,
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106269',
+ 'abilityTreeNodes' => ['FEATUREddosCRC1QI'],
],
'parameters' => [
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
+ ],
+ [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name of the website that you want to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'The domain of the website.'."\n"
+ ."\n"
+ .'> You must configure a forwarding rule for the domain. You can call the [DescribeDomains](~~91724~~) operation to query all domains.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''],
],
[
- 'name' => 'QueryDomainPattern',
+ 'name' => 'Rules',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The configuration of the precise access control rule, specified as a JSON-formatted string. The string has the following structure:'."\n"
+ ."\n"
+ .'- **action**: String. Required. The action to perform on matching requests. Valid values:'."\n"
+ ."\n"
+ .' - **accept**: Allows the request.'."\n"
+ ."\n"
+ .' - **block**: Blocks the request.'."\n"
+ ."\n"
+ .' - **challenge**: Initiates a challenge to verify the request.'."\n"
+ ."\n"
+ .' - **watch**: Monitors the request.'."\n"
+ ."\n"
+ .'- **name**: String. Required. The name of the rule.'."\n"
+ ."\n"
+ .'- **condition**: Map. Required. The match conditions. The structure is as follows:'."\n"
+ ."\n"
+ .' > If you specify multiple match conditions, they are evaluated with a logical AND.'."\n"
+ ."\n"
+ .' - **field**: String. Required. The match field.'."\n"
+ ."\n"
+ .' - **match\\_method**: String. Required. The match method.'."\n"
+ ."\n"
+ .' > For information about the valid values for **field** and **match\\_method**, see the "Additional information about request parameters" section.'."\n"
+ ."\n"
+ .' - **content**: String. The value to match. You can specify either this parameter or `content_list`.'."\n"
+ ."\n"
+ .' - **content\\_list**: String. A list of values to match. You can specify either this parameter or `content`.'."\n"
+ ."\n"
+ .' > For information about the valid values for **match\\_method** and **content/content\\_list**, see the "Additional information about request parameters" section.'."\n"
+ ."\n"
+ .'- **header\\_name**: String. Optional. The name of the request header. This parameter applies only when **field** is set to **header**.'."\n"
+ ."\n"
+ .'- **case\\_insensitive**: Boolean. Optional. The default value is false. Valid values:'."\n"
+ ."\n"
+ .' - **false**: case-sensitive'."\n"
+ ."\n"
+ .' - **true**: case-insensitive', 'type' => 'string', 'required' => true, 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]', 'title' => ''],
+ ],
+ [
+ 'name' => 'Expires',
'in' => 'query',
+ 'schema' => ['description' => 'The validity period of the rule, in seconds. This parameter applies only when **action** is set to **block**. Requests that match the rule are blocked for the specified duration. If you do not specify this parameter, the rule is permanently effective.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The match mode. Valid values:'."\n"
- ."\n"
- .'* **fuzzy**: fuzzy match. This is the default value.'."\n"
- .'* **exact**: exact match.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fuzzy',
- 'enum' => [
- 'fuzzy',
- 'exact',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The unique ID of the request. You can use this ID to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', 'title' => ''],
],
+ 'description' => 'The response object.',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyWebPreciseAccessRule',
+ 'summary' => 'Creates or edits a precise access control rule for a website.',
+ 'requestParamsDescription' => '**Field and match method**'."\n"
+ ."\n"
+ .'| Match field | Description | Match method |'."\n"
+ .'| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |'."\n"
+ .'| **ip** | The source IP address of the request. | **belong**: Belongs to<br>**nbelong**: Does not belong to<br>**ipinlist**: In list<br>**ipninlist**: Not in list |'."\n"
+ .'| **uri** | The URI of the request. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**prefix**: Matches prefix<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **referer** | The referer of the request. This indicates the webpage from which the request is initiated. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**nexist**: Does not exist<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **user-agent** | The user agent of the client that initiated the request. This includes information such as the browser identity, rendering engine, and version. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **params** | The parameters in the request URL, which typically refer to the part after the question mark (?). For example, in `demo.aliyundoc.com/index.html?action=login`, `action=login` is the parameter part. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **cookie** | The cookie information in the request. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**nexist**: Does not exist<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **content-type** | The HTTP content type (MIME type) specified in the request. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **x-forwarded-for** | The original IP address of the client. X-Forwarded-For (XFF) is an HTTP request header used to identify the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. This field is included only in requests forwarded by an HTTP proxy or a load balancer. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**nexist**: Does not exist<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **content-length** | The size of the request body in bytes. | **vless**: Value is less than<br>**vequal**: Value equals<br>**vgreat**: Value is greater than |'."\n"
+ .'| **post-body** | The request body. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **http-method** | The HTTP method, such as GET or POST. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **header** | The request header. This is used for custom HTTP header fields. | **contain**: Contains<br>**ncontain**: Does not contain<br>**equal**: Equals<br>**nequal**: Does not equal<br>**lless**: Length is less than<br>**lequal**: Length equals<br>**lgreat**: Length is greater than<br>**nexist**: Does not exist<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **ja3-fingerprint** | The JA3 fingerprint. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **ja4-fingerprint** | The JA4 fingerprint. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **tls-fingerprint** | The client TLS fingerprint. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **http2-fingerprint** | The HTTP/2.0 fingerprint. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ .'| **scheme** | The HTTP or HTTPS scheme. | **equal**: Equals<br>**nequal**: Does not equal |'."\n"
+ .'| **protocol** | The HTTP version. | **equal**: Equals<br>**nequal**: Does not equal<br>**inlist**: Equals one of multiple values<br>**ninlist**: Does not equal any of multiple values |'."\n"
+ ."\n"
+ .'**Match method and content**'."\n"
+ ."\n"
+ .'| Match method | Description | Match content |'."\n"
+ .'| ------------ | -------------------------------------- | ------------------------------------------- |'."\n"
+ .'| **inlist** | Equals one of multiple values. | **content_list**: A list of values to match |'."\n"
+ .'| **ninlist** | Does not equal any of multiple values. | **content_list**: A list of values to match |'."\n"
+ .'| **equal** | Equals. | **content**: The value to match |'."\n"
+ .'| **nequal** | Does not equal. | **content**: The value to match |'."\n"
+ .'| **contain** | Contains. | **content**: The value to match |'."\n"
+ .'| **ncontain** | Does not contain. | **content**: The value to match |'."\n"
+ .'| **lless** | Length is less than. | **content**: The value to match |'."\n"
+ .'| **lequal** | Length equals. | **content**: The value to match |'."\n"
+ .'| **lgreat** | Length is greater than. | **content**: The value to match |',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessRule'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The page number. Default value: **1**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyWebPreciseAccessSwitch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '106270',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Domain',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'An array that consists of the IDs of instances to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to query.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
+ 'schema' => ['description' => 'The domain name of the website.'."\n"
+ ."\n"
+ .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The configuration of the Accurate Access Control policy. This parameter is a JSON string. The string contains the following fields:'."\n"
+ ."\n"
+ .'* **PreciseRuleEnable**: the status of the Accurate Access Control policy. This field is required and must be of the INTEGER type. Valid values:'."\n"
+ ."\n"
+ .' * **0**: disables the policy.'."\n"
+ .' * **1**: enables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"PreciseRuleEnable":0}', 'title' => ''],
],
],
'responses' => [
@@ -21924,288 +19463,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The total number of forwarding rules.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
- 'WebRules' => [
- 'description' => 'The configurations of the forwarding rule.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Domain' => [
- 'description' => 'The domain name of the website.'."\n",
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'Http2HttpsEnable' => [
- 'description' => 'Indicates whether Enable HTTPS Redirection is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SslProtocols' => [
- 'description' => 'The version of the TLS protocol. Valid values:'."\n"
- ."\n"
- .'* **tls1.0**: TLS 1.0 or later'."\n"
- .'* **tls1.1**: TLS 1.1 or later'."\n"
- .'* **tls1.2**: TLS 1.2 or later'."\n",
- 'type' => 'string',
- 'example' => 'tls1.0',
- ],
- 'PunishReason' => [
- 'description' => 'The reason why the domain name is invalid. Valid values:'."\n"
- ."\n"
- .'* **1**: No Content Provider (ICP) filing is completed for the domain name.'."\n"
- .'* **2**: The business for which you registered the domain name does not meet regulatory requirements.'."\n"
- ."\n"
- .'If the two reasons are both involved, the value **2** is returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CcTemplate' => [
- 'description' => 'The mode of Frequency Control. Valid values:'."\n"
- ."\n"
- .'* **default**: the Normal mode'."\n"
- .'* **gf_under_attack**: the Emergency mode'."\n"
- .'* **gf_sos_verify**: the Strict mode'."\n"
- .'* **gf_sos_verify**: the Super Strict mode'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'HttpsExt' => [
- 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **Http2https**: indicates whether Enable HTTPS Redirection is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTPS Redirection is turned on. The value 1 indicates that Enable HTTPS Redirection is turned off.'."\n"
- .'* **Https2http**: indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that the feature is turned on. The value 1 indicates that the feature is turned off.'."\n"
- .'* **Http2**: indicates whether Enable HTTP/2 is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on.'."\n",
- 'type' => 'string',
- 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}',
- ],
- 'CcEnabled' => [
- 'description' => 'Indicates whether Frequency Control is enabled. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SslCiphers' => [
- 'description' => 'The type of the cipher suite. Valid values:'."\n"
- ."\n"
- .'* **default**: custom cipher suite'."\n"
- .'* **all**: all cipher suites'."\n"
- .'* **strong**: strong cipher suites'."\n",
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'CcRuleEnabled' => [
- 'description' => 'Indicates whether the Custom Rules switch of Frequency Control is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Ssl13Enabled' => [
- 'description' => 'Indicates whether TLS 1.3 is supported. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RsType' => [
- 'description' => 'The address type of the origin server. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address'."\n"
- .'* **1**: domain name'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PunishStatus' => [
- 'description' => 'Indicates whether the domain name is invalid. Valid values:'."\n"
- ."\n"
- .'* **true**: The domain name is invalid. You can view the specific reasons from the **PunishReason** parameter.'."\n"
- .'* **false**: The domain name is valid.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ProxyEnabled' => [
- 'description' => 'Indicates whether the instance forwards the traffic that is destined for the website. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CertName' => [
- 'description' => 'The name of the SSL certificate used by the domain name.'."\n",
- 'type' => 'string',
- 'example' => '49944XX.pem',
- ],
- 'PolicyMode' => [
- 'description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n"
- ."\n"
- .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n"
- .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n"
- .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n",
- 'type' => 'string',
- 'example' => 'ip_hash',
- ],
- 'Cname' => [
- 'description' => 'The CNAME provided by the instance to which the domain name is added.'."\n",
- 'type' => 'string',
- 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com',
- ],
- 'OcspEnabled' => [
- 'description' => 'Indicates whether the Online Certificate Status Protocol (OCSP) feature is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Http2Enable' => [
- 'description' => 'Indicates whether Enable HTTP/2 is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Https2HttpEnable' => [
- 'description' => 'Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ProxyTypes' => [
- 'description' => 'The details about the protocol type and port number.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProxyType' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **http**'."\n"
- .'* **https**'."\n"
- .'* **websocket**'."\n"
- .'* **websockets**'."\n",
- 'type' => 'string',
- 'example' => 'http',
- ],
- 'ProxyPorts' => [
- 'description' => 'The port numbers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The port number.'."\n",
- 'type' => 'string',
- 'example' => '80',
- ],
- ],
- ],
- ],
- ],
- 'InstanceIds' => [
- 'description' => 'The IDs of the instances to which the domain name is added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the instance to which the domain name is added.'."\n",
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-st21zbyq****',
- ],
- ],
- 'CustomCiphers' => [
- 'description' => 'The custom cipher suites.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The custom cipher suite.'."\n",
- 'type' => 'string',
- 'example' => 'ECDHE-RSA-AES256-SHA384',
- ],
- ],
- 'WhiteList' => [
- 'description' => 'The IP addresses that are included in the whitelist of the domain name.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address that is included in the whitelist of the domain name.'."\n"
- ."\n"
- .'> This parameter is returned only when the IP address whitelist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n",
- 'type' => 'string',
- 'example' => '3.XX.XX.3',
- ],
- ],
- 'BlackList' => [
- 'description' => 'The IP addresses that are included in the blacklist of the domain name.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address that is included in the blacklist of the domain name.'."\n"
- ."\n"
- .'> This parameter is returned only when the **IP address blacklist is configured for the domain name**. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n",
- 'type' => 'string',
- 'example' => '2.XX.XX.2',
- ],
- ],
- 'RealServers' => [
- 'description' => 'The addresses of origin servers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The address of the origin server.'."\n",
- 'type' => 'string',
- 'example' => '1.XX.XX.1',
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyWebPreciseAccessSwitchResponse>\\r\\n\\t<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyWebPreciseAccessSwitchResponse>","errorExample":""}]',
+ 'title' => 'ModifyWebPreciseAccessSwitch',
+ 'summary' => 'Enables or disables accurate access control for a website.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'],
],
- '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":"<DescribeDomainResourceResponse>\\n <TotalCount>1</TotalCount>\\n <WebRules>\\n <Domain>www.example.com</Domain>\\n <Http2HttpsEnable>false</Http2HttpsEnable>\\n <BlackList>2.XX.XX.2</BlackList>\\n <WhiteList>3.XX.XX.3</WhiteList>\\n <CustomCiphers>ECDHE-RSA-AES256-SHA384</CustomCiphers>\\n <RealServers>1.XX.XX.1</RealServers>\\n <ProxyTypes>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyType>http</ProxyType>\\n </ProxyTypes>\\n <SslProtocols>tls1.0</SslProtocols>\\n <PunishReason>1</PunishReason>\\n <CcTemplate>default</CcTemplate>\\n <CcEnabled>true</CcEnabled>\\n <SslCiphers>default</SslCiphers>\\n <Ssl13Enabled>false</Ssl13Enabled>\\n <CcRuleEnabled>true</CcRuleEnabled>\\n <PunishStatus>false</PunishStatus>\\n <RsType>0</RsType>\\n <ProxyEnabled>true</ProxyEnabled>\\n <CertName>49944XX.pem</CertName>\\n <PolicyMode>ip_hash</PolicyMode>\\n <Cname>0ekb69x3j9wvXXXX.aliyunddosXXXX.com</Cname>\\n <Http2Enable>false</Http2Enable>\\n <Https2HttpEnable>false</Https2HttpEnable>\\n <InstanceIds>ddoscoo-cn-st21zbyq****</InstanceIds>\\n <HttpsExt>{\\"Https2http\\":0,\\"Http2\\":0,\\"Http2https\\":0}</HttpsExt>\\n </WebRules>\\n <RequestId>39499F01-19D9-4EA4-A0E9-C6014BA5CDBE</RequestId>\\n</DescribeDomainResourceResponse>","errorExample":""}]',
- 'title' => 'DescribeDomainResource',
- 'summary' => 'Queries the configurations of a forwarding rule.',
- 'description' => 'You can call the DescribeDomainResource operation to query the configurations of the forwarding rules that you create for a website by page. The configurations include the domain name-related configurations, protocol-related configurations, HTTPS-related configurations, and configurations that are used to mitigate HTTP flood attacks.'."\n"
- ."\n"
- .'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n"
- ."\n"
- .'### Limits'."\n"
- ."\n"
- .'You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- ],
- 'ModifyDomainResource' => [
- 'summary' => 'Modifies the forwarding rule of a website.',
- 'methods' => [
- 'post',
- 'get',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyWebRule' => [
+ 'summary' => 'Modifies an existing website forwarding rule.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22217,130 +19514,71 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '106238',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeCode' => '106271',
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. Default value: empty, which indicates that the instance belongs to the default resource group.'."\n"
+ ."\n"
+ .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''],
+ ],
+ [
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => 'The domain name that is added to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'The domain name of the website business to operate.'."\n"
+ ."\n"
+ .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names that have website forwarding rules configured.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''],
],
[
- 'name' => 'RsType',
+ 'name' => 'ProxyTypes',
'in' => 'query',
- 'schema' => [
- 'description' => 'The address type of the origin server. Valid values:'."\n"
- ."\n"
- .'* **0**: IP address'."\n"
- ."\n"
- .'* **1**: domain name'."\n"
- ."\n"
- .' If you deploy proxies, such as a Web Application Firewall (WAF) instance, between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance, set the value to 1. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- 'enum' => [
- '0',
- '1',
- ],
- ],
+ 'schema' => ['description' => 'The protocol information of the website forwarding rule. This parameter is a string converted from a JSON array. Each element in the JSON array is a JSON struct that contains the following fields:'."\n"
+ ."\n"
+ .'- **ProxyType**: String type | Required | The website protocol type. Valid values: **http** | **https** | **websocket** | **websockets**.'."\n"
+ ."\n"
+ .'- **ProxyPorts**: array type | Required | The port numbers corresponding to the protocol.', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]', 'title' => ''],
],
[
- 'name' => 'HttpsExt',
+ 'name' => 'RsType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n"
- ."\n"
- .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n"
- ."\n"
- .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n"
- ."\n"
- .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n"
- ."\n"
- .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n"
- ."\n"
- .' After you turn on the switch, HTTP/2 is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}',
- ],
+ 'schema' => ['description' => 'The address type of the origin server. Valid values:'."\n"
+ ."\n"
+ .'- **0**: indicates the IP address of the origin server.'."\n"
+ ."\n"
+ .'- **1**: indicates the domain name of the origin server. This is typically applicable to scenarios where other proxy services (such as WAF) are deployed between the origin server and Anti-DDoS Proxy, specifically referring to the redirect address of the proxy service (such as the WAF CNAME address).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''],
],
[
- 'name' => 'ProxyTypes',
+ 'name' => 'HttpsExt',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'The details about the protocol type and port number.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ProxyPorts' => [
- 'description' => 'The port numbers.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The port number.'."\n"
- ."\n"
- .'> You must specify a port within the port range supported by the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '443',
- ],
- 'required' => true,
- 'maxItems' => 10,
- ],
- 'ProxyType' => [
- 'description' => 'The type of the protocol. Valid values:'."\n"
- ."\n"
- .'* **http**'."\n"
- .'* **https**'."\n"
- .'* **websocket**'."\n"
- .'* **websockets**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https',
- 'enum' => [
- 'http',
- 'https',
- 'websocket',
- 'websockets',
- ],
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- ],
+ 'schema' => ['description' => 'The HTTPS advanced settings, which take effect only when the website protocol type supports HTTPS (**ProxyType** includes **https**). This parameter is a string converted from a JSON struct that contains the following fields:'."\n"
+ ."\n"
+ .'- **Http2https**: Integer type | Optional | Specifies whether to enable the HTTPS force redirect feature. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n"
+ ."\n"
+ .' This is applicable when your website supports both HTTP and HTTPS protocols. After this setting is enabled, all HTTP requests will be forcibly converted to HTTPS requests and redirected to port 443 by default.'."\n"
+ ."\n"
+ .'- **Https2http**: Integer type | Optional | Specifies whether to enable the HTTP back-to-origin feature. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n"
+ ."\n"
+ .' This is applicable when your website does not support HTTPS back-to-origin. After this setting is enabled, all HTTPS protocol requests will be forwarded to the origin through HTTP (Websockets protocol requests will be forwarded through Websocket), and the default back-to-origin port is 80.'."\n"
+ ."\n"
+ .'- **Http2**: Integer type | Optional | Specifies whether to enable the HTTP2.0 protocol type. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n"
+ ."\n"
+ .' After this setting is enabled, the protocol version is HTTP2.0.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''],
],
[
'name' => 'RealServers',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array that consists of the addresses of origin servers.'."\n",
+ 'description' => 'The list of origin server addresses.',
'type' => 'array',
- 'items' => [
- 'description' => 'The address of the origin server.'."\n"
- ."\n"
- .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.XX.XX.1',
- ],
+ 'items' => ['description' => 'The origin server address.', 'type' => 'string', 'required' => false, 'example' => '192.XX.XX.2', 'title' => ''],
'required' => true,
+ 'example' => '1.xxx.xxx.1',
'maxItems' => 20,
+ 'title' => '',
],
],
[
@@ -22348,18 +19586,15 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n",
+ 'description' => 'The list of Anti-DDoS Proxy instance IDs to associate. You can associate up to 100 instances.',
'type' => 'array',
- 'items' => [
- 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n"
- ."\n"
- .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-mp91j1ao****',
- ],
- 'required' => true,
+ 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to associate.'."\n"
+ ."\n"
+ .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****', 'title' => ''],
+ 'required' => false,
+ 'example' => 'ddoscoo-cn-mp91j1ao****',
'maxItems' => 20,
+ 'title' => '',
],
],
],
@@ -22368,62 +19603,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE',
- ],
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]',
- 'title' => 'ModifyDomainResource',
- ],
- 'ConfigLayer4Remark' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'UpStreamConfigConflict', 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'description' => 'HTTP upstream and HTTP2.0 upstream conflict.'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'ModifyWebRule',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyWebRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]',
+ ],
+ 'ReleaseInstance' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '106053',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeCode' => '106274',
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
- 'name' => 'Listeners',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The port forwarding rule that you want to manage.'."\n"
- ."\n"
- .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
- ."\n"
- .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
- ."\n"
- .'Each port forwarding rule contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
- .'* **Remark**: the remarks of the port forwarding rule. This field is required and must be of the STRING type. The value can contain letters, digits, and some special characters, such as `, . + - * / _`. The value can be up to 200 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]',
- ],
+ 'schema' => ['description' => 'The ID of the instance to be released.'."\n"
+ ."\n"
+ .'> Only expired instances can be released. You can call [DescribeInstances](~~91478~~) to query the IDs and expiration status of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'],
],
],
'responses' => [
@@ -22431,80 +19669,106 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73',
- ],
+ 'RequestId' => ['description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use it to troubleshoot and locate issues.', 'type' => 'string', 'title' => '', 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigLayer4RemarkResponse>\\r\\n\\t<RequestId>6E46CC51-36BE-1100-B14C-DAF8381B8F73</RequestId>\\r\\n</ConfigLayer4RemarkResponse>","errorExample":""}]',
- 'title' => 'ConfigLayer4Remark',
- 'summary' => 'Adds a description to a port forwarding rule.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]',
+ 'title' => 'ReleaseInstance',
+ 'summary' => 'Release an expired Anti-DDoS Proxy instance.',
+ 'description' => 'After an Anti-DDoS instance expires, it stops providing DDoS attack protection services. Seven days after expiration, it stops forwarding service traffic.'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
+ .'- We recommend that you renew your instance before it expires to avoid impacts on service protection and forwarding. You can call [DescribeInstances](~~91478~~) to query the expiration time of an instance. To renew the instance, go to the [Anti-DDoS console](https://yundun.console.aliyun.com/?p=ddoscoo) to perform the operation.'."\n"
+ ."\n"
+ .'- If you do not plan to renew the instance, we recommend that you restore the protected service IP (no longer use the Anti-DDoS IP as the service IP) or service DNS parsing (no longer parse service traffic to the CNAME address of Anti-DDoS) before the Anti-DDoS instance expires. This prevents service traffic from being forwarded to the Anti-DDoS instance and avoids disruption to normal service forwarding when the instance expires.'."\n"
+ ."\n"
+ .'After the instance expires, you can call this operation to release the specified Anti-DDoS instance.'."\n"
+ ."\n"
+ .'> Before releasing the specified instance, ensure that you have restored the protected service IP or service DNS parsing.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ConfigLayer4RuleBakMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ReleaseInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SwitchSchedulerRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '106054',
- 'abilityTreeNodes' => [
- 'FEATUREddosCRC1QI',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '106277',
+ 'abilityTreeNodes' => ['FEATUREddosZIK01A'],
],
'parameters' => [
[
- 'name' => 'BakMode',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The mode that you want to use to forward service traffic. Valid values:'."\n"
- ."\n"
- .'* **0**: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n"
- .'* **1**: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The name of the scheduling rule to manage.'."\n"
+ ."\n"
+ .'> You can call the [DescribeSchedulerRules](~~157481~~) operation to query the names of all scheduling rules.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''],
],
[
- 'name' => 'Listeners',
+ 'name' => 'RuleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The port forwarding rule that you want to manage.'."\n"
- ."\n"
- .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
- ."\n"
- .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
- ."\n"
- .'Each port forwarding rule contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]',
- ],
+ 'schema' => ['description' => 'The type of the scheduling rule. Valid values:'."\n"
+ ."\n"
+ .'- **2**: tiered protection rule'."\n"
+ ."\n"
+ .'- **3**: network acceleration rule'."\n"
+ ."\n"
+ .'- **5**: Alibaba Cloud CDN (CDN) interaction rule'."\n"
+ ."\n"
+ .'- **6**: cloud service interaction rule', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6', 'title' => ''],
+ ],
+ [
+ 'name' => 'SwitchData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The configuration that is used to switch service traffic. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following parameters:'."\n"
+ ."\n"
+ .'- **Value**: required. The IP address of the associated resource. Data type: string.'."\n"
+ ."\n"
+ .'- **State**: required. The operation type. Data type: integer. Valid values:'."\n"
+ ."\n"
+ .' - **0**: switches service traffic from the associated resource to your Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing.'."\n"
+ ."\n"
+ .' - **1**: switches service traffic back to the associated cloud resource.'."\n"
+ ."\n"
+ .'- **Interval**: optional. The waiting time that is required before the service traffic is switched back. Unit: minutes. Data type: integer. Usage notes:'."\n"
+ ."\n"
+ .' - If the **State** parameter is set to **0**, you must set this parameter to \\*\\*-1\\*\\*. Otherwise, the call fails.'."\n"
+ ."\n"
+ .' - If the **State** parameter is set to **1**, you do not need to set this parameter.', 'type' => 'string', 'required' => true, 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]', 'title' => ''],
],
],
'responses' => [
@@ -22512,548 +19776,3159 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigLayer4RuleBakModeResponse>\\r\\n\\t<RequestId>CC042262-15A3-4A49-ADF0-130968EA47BC</RequestId>\\r\\n</ConfigLayer4RuleBakModeResponse>","errorExample":""}]',
- 'title' => 'ConfigLayer4RuleBakMode',
- 'summary' => 'Enables or disables the origin redundancy mode for a port forwarding rule.',
+ 'title' => 'SwitchSchedulerRule',
+ 'summary' => 'Switches service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switches service traffic back to the associated cloud resources.',
+ 'description' => 'You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.'."\n"
+ ."\n"
+ .'Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.',
'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ConfigLayer4RulePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ .'For more information about sample requests, see the **"Examples"** section of this topic.',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSchedulerRule'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:SwitchSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ddoscoo.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com', 'vpc' => 'ddoscoo-intl.vpc-proxy.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ddoscoo.cn-hangzhou.aliyuncs.com', 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com', 'vpc' => 'ddoscoo.vpc-proxy.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'CAS.NameRepeat', 'message' => 'Cert Name Repeat.', 'http_code' => 400, 'description' => 'Duplicate certificate name.'],
+ ['code' => 'CcRuleExist', 'message' => 'The rule already exists.', 'http_code' => 400, 'description' => 'The cc rule already exists.'],
+ ['code' => 'CDNDomainExist', 'message' => 'cdn domain is exist.', 'http_code' => 400, 'description' => 'The cdn domain name already exists.'],
+ ['code' => 'CheckGmSwitch', 'message' => 'Before enabling only, you need to enable the national secret certificate', 'http_code' => 400, 'description' => 'You must turn on the switch that enables SM certificate-based verification before you can turn on the switch that allows access only from SM certificate-based clients.'],
+ ['code' => 'CheckOnlySwitch', 'message' => 'Before disabling the certificate switch, you need to disable only', 'http_code' => 400, 'description' => 'You must turn off the switch that allows access only from SM certificate-based clients before you can turn off the switch that enables SM certificate-based verification.'],
+ ['code' => 'DomainDoesNotMatchCert', 'message' => 'Domain Does Not Match Cert.', 'http_code' => 400, 'description' => 'The certificate uploaded by the domain name does not match the certificate in the certificate center.'],
+ ['code' => 'DomainExist', 'message' => 'domain is already exist.', 'http_code' => 400, 'description' => 'Domain name already exists.'],
+ ['code' => 'DomainLimitExceeded', 'message' => 'reach domain limit in spec.', 'http_code' => 400, 'description' => 'Number of domain names exceeds limit'],
+ ['code' => 'DomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'],
+ ['code' => 'DomainNotExist', 'message' => 'Domain does not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'],
+ ['code' => 'DomainOwnerError', 'message' => 'domain belong to other user.', 'http_code' => 400, 'description' => 'Domain name belongs to another user'],
+ ['code' => 'DomainUnregister', 'message' => 'Domain Unregister. you must put on record for you domain.', 'http_code' => 400, 'description' => 'The domain name is not filed.'],
+ ['code' => 'ElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => 'Invalid Elastic Clean Bandwidth'],
+ ['code' => 'EngineParamError', 'message' => 'The same CC rules exist.', 'http_code' => 400, 'description' => 'The same CC rules exist.'],
+ ['code' => 'ErrDdosOverseasSpecLimit', 'message' => 'Error DDoS spec limit.', 'http_code' => 400, 'description' => 'Specifications exceeded'."\n"],
+ ['code' => 'ErrDdosSpecLimit', 'message' => 'Error ddos spec limit.', 'http_code' => 400, 'description' => 'Specifications exceeded'],
+ ['code' => 'ErrNoProcessAuthority', 'message' => 'Err No Process Authority.', 'http_code' => 400, 'description' => 'No operation permission.'],
+ ['code' => 'ErrorNoProcessAuthority', 'message' => 'Error No Process Authority.', 'http_code' => 400, 'description' => 'No resource operation permission.'],
+ ['code' => 'ErrorUnknown', 'message' => 'ERR UNKNOWN.', 'http_code' => 400, 'description' => 'Unknown error.'],
+ ['code' => 'ExceedElasticSpec', 'message' => 'reach elastic limit in spec', 'http_code' => 400, 'description' => ''],
+ ['code' => 'ExceedWebRuleLimit', 'message' => 'reach site limit in spec.', 'http_code' => 400, 'description' => 'The number of protected domain names exceeds the specification.'."\n"],
+ ['code' => 'FuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'The Anti-DDoS Proxy instance is not the enhanced version.'],
+ ['code' => 'GaElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => 'Invalid Elastic Clean Bandwidth for MCA 2.0'],
+ ['code' => 'GlobalDomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => 'The domain name does not exist.'],
+ ['code' => 'HTTP/2ListenerNotEnabled', 'message' => 'HTTP/2 listener is not enabled when HTTP/2.0 back-to-origin is enabled.', 'http_code' => 400, 'description' => 'HTTP/2.0 listener is not enabled when HTTP/2 back-to-origin is enabled.'],
+ ['code' => 'HTTP2ListenerNotEnabled', 'message' => 'HTTP2 listener is not enabled when HTTP2.0 back-to-origin is enabled.', 'http_code' => 400, 'description' => 'HTTP2 listener is not enabled when HTTP2.0 back-to-origin is enabled.'],
+ ['code' => 'InputParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => 'Incorrect input parameter'],
+ ['code' => 'InstanceNotExist', 'message' => 'Instance not exist.', 'http_code' => 400, 'description' => 'Instance does not exist'],
+ ['code' => 'InstanceNotExist', 'message' => 'no instance for process in db.', 'http_code' => 400, 'description' => 'Instance does not exist.'],
+ ['code' => 'InstanceNotExpire', 'message' => 'Intance not expire.', 'http_code' => 400, 'description' => 'The instance does not expire and cannot be released.'],
+ ['code' => 'IntegratedDomainNotExist', 'message' => 'integrated domain not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'],
+ ['code' => 'InternalError', 'message' => 'An error occurred.', 'http_code' => 400, 'description' => 'Internal Error'],
+ ['code' => 'InternalParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => 'Illegal parameter'],
+ ['code' => 'InvalidDomain', 'message' => 'invalid domain.', 'http_code' => 400, 'description' => 'Invalid Domain Name'],
+ ['code' => 'InvalidEmbeddedHeaders', 'message' => 'EmbeddedHeaders parameter is invalid.', 'http_code' => 400, 'description' => 'The EmbeddedHeaders parameter passed in is invalid.'],
+ ['code' => 'InvalidInstanceId', 'message' => 'Invalid Instance Id. instanceId does not exist.', 'http_code' => 400, 'description' => 'Invalid instance ID'],
+ ['code' => 'InvalidInternalElasticBandwidth', 'message' => 'params out of range.', 'http_code' => 400, 'description' => 'The international high-security on/off elastic business parameters are incorrect.'],
+ ['code' => 'InvalidIpAddress', 'message' => 'Failed to find the anti-DDoS IP address or origin IP address.', 'http_code' => 400, 'description' => 'Failed to find Anti-DDoS Pro IP address or origin IP address'."\n"],
+ ['code' => 'InvalidIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => 'illegal ipv4 network segment'],
+ ['code' => 'InvalidIpv4Param', 'message' => 'invalid ipv4 param.', 'http_code' => 400, 'description' => 'Invalid ipv4 parameter'],
+ ['code' => 'InvalidIPV6Network', 'message' => 'Invalid Ipv6 IP or Network.', 'http_code' => 400, 'description' => 'Illegal IPV6 CIDR block'],
+ ['code' => 'InvalidJsonParam', 'message' => 'decoding json failed.', 'http_code' => 400, 'description' => 'Invalid JSON parameter'],
+ ['code' => 'InvalidL4RuleFrontPort', 'message' => 'Invalid l4rule front port.', 'http_code' => 400, 'description' => 'Invalid Layer 4 forwarding port.'],
+ ['code' => 'InvalidLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'The network segment format of the 4-layer black and white list is incorrect.'],
+ ['code' => 'InvalidMaxConcurrentStreams', 'message' => 'Invalid MaxConcurrentStreams value.', 'http_code' => 400, 'description' => 'The MaxConcurrentStreams parameter passed in is invalid.'],
+ ['code' => 'InvalidOverseasIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => 'illegal ipv4 network segment.'."\n"],
+ ['code' => 'InvalidOverseasIPV6Network', 'message' => 'Invalid IPV6 IP or Network.', 'http_code' => 400, 'description' => 'Illegal IPV6 CIDR block'."\n"],
+ ['code' => 'InvalidOverseasLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'The network segment format of the 4-layer black and white list is incorrect.'."\n"],
+ ['code' => 'InvalidPageSize', 'message' => 'Invalid Page Size.', 'http_code' => 400, 'description' => 'Paging parameter exceeds limit.'],
+ ['code' => 'InvalidParameter.TagValue', 'message' => 'Invalid Parameter TagValue.', 'http_code' => 400, 'description' => 'Invalid tag value'],
+ ['code' => 'InvalidParams', 'message' => 'invalid params.', 'http_code' => 400, 'description' => 'Invalid parameter'],
+ ['code' => 'InvalidRealServer', 'message' => 'Invalid Real Server. invalid format. sourceIps can not be empty.', 'http_code' => 400, 'description' => 'invalid origin ip address'],
+ ['code' => 'InvalidSchedulerRule', 'message' => 'Invalid Scheduler Rule. Mainland China Acceleration rule does not exist.', 'http_code' => 400, 'description' => 'Failed to create traffic scheduler scheduling rule'],
+ ['code' => 'InvalidSchedulerRuleValueType', 'message' => 'Invalid Scheduler Rule Value Types.', 'http_code' => 400, 'description' => 'Invalid scheduler rule.'],
+ ['code' => 'InvalidSourceIp', 'message' => 'Invalid Source Ip.', 'http_code' => 400, 'description' => 'Invalid origin IP address.'],
+ ['code' => 'InvalidSwitch', 'message' => 'record is the last in default line, invalid to switch to inactive.', 'http_code' => 400, 'description' => 'Failed to switch scheduling rules.'],
+ ['code' => 'InvalidWebRule', 'message' => 'invalid Web rule.', 'http_code' => 400, 'description' => 'Invalid forwarding rule.'],
+ ['code' => 'Layer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => 'Network segment conflict'],
+ ['code' => 'Layer4NetworkError', 'message' => 'Layer4 IP ACL mask set faile.', 'http_code' => 400, 'description' => 'Failed to set the black and white list of layer 4 network segments.'],
+ ['code' => 'Layer4PortRuleExist', 'message' => 'l4 rule port is exist.', 'http_code' => 400, 'description' => 'Create port rule already exists'],
+ ['code' => 'Layer4ProxyNotEnabled', 'message' => 'l4 proxy not enabled', 'http_code' => 400, 'description' => 'Application layer protection is not enabled'],
+ ['code' => 'Layer4ProxyPayloadRuleConflict', 'message' => 'l4 proxy payload rule conflict.', 'http_code' => 400, 'description' => 'Payload policy rule conflict'],
+ ['code' => 'Layer4ProxyPayloadRuleOverLimit', 'message' => 'l4 proxy payload rules reached limit.', 'http_code' => 400, 'description' => 'Payload policy rule overrun'],
+ ['code' => 'ModifyDomainMissParam', 'message' => 'domain http2https config without http proxy.', 'http_code' => 400, 'description' => 'Modify Domain Name Missing http2https Configuration'],
+ ['code' => 'NetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => 'The number of network segments exceeds the specification.'."\n"],
+ ['code' => 'NetworkRuleExist', 'message' => 'network rule port is exist.', 'http_code' => 400, 'description' => 'The rule already exists.'],
+ ['code' => 'NoSupportNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => 'Unsupported network segment'],
+ ['code' => 'NoSupportOverseasNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => 'The current IP address does not support black and white list network segment configuration.'],
+ ['code' => 'NotAllowDelCDNDomain', 'message' => 'domain can\'t delete while cdn/dcdn cname exist.', 'http_code' => 400, 'description' => 'CDN/DCDN linkage configuration exists. Please delete the linkage configuration before deleting the domain name.'],
+ ['code' => 'NotEffectLayer4Proxy', 'message' => 'l4 proxy not effect.', 'http_code' => 400, 'description' => 'Application layer protection does not take effect'],
+ ['code' => 'NotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => 'Black and white list of unsupported 4-layer network segments.'],
+ ['code' => 'NotSupportLayer4Proxy', 'message' => 'eip not support for l4 proxy.', 'http_code' => 400, 'description' => 'Application layer protection is not supported'],
+ ['code' => 'OldRuleDeprecated', 'message' => 'ERR OLD CC RULE DEPRECATED.', 'http_code' => 400, 'description' => 'The old cc rule has been deprecated.'],
+ ['code' => 'OverseasFuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'The Anti-DDoS Proxy instance is not the enhanced version.'],
+ ['code' => 'OverseasLayer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => 'Network segment conflict'],
+ ['code' => 'OverseasLayer4NetworkError', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'Failed to set the black and white list of layer 4 network segments.'."\n"],
+ ['code' => 'OverseasNetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => 'The number of network segments exceeds the specification.'],
+ ['code' => 'OverseasNotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => 'Black and white list of unsupported 4-layer network segments.'."\n"],
+ ['code' => 'ParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => 'Illegal parameter'],
+ ['code' => 'ParamError', 'message' => 'param error.', 'http_code' => 400, 'description' => 'Parameter error'],
+ ['code' => 'ParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => 'Incorrect input parameter'],
+ ['code' => 'QueryDbFailed', 'message' => 'query db failed.', 'http_code' => 400, 'description' => 'Data does not exist.'],
+ ['code' => 'QueryResourceFailed', 'message' => 'failed to query current resource.', 'http_code' => 400, 'description' => 'The corresponding resource could not be found.'],
+ ['code' => 'ResourceNotValid', 'message' => 'resource not valid.', 'http_code' => 400, 'description' => 'Invalid resource'],
+ ['code' => 'ReuseCnameError', 'message' => 'ERR REUSE CNAME NOT BELONGTO TO YOU.', 'http_code' => 400, 'description' => 'Incorrect reuse of cname.'],
+ ['code' => 'SchedulerRuleError', 'message' => 'record priority conflict by different type.', 'http_code' => 400, 'description' => 'Scheduler different types of priority conflict.'],
+ ['code' => 'SchedulerRuleParamError', 'message' => 'Scheduler rule param error.', 'http_code' => 400, 'description' => 'Scheduler parameter error.'],
+ ['code' => 'SelbCallFailed', 'message' => 'selb central remote call failed.', 'http_code' => 400, 'description' => 'Failed to call Selb'],
+ ['code' => 'ServerError', 'message' => 'server error.', 'http_code' => 400, 'description' => 'Server-side exception'],
+ ['code' => 'SourceIpContainsOthersEcs', 'message' => 'Source ip contains others ecs.', 'http_code' => 400, 'description' => 'The origin IP address or domain name does not exist or the verification fails.'],
+ ['code' => 'SubmitCertToCertCenterFailed', 'message' => 'Submit Cert To Cert Center Failed.', 'http_code' => 400, 'description' => 'Failed to upload the certificate to the certificate center.'],
+ ['code' => 'UnknownError', 'message' => 'Unknown Error.', 'http_code' => 400, 'description' => 'Unknown error.'],
+ ['code' => 'UnkownError', 'message' => 'unkown error.', 'http_code' => 400, 'description' => 'Not knowing the error.'],
+ ['code' => 'UpStreamConfigConflict', 'message' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'http_code' => 400, 'description' => 'HTTP upstream and HTTP2.0 upstream conflict.'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-24T05:22:52.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-24T03:33:36.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-24T03:31:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T11:12:56.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T11:10:22.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T11:06:58.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T10:53:47.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T10:53:41.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2025-10-23T10:44:47.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ConfigL7UsKeepalive'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeL7UsKeepalive'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeWebRules'],
+ ],
+ 'createdAt' => '2025-09-19T08:52:35.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeInstanceDetails'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeWebCcProtectSwitch'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeSchedulerRules'],
+ ],
+ 'createdAt' => '2025-09-04T06:34:49.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'CreatePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'],
+ ],
+ 'createdAt' => '2025-08-14T03:28:22.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreatePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'],
+ ['description' => 'OpenAPI offline', 'api' => 'CreatePort'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'],
+ ],
+ 'createdAt' => '2025-08-14T01:39:28.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosEventMax'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeAttackAnalysisMaxQps'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosEventMax'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeAttackAnalysisMaxQps'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'],
+ ],
+ 'createdAt' => '2025-08-06T10:48:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'],
+ ],
+ 'createdAt' => '2025-07-01T09:48:51.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDomainTopAttackList'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeDomainTopAttackList'],
+ ],
+ 'createdAt' => '2025-06-18T03:05:18.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'],
+ ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'],
+ ],
+ 'createdAt' => '2025-05-30T04:01:32.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'CreateWebRule'],
+ ],
+ 'createdAt' => '2025-03-17T06:07:23.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DescribeDomainViewTopUrl'],
+ ],
+ 'createdAt' => '2025-03-17T02:34:34.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DeleteAutoCcBlacklist'],
+ ['description' => 'Request parameters changed', 'api' => 'DescribeAutoCcBlacklist'],
+ ],
+ 'createdAt' => '2024-12-12T05:42:14.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeDomainStatusCodeCount'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeDomainStatusCodeList'],
+ ],
+ 'createdAt' => '2024-11-26T02:16:00.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeL7RsPolicy'],
+ ],
+ 'createdAt' => '2024-09-18T09:20:15.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'],
+ ['description' => 'Request parameters changed', 'api' => 'DescribeDomainResource'],
+ ['description' => 'Request parameters changed', 'api' => 'DescribePort'],
+ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeWebRules'],
+ ],
+ 'createdAt' => '2024-08-30T07:13:40.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'CreatePort'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRules'],
+ ['description' => 'Request parameters changed', 'api' => 'ModifyPort'],
+ ],
+ 'createdAt' => '2024-08-29T06:00:15.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeWebCCRulesV2'],
+ ],
+ 'createdAt' => '2024-07-30T03:51:00.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DescribeDDosEventArea'],
+ ['description' => 'Request parameters changed', 'api' => 'DescribeDDosEventIsp'],
+ ],
+ 'createdAt' => '2024-07-01T08:59:35.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRegionBlock'],
+ ],
+ 'createdAt' => '2024-06-24T06:55:13.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceDetails'],
+ ],
+ 'createdAt' => '2024-06-06T11:19:55.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'],
+ ],
+ 'createdAt' => '2024-05-29T02:26:42.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ConfigL7RsPolicy'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeL7RsPolicy'],
+ ],
+ 'createdAt' => '2024-05-09T09:53:43.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DescribeSlaEventList'],
+ ],
+ 'createdAt' => '2024-03-19T07:44:55.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ConfigWebIpSet'],
+ ],
+ 'createdAt' => '2024-02-20T08:09:49.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRules'],
+ ],
+ 'createdAt' => '2024-01-23T11:24:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeCerts'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeWebRules'],
+ ],
+ 'createdAt' => '2023-07-18T07:31:08.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeDomainResource'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2023-06-30T06:51:19.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'CreateDomainResource'],
+ ['description' => 'Request parameters changed', 'api' => 'ModifyDomainResource'],
+ ],
+ 'createdAt' => '2023-05-26T07:23:03.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribePortFlowList'],
+ ],
+ 'createdAt' => '2023-05-24T06:10:21.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'],
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'],
+ ],
+ 'createdAt' => '2023-05-17T08:15:59.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribePortFlowList'],
+ ],
+ 'createdAt' => '2023-04-18T10:16:18.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'],
+ ],
+ 'createdAt' => '2023-04-04T05:59:17.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'],
+ ],
+ 'createdAt' => '2022-11-24T09:32:59.000Z',
+ 'description' => '实例规格新增并发和新建连接数',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DescribeBackSourceCidr'],
+ ],
+ 'createdAt' => '2022-11-02T07:07:21.000Z',
+ 'description' => '回源网段更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'AddAutoCcBlacklist'],
+ ['description' => 'Error codes changed', 'api' => 'AddAutoCcWhitelist'],
+ ['description' => 'Error codes changed', 'api' => 'AssociateWebCert'],
+ ['description' => 'Error codes changed', 'api' => 'AttachSceneDefenseObject'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigL7RsPolicy'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigLayer4Remark'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigLayer4RuleBakMode'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigLayer4RulePolicy'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigNetworkRegionBlock'],
+ ['description' => 'Error codes changed', 'api' => 'ConfigNetworkRules'],
+ ],
+ 'createdAt' => '2022-09-08T03:35:05.000Z',
+ 'description' => 'api战役',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'],
+ ],
+ 'createdAt' => '2022-07-13T08:52:55.000Z',
+ 'description' => '95计费发布',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeInstanceSpecs'],
+ ],
+ 'createdAt' => '2022-07-13T07:30:48.000Z',
+ 'description' => '95计费功能发布',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Error codes changed', 'api' => 'DescribeWebAccessLogDispatchStatus'],
+ ['description' => 'Error codes changed', 'api' => 'DescribeWebAccessLogStatus'],
+ ],
+ 'createdAt' => '2022-06-09T04:20:30.000Z',
+ 'description' => 'rosetta api迁移',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'DescribeWebRules'],
+ ],
+ 'createdAt' => '2022-05-24T06:43:16.000Z',
+ 'description' => '根据cname和实例模糊查询',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribePortConnsList'],
+ ],
+ 'createdAt' => '2022-04-27T09:20:43.000Z',
+ 'description' => '删除返回值time字段',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeDefenseCountStatistics'],
+ ],
+ 'createdAt' => '2021-12-28T04:36:14.000Z',
+ 'description' => '安全加速线路 资源包查询api发布',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSchedulerRule'],
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventAttackType'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOpEntities'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsLogstoreInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAttackEvents'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCCRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcBlacklist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAsyncTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortMaxConns'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePort'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAttackMaxFlow'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySchedulerRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCC'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlackholeStatus'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainResource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebCCRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcBlacklist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogDispatchStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcWhitelist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcBlacklist'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventSrcIp'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcWhitelist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcWhitelist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceProvinces'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAreaBlockConfigs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortFlowList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceProvinces'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainQPSList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceRemark'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAccessMode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetworkRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBandWidth'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessMode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSchedulerRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCacheConfigs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBizQps'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSceneDefensePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcWhitelist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL7RsPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFullLogTtl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsAuthStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainOverview'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQps'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebPreciseAccessRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCC'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlock'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceCountries'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCCRule'],
+ ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RuleBakMode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlackholeCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCCRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackSourceCidr'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceCountries'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCnameReuse'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceIds'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUdpReflect'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopCostTime'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebRule'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDomainResource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagKeys'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHeaders'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebIpSetSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebInstanceRelations'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPort'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigUdpReflect'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigWebCCTemplate'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNetworkRuleAttribute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyOcspStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebPreciseAccessRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticBandwidthSpec'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStsGrantStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessRule'],
+ ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyWebRule'],
+ ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ConfigWebIpSet'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebAccessLogConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePort'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNetworkRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSceneDefensePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCnameReuses'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSystemLog'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCerts'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventIsp'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4Remark'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagResources'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefenseObjects'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQpsRecord'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreExistStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySceneDefensePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCCRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHealthCheckConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebAccessLogConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopAttackList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsOpenStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCacheCustomRule'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlaEventList'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceSpecs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcBlacklist'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseRecords'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogEmptyCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefensePolicies'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSceneDefensePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCCRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyQpsMode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlockCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventMax'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlackholeStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLayer4RulePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCcProtectSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheMode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAttackAnalysisMaxQps'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheCustomRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectMode'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCustomPorts'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDomainResource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDetails'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePort'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHttp2Enable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigL7RsPolicy'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosAllEventList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRegionBlock'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcListCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RulePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagResources'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSchedulerRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseCountStatistics'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAsyncTasks'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRegionBlock'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceIsps'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachSceneDefenseObject'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachSceneDefenseObject'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlockStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSceneDefensePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventArea'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTlsConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDoSEvents'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateWebCert'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAutoCcStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlockSwitch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPortAutoCcStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRuleAttributes'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSchedulerRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptySlsLogstore'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebRules'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAsyncTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceStatistics'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'DdosCoo',
+ 'productName' => 'Anti-DDoS',
+ 'ramCodes' => ['yundun-high', 'yundun-ddoscoo'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'DescribeInstanceExt',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceExt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainBps',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainBps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreatePort',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreatePort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortViewSourceProvinces',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortViewSourceProvinces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortAttackMaxFlow',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortAttackMaxFlow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCerts',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeCerts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateTagResources',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAutoCcListCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcListCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDomainResource',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EmptySlsLogstore',
+ 'description' => '',
'operationType' => 'update',
- 'abilityTreeCode' => '106055',
- 'abilityTreeNodes' => [
- 'FEATUREddosCRC1QI',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptySlsLogstore',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Listeners',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The port forwarding rule that you want to manage.'."\n"
- ."\n"
- .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n"
- ."\n"
- .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
- ."\n"
- .'Each port forwarding rule contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n"
- ."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n"
- ."\n"
- .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n"
- ."\n"
- .'* **PriRealServers**: the IP addresses of the primary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the primary origin server. You can configure a maximum of 20 IP addresses.'."\n"
- ."\n"
- .' Each element in the JSON array contains the following field:'."\n"
- ."\n"
- .' * **RealServer**: the IP address of the primary origin server. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'* **SecRealServers**: the IP addresses of the secondary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the secondary origin server. You can configure a maximum of 20 IP addresses.'."\n"
- ."\n"
- .' Each element in the JSON array contains the following field:'."\n"
- ."\n"
- .' * **RealServer**: the IP address of the secondary origin server. This field is required and must be of the STRING type.'."\n"
- ."\n"
- .'* **CurrentRsIndex**: the origin server that you want to use to receive service traffic. This field is required and must be of the INTEGER type. Valid values:'."\n"
- ."\n"
- .' * **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
- .' * **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"Protocol\\":\\"udp\\",\\"FrontendPort\\":2020,\\"BackendPort\\":2022,\\"PriRealServers\\":[{\\"RealServer\\":\\"192.0.2.1\\"},{\\"RealServer\\":\\"192.0.2.2\\"}],\\"SecRealServers\\":[{\\"RealServer\\":\\"192.0.2.3\\"},{\\"RealServer\\":\\"192.0.2.4\\"}],\\"CurrentRsIndex\\":1}]',
+ [
+ 'apiName' => 'DescribeDomainViewSourceProvinces',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceProvinces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC',
- ],
- ],
+ [
+ 'apiName' => 'ConfigLayer4RulePolicy',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigLayer4RulePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ConfigLayer4RulePolicyResponse>\\r\\n\\t<RequestId>CC042262-15A3-4A49-ADF0-130968EA47BC</RequestId>\\r\\n</ConfigLayer4RulePolicyResponse>","errorExample":""}]',
- 'title' => 'ConfigLayer4RulePolicy',
- 'summary' => 'Configures the IP addresses of the primary and secondary origin servers for a port forwarding rule.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeLayer4RulePolicy' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ModifyPort',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyPort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeAutoCcWhitelist',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyBlockStatus',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyBlockStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'AttachSceneDefenseObject',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:AttachSceneDefenseObject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortConnsList',
+ 'description' => '',
'operationType' => 'get',
- 'abilityTreeCode' => '106158',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortConnsList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Listeners',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The port forwarding rule that you want to query.'."\n"
- ."\n"
- .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can query only one port forwarding rule at a time.'."\n"
- ."\n"
- .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n"
- ."\n"
- .'Each port forwarding rule contains the following fields:'."\n"
- ."\n"
- .'* **InstanceId**: the ID of the instance. This field is required and must be of the string type.'."\n"
- .'* **Protocol**: the forwarding protocol. This field is required and must be of the string type. Valid values: **tcp** and **udp**.'."\n"
- .'* **FrontendPort**: the forwarding port. This field is required and must be of the integer type.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]',
+ [
+ 'apiName' => 'ModifyWebRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2020',
- ],
- 'BakMode' => [
- 'description' => 'The mode that is used to forward service traffic. Valid values:'."\n"
- ."\n"
- .'* 0: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n"
- .'* 1: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73',
- ],
- 'CurrentIndex' => [
- 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
- ."\n"
- .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
- .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ForwardProtocol' => [
- 'description' => 'The type of the protocol.'."\n",
- 'type' => 'string',
- 'example' => 'udp',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddosDip-sg-4hr2b3l****',
- ],
- 'BackendPort' => [
- 'description' => 'The port of the origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2022',
- ],
- 'PriRealServers' => [
- 'description' => 'An array that consists of the information about the primary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2020',
- ],
- 'Eip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'Protocol' => [
- 'description' => 'The type of the protocol.'."\n",
- 'type' => 'string',
- 'example' => 'udp',
- ],
- 'CurrentIndex' => [
- 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
- ."\n"
- .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
- .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddosDip-sg-4hr2b3l****',
- ],
- 'RealServer' => [
- 'description' => 'The IP address of the primary origin server.'."\n",
- 'type' => 'string',
- 'example' => '192.0.2.1',
- ],
- ],
- ],
- ],
- 'SecRealServers' => [
- 'description' => 'An array that consists of the information about the secondary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FrontendPort' => [
- 'description' => 'The forwarding port.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2020',
- ],
- 'Eip' => [
- 'description' => 'The IP address of the instance.'."\n",
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'Protocol' => [
- 'description' => 'The type of the protocol.'."\n",
- 'type' => 'string',
- 'example' => 'udp',
- ],
- 'CurrentIndex' => [
- 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n"
- ."\n"
- .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n"
- .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'ddosDip-sg-4hr2b3l****',
- ],
- 'RealServer' => [
- 'description' => 'The IP address of the secondary origin server.'."\n",
- 'type' => 'string',
- 'example' => '192.0.2.3',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DeleteAsyncTask',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteAsyncTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"FrontendPort\\": 2020,\\n \\"BakMode\\": \\"1\\",\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\",\\n \\"CurrentIndex\\": 1,\\n \\"ForwardProtocol\\": \\"udp\\",\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"BackendPort\\": 2022,\\n \\"PriRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"SecRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeLayer4RulePolicyResponse>\\r\\n\\t<RequestId>BB95151E-FCAD-1C3C-872F-77166555E396</RequestId>\\r\\n\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t<BackendPort>2022</BackendPort>\\r\\n\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t<bakMode>1</bakMode>\\r\\n\\t<ForwardProtocol>udp</ForwardProtocol>\\r\\n\\t<PriRealServers>\\r\\n\\t\\t<RealServer>192.0.2.1</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</PriRealServers>\\r\\n\\t<PriRealServers>\\r\\n\\t\\t<RealServer>192.0.2.2</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</PriRealServers>\\r\\n\\t<SecRealServers>\\r\\n\\t\\t<RealServer>192.0.2.3</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</SecRealServers>\\r\\n\\t<SecRealServers>\\r\\n\\t\\t<RealServer>192.0.2.4</RealServer>\\r\\n\\t\\t<InstanceId>ddosDip-sg-4hr2b3l****</InstanceId>\\r\\n\\t\\t<FrontendPort>2020</FrontendPort>\\r\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\r\\n\\t\\t<Protocol>udp</Protocol>\\r\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\r\\n\\t</SecRealServers>\\r\\n</DescribeLayer4RulePolicyResponse>","errorExample":""}]',
- 'title' => 'DescribeLayer4RulePolicy',
- 'summary' => 'Queries the back-to-origin settings of a port forwarding rule.',
- 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n"
- ."\n"
- .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n",
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyInstance' => [
- 'summary' => 'Instance adjustment, similar to BSS adjustment',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeStsGrantStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeStsGrantStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ConfigDomainSecurityProfile',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigDomainSecurityProfile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeElasticQps',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ModifyWebPreciseAccessSwitch',
+ 'description' => '',
'operationType' => 'update',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '262914',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'autoTest' => true,
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the DDoS High Defense instance.'."\n"
- .'> You can call [DescribeInstanceIds](~~157459~~) to query the ID information of all DDoS High Defense instances.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-6ja1y6p5****'."\n",
+ [
+ 'apiName' => 'DescribeDomainTopFingerprint',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ModifyType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Adjustment type, with values'."\n"
- .'- UPGRADE: Upgrade.'."\n"
- .'- DOWNGRADE: Downgrade.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Upgrade',
- 'enum' => [
- 'UPGRADE',
- 'DOWNGRADE',
- ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosAllEventList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosAllEventList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'NormalBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Business bandwidth (outside Mainland China). Unit: Mbps.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '200',
+ ],
+ [
+ 'apiName' => 'EnableWebAccessLogConfig',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ServiceBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Business bandwidth (Mainland China). Unit: Mbps.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '300',
+ ],
+ [
+ 'apiName' => 'ReleaseInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ReleaseInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'BaseBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Guaranteed protection bandwidth (Mainland China). Unit: Gbps.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '30',
+ ],
+ [
+ 'apiName' => 'DeleteNetworkRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteNetworkRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'PortCount',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Number of protected ports.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '50',
+ ],
+ [
+ 'apiName' => 'DescribeOpEntities',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeOpEntities',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Bandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Elastic protection bandwidth (Mainland China). Unit: Gbps.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '30',
+ ],
+ [
+ 'apiName' => 'EnableSceneDefensePolicy',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'DomainCount',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Number of protected domains.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '50',
+ ],
+ [
+ 'apiName' => 'ModifyNetworkRuleAttribute',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyNetworkRuleAttribute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'NormalQps',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Business QPS. Unit: Mbps.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100',
+ ],
+ [
+ 'apiName' => 'DescribeDomainTopHttpMethod',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ProductType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Product type.'."\n"
- .'Values:'."\n"
- ."\n"
- .'- **ddoscoo**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for a China site account.'."\n"
- .'- **ddoscoo_intl**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for an international site account.'."\n"
- .'- **ddosDip**: Indicates that the DDoS High Defense (outside Mainland China) instance is being adjusted for either a China or international site account.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo',
+ ],
+ [
+ 'apiName' => 'DescribeDomainOverview',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'AddressType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Address type. Values:'."\n"
- .'- **Ipv4**: IPv4.'."\n"
- .'- **Ipv6**: IPv6.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ipv4',
+ ],
+ [
+ 'apiName' => 'DescribeL7GlobalRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ProductPlan',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Protection package (outside Mainland China). Values:'."\n"
- ."\n"
- .'- **0**: Indicates the DDoS High Defense (outside Mainland China) Insurance Edition.'."\n"
- .'- **1**: Indicates the DDoS High Defense (outside Mainland China) Worry-Free Edition.'."\n"
- .'- **2**: Indicates the DDoS High Defense (outside Mainland China) Acceleration Line.'."\n"
- .'- **3**: Indicates the DDoS High Defense (outside Mainland China) Secure Acceleration Line.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
+ ],
+ [
+ 'apiName' => 'ConfigNetworkRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigNetworkRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'EditionSale',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Protection package (Mainland China). Values:'."\n"
- ."\n"
- .'- **coop**: Indicates the DDoS High Defense (Mainland China) Professional Edition.'."\n"
- .'- **advance**: Indicates the DDoS High Defense (Mainland China) Professional Edition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'coop',
+ ],
+ [
+ 'apiName' => 'DescribeDomainH2Fingerprint',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ServicePartner',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Line resources of the instance (Mainland China). Values:'."\n"
- ."\n"
- .'- **coop-line-001**: Indicates the DDoS High Defense (Mainland China) 8-line BGP line.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'coop-line-001',
+ ],
+ [
+ 'apiName' => 'DescribeTagKeys',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeTagKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'FunctionVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Function version, with values:'."\n"
- ."\n"
- .'- **0**: Standard function.'."\n"
- .'- **1**: Enhanced function.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
+ ],
+ [
+ 'apiName' => 'DescribeCdnLinkageRules',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeCdnLinkageRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.',
- 'type' => 'string',
- 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E',
- ],
- 'OrderId' => [
- 'description' => 'Order ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '242461444340562',
- ],
- ],
+ [
+ 'apiName' => 'DeleteAutoCcBlacklist',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeDomainTopReferer',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSlsAuthStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUnBlockCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUnBlockCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebCCGlobalSwitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyHttp2Enable',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHttp2Enable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstanceDetails',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceDetails',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSlsLogstoreInfo',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsLogstoreInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigWebCCTemplate',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigWebCCTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWebRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeHeaders',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHeaders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortConnsCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortConnsCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAsyncTask',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateAsyncTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWebCCRuleV2',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBlockStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBlockStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSlsOpenStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyDomainResource',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateDomainResource',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainStatusCodeList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigLayer4RuleBakMode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigLayer4RuleBakMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAutoCcWhitelist',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWebPreciseAccessRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePort',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDestinationPortEvent',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstances',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyOcspStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyOcspStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstanceIds',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceIds',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBackSourceCidr',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBackSourceCidr',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebAIProtectSwitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAIProtectSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddAutoCcBlacklist',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:AddAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainQPSList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainQPSList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSchedulerRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortViewSourceIsps',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortViewSourceIsps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSceneDefenseObjects',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSceneDefenseObjects',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDefenseCountStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDefenseCountStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateWebCCRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainViewTopCostTime',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewTopCostTime',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebAreaBlockSwitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainStatusCodeCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifySceneDefensePolicy',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifySceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyElasticBizQps',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyElasticBizQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebCCRules',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCCRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAttackAnalysisMaxQps',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAttackAnalysisMaxQps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortViewSourceCountries',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosEventSrcIp',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUnBlackholeCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUnBlackholeCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNetworkRules',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeNetworkRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeLogStoreExistStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyFullLogTtl',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyFullLogTtl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebAccessMode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAccessMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosEventArea',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventArea',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebCacheSwitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigNetworkRegionBlock',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigNetworkRegionBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebCacheConfigs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebAIProtectMode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAIProtectMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyPortAutoCcStatus',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebAccessLogStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebAreaBlock',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebAreaBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigUdpReflect',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigUdpReflect',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebAccessLogDispatchStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogDispatchStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosEventIsp',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventIsp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeL7RsPolicy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7RsPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainCcProtectSwitch',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainCcProtectSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUdpReflect',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeUdpReflect',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableWebCCRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebCacheCustomRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheCustomRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstanceSpecs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceSpecs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeL7UsKeepalive',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAutoCcBlacklist',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSceneDefensePolicy',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWebCCRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigLayer4Remark',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigLayer4Remark',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableSceneDefensePolicy',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableWebCC',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableWebCC',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSystemLog',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSystemLog',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteTagResources',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainResource',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeElasticQpsRecord',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticQpsRecord',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomains',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomains',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebPreciseAccessRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebCacheMode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCacheMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortAutoCcStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortAutoCcStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeletePort',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeletePort',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNetworkRuleAttributes',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeNetworkRuleAttributes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainViewSourceCountries',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainTopAttackList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopAttackList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortFlowList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortFlowList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSceneDefensePolicy',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteSceneDefensePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosEventAttackType',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EmptyAutoCcWhitelist',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptyAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyCnameReuse',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyCnameReuse',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNetworkRegionBlock',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyBlackholeStatus',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyBlackholeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebInstanceRelations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebInstanceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebCcProtectSwitch',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCcProtectSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyHealthCheckConfig',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDefenseRecords',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDefenseRecords',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeElasticBandwidthSpec',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeElasticBandwidthSpec',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EnableWebCC',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebCC',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSchedulerRules',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSchedulerRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeHealthCheckStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyInstanceRemark',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyInstanceRemark',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTagResources',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePortMaxConns',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribePortMaxConns',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainViewTopUrl',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainViewTopUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainAttackEvents',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainAttackEvents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeLayer4RulePolicy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeLayer4RulePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigL7GlobalRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyTlsConfig',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyTlsConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebAccessLogEmptyCount',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessLogEmptyCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DetachSceneDefenseObject',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DetachSceneDefenseObject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifySchedulerRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifySchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstanceStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainTopUserAgent',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EnableWebCCRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EnableWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSchedulerRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyHeaders',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyHeaders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBlackholeStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeBlackholeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAsyncTasks',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeAsyncTasks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInstanceStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeInstanceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebPreciseAccessRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AssociateWebCert',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:AssociateWebCert',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigWebIpSet',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigWebIpSet',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebCustomPorts',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCustomPorts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateWebRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateWebRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableWebAccessLogConfig',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DisableWebAccessLogConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeHealthCheckList',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeHealthCheckList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigWebCCRuleV2',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebCCRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebCCRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigL7UsKeepalive',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigL7RsKeepalive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebAccessMode',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAccessMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateNetworkRules',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:CreateNetworkRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyWebIpSetSwitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyWebIpSetSwitch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDoSEvents',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDoSEvents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteWebCacheCustomRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DeleteWebCacheCustomRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDDosEventMax',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeDDosEventMax',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddAutoCcWhitelist',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebCCRulesV2',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebCCRulesV2',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSlaEventList',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSlaEventList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SwitchSchedulerRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:SwitchSchedulerRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSceneDefensePolicies',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeSceneDefensePolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCnameReuses',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeCnameReuses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyQpsMode',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyQpsMode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeWebAreaBlockConfigs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:DescribeWebAreaBlockConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EmptyAutoCcBlacklist',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:EmptyAutoCcBlacklist',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyElasticBandWidth',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ModifyElasticBandWidth',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfigL7RsPolicy',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-ddoscoo:ConfigL7RsPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0018DF77-7189-5D33-947B-E5B34BFCE07E\\",\\n \\"OrderId\\": 242461444340562\\n}","type":"json"}]',
- 'title' => 'ModifyInstance',
- 'translator' => 'machine',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com',
],
+ 'resourceTypes' => [],
],
];