diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/ddoscoo/2020-01-01 | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/ddoscoo/2020-01-01')
| -rw-r--r-- | data/en_us/ddoscoo/2020-01-01/api-docs.php | 23059 |
1 files changed, 23059 insertions, 0 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 new file mode 100644 index 0000000..ba56247 --- /dev/null +++ b/data/en_us/ddoscoo/2020-01-01/api-docs.php @@ -0,0 +1,23059 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ddoscoo', + 'version' => '2020-01-01', + ], + 'directories' => [ + [ + 'id' => 362006, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ReleaseInstance', + 'ModifyInstanceRemark', + 'ModifyElasticBandWidth', + 'DescribeInstanceIds', + 'DescribeInstanceStatus', + 'DescribeElasticBandwidthSpec', + 'DescribeInstanceStatistics', + 'DescribeInstances', + 'DescribeInstanceSpecs', + 'DescribeInstanceDetails', + 'ModifyElasticBizQps', + 'ModifyQpsMode', + 'DescribeInstanceExt', + ], + ], + [ + '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', + 'DescribeDomainTopHttpMethod', + ], + ], + [ + 'id' => 362048, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateAsyncTask', + 'DeleteAsyncTask', + ], + ], + [ + 'id' => 362051, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateNetworkRules', + 'DeleteNetworkRule', + 'ModifyHealthCheckConfig', + 'DescribeNetworkRules', + 'DescribeHealthCheckStatus', + 'ConfigNetworkRules', + ], + ], + [ + 'id' => 362058, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateSchedulerRule', + 'DeleteSchedulerRule', + 'ModifySchedulerRule', + 'DescribeSchedulerRules', + 'SwitchSchedulerRule', + 'DescribeCdnLinkageRules', + ], + ], + [ + 'id' => 362065, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddAutoCcBlacklist', + 'AddAutoCcWhitelist', + 'DeleteAutoCcBlacklist', + 'DeleteAutoCcWhitelist', + 'ModifyBlackholeStatus', + 'ModifyBlockStatus', + 'DescribeAutoCcListCount', + 'DescribeAutoCcBlacklist', + 'DescribeAutoCcWhitelist', + 'DescribeUnBlackholeCount', + 'DescribeBlackholeStatus', + 'DescribeNetworkRegionBlock', + 'DescribeBlockStatus', + 'DescribeUnBlockCount', + 'EmptyAutoCcBlacklist', + 'EmptyAutoCcWhitelist', + 'ConfigNetworkRegionBlock', + 'DescribeUdpReflect', + 'ConfigUdpReflect', + ], + ], + [ + 'id' => 362085, + 'title' => null, + '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', + ], + ], + [ + 'id' => 362115, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ModifyPortAutoCcStatus', + 'ModifyNetworkRuleAttribute', + 'DescribePortAutoCcStatus', + 'DescribeDomains', + 'DescribeHealthCheckList', + 'DescribeNetworkRuleAttributes', + ], + ], + [ + 'id' => 362122, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateSceneDefensePolicy', + 'DeleteSceneDefensePolicy', + 'ModifySceneDefensePolicy', + 'AttachSceneDefenseObject', + 'DetachSceneDefenseObject', + 'EnableSceneDefensePolicy', + 'DisableSceneDefensePolicy', + 'DescribeSceneDefensePolicies', + 'DescribeSceneDefenseObjects', + ], + ], + [ + 'id' => 362132, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteWebCacheCustomRule', + 'ModifyWebCacheSwitch', + 'ModifyWebCacheMode', + 'ModifyWebCacheCustomRule', + 'DescribeWebCacheConfigs', + ], + ], + [ + 'id' => 362138, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeDDosEventMax', + 'DescribeDDosEventArea', + 'DescribeDDosEventAttackType', + 'DescribeDDosEventIsp', + 'DescribeDDosEventSrcIp', + 'DescribeBackSourceCidr', + 'DescribeDDosAllEventList', + 'DescribeDDoSEvents', + 'DescribeSlaEventList', + 'DescribeDomainAttackEvents', + 'DescribeDefenseCountStatistics', + 'DescribeAttackAnalysisMaxQps', + 'DescribeDestinationPortEvent', + ], + ], + [ + 'id' => 362152, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribePortFlowList', + 'DescribePortConnsList', + 'DescribePortConnsCount', + 'DescribePortMaxConns', + 'DescribePortAttackMaxFlow', + 'DescribePortViewSourceCountries', + 'DescribePortViewSourceIsps', + 'DescribePortViewSourceProvinces', + 'DescribeDomainQPSList', + 'DescribeDomainStatusCodeList', + 'DescribeDomainOverview', + 'DescribeDomainStatusCodeCount', + 'DescribeDomainTopAttackList', + 'DescribeDomainViewSourceCountries', + 'DescribeDomainViewSourceProvinces', + 'DescribeDomainViewTopCostTime', + 'DescribeDomainViewTopUrl', + ], + ], + [ + 'id' => 362170, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'EnableWebAccessLogConfig', + 'ModifyFullLogTtl', + 'DisableWebAccessLogConfig', + 'DescribeWebAccessLogDispatchStatus', + 'DescribeWebAccessLogStatus', + 'DescribeLogStoreExistStatus', + 'DescribeOpEntities', + 'DescribeSlsAuthStatus', + 'DescribeSlsLogstoreInfo', + 'DescribeSlsOpenStatus', + 'DescribeWebAccessLogEmptyCount', + 'DescribeDefenseRecords', + 'EmptySlsLogstore', + ], + ], + [ + 'id' => 362184, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeStsGrantStatus', + 'DescribeAsyncTasks', + 'DescribeSystemLog', + 'DescribeElasticQps', + 'DescribeElasticQpsRecord', + ], + ], + [ + 'id' => 362190, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateTagResources', + 'DeleteTagResources', + 'DescribeTagKeys', + 'DescribeTagResources', + ], + ], + [ + 'id' => 362195, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreatePort', + 'DeletePort', + 'ModifyPort', + 'DescribePort', + ], + ], + [ + 'id' => 362200, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDomainResource', + 'DeleteDomainResource', + 'DescribeDomainResource', + 'ModifyDomainResource', + 'ConfigLayer4Remark', + 'ConfigLayer4RuleBakMode', + 'ConfigLayer4RulePolicy', + 'DescribeLayer4RulePolicy', + 'ModifyInstance', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ReleaseInstance' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106274', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyInstanceRemark' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106250', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + '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' => 'Remark', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1', + ], + ], + ], + ], + ], + '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" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + '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', + ], + ], + [ + '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****', + ], + ], + ], + '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<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' => ' ', + ], + 'DescribeInstanceIds' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106150', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'Edition', + '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', + ], + ], + [ + 'name' => 'InstanceIds', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"InstanceIds\\": [\\n {\\n \\"IpMode\\": \\"fnat\\",\\n \\"Edition\\": 9,\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<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.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeInstanceStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106154', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + '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****', + ], + ], + [ + 'name' => 'ProductType', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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****', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106142', + 'abilityTreeNodes' => [ + 'FEATUREddosIJFWZ1', + ], + ], + '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****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106153', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + '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 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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"642319A9-D1F2-4459-A447-E57CFC599FDE\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 1,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<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' => ' ', + ], + 'DescribeInstances' => [ + 'summary' => '查询实例列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106151', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + '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 specify this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the instance to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '203.107.XX.XX', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'Enabled', + 'in' => 'query', + 'schema' => [ + 'description' => 'The traffic forwarding status of the instance to query. Valid values:'."\n" + ."\n" + .'* **0**: The instance no longer forwards service traffic.'."\n" + .'* **1**: The instance forwards service traffic as expected.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'ExpireEndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. Instances whose expiration time is earlier than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1640361700000', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the instances to query. You can specify up to 200 instance IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-7pp2g9ed****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + '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, + ], + ], + [ + 'name' => 'Tag', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"IpMode\\": \\"fnat\\",\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"ExpireTime\\": 1640361600000,\\n \\"Remark\\": \\"doc-test\\",\\n \\"CreateTime\\": 1637751953000,\\n \\"Enabled\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-7pp2g9ed****\\",\\n \\"IsFirstOpenBw\\": 0,\\n \\"IsFirstOpenQps\\": 0,\\n \\"Ip\\": \\"203.199.XX.XX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106152', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IDs of instances to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-zvp2eibz****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 30,\\n \\"QpsLimit\\": 3000,\\n \\"BandwidthMbps\\": 100,\\n \\"ElasticBw\\": 300,\\n \\"DefenseCount\\": 2,\\n \\"SiteLimit\\": 5,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 30,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"DomainLimit\\": 50,\\n \\"ElasticBwModel\\": \\"day\\",\\n \\"CpsLimit\\": 5000,\\n \\"ConnLimit\\": 100000,\\n \\"RealLimitBw\\": 0,\\n \\"ElasticQpsMode\\": \\"day\\",\\n \\"ElasticQps\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'title' => '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", + ], + 'DescribeInstanceDetails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106149', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IDs of instances to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-zvp2eibz****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C814429-21A5-4673-827E-FDD19DC75681\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"EipInfos\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"IpMode\\": \\"fnat\\",\\n \\"Eip\\": \\"203.117.XX.XX\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"CertConfigured\\": true,\\n \\"TlsVersion\\": \\"tls1.2\\",\\n \\"Ssl13Enabled\\": false,\\n \\"FunctionVersion\\": \\"default\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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 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****', + ], + ], + [ + 'name' => 'Mode', + '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', + ], + ], + [ + 'name' => 'OpsElasticQps', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '169181', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + '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****', + ], + ], + [ + 'name' => 'Mode', + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]', + 'title' => 'ModifyQpsMode', + ], + 'DescribeInstanceExt' => [ + 'summary' => 'Queries the information about Anti-DDoS Pro and Anti-DDoS Premium instances.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + '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' => false, + 'example' => 'ddoscoo-cn-i7m25564****', + ], + ], + [ + 'name' => 'PageNumber', + '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', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + '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" + ."\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 that you want to add to the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'example.aliyundoc.com', + ], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'* **0**: IP address'."\n" + .'* **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + ], + ], + [ + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the associated defense. This parameter applies to scenarios in which other cloud services, such as Object Storage Service (OSS), are integrated with Anti-DDoS Pro or Anti-DDoS Premium.'."\n" + ."\n" + .'> This parameter is in internal preview. Do not use this parameter.'."\n" + ."\n" + .'For example, if you integrate OSS with Anti-DDoS Pro or Anti-DDoS Premium, Anti-DDoS Pro or Anti-DDoS Premium allocates an IP address pool for the OSS production account. Each IP address corresponds to a unique defense ID. A defense ID is a CNAME, which is automatically resolved to the IP address of the required Anti-DDoS Pro or Anti-DDoS Premium instance. A defense ID can be resolved to the same IP address to facilitate scheduling.'."\n" + ."\n" + .'> You can specify only one of the following parameters: **InstanceIds** and **DefenseId**.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'testid', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instance is associated with the website.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-i7m27nf3****', + ], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteWebRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106091', + '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****', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website from which you want to delete the forwarding rule.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106271', + '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" + ."\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]}]', + ], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + '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", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + ], + ], + [ + 'name' => 'HttpsExt', + 'in' => 'query', + '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" + ."\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}', + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the origin server.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '192.XX.XX.2', + ], + 'required' => true, + 'example' => '1.xxx.xxx.1', + 'maxItems' => 20, + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + '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', + 'required' => false, + 'example' => 'ddoscoo-cn-i7m27nf3****', + ], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UpStreamConfigConflict', + 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', + ], + ], + ], + '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", + ], + 'ModifyTlsConfig' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106258', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + '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', + '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"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyHttp2Enable' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106259', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + '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' => 'www.aliyun.com', + ], + ], + [ + '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', + ], + ], + ], + '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":"<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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' => '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', + ], + ], + [ + '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', + ], + ], + ], + '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<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' => ' ', + ], + 'DescribeWebRules' => [ + 'summary' => 'Query Configuration of Website Business Forwarding Rules.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106211', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + 'autoTest' => true, + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The CNAME address to query.', + 'type' => 'string', + 'required' => false, + 'example' => 'kzmk7b8tt351****.aliyunddos1014****', + 'maxLength' => 128, + 'minLength' => 3, + ], + ], + [ + 'name' => 'QueryDomainPattern', + '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', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Default value: **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: **1** to **10**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of DDoS protection instance IDs to query.', + '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', + 'required' => false, + 'example' => 'ddoscoo-cn-i7m27nf3****', + ], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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" + ."\n" + .'Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.'."\n" + ."\n" + .'### QPS Limit'."\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.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeWebInstanceRelations' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106207', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domains', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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' => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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" + ."\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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeWebCustomPorts' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106206', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + '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' => '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCnameReuses' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106108', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domains', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeL7RsPolicy' => [ + 'summary' => 'Queries the back-to-origin policies for the forwarding rule of a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106157', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106049', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91', + ], + ], + 'description' => '', + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ConfigL7RsPolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '106052', + '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' => '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" + .' * **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}}]}', + ], + ], + [ + 'name' => 'UpstreamRetry', + 'in' => 'query', + 'schema' => [ + 'description' => 'The retry switch. Valid values:'."\n" + ."\n" + .'* **1**: on'."\n" + .'* **0**: off'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '1', + ], + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106252', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '215883', + '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' => false, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => 'UpstreamKeepalive', + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215888', + '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' => 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', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDHE\\",\\n \\"RsKeepalive\\": {\\n \\"Enabled\\": true,\\n \\"KeepaliveRequests\\": 1000,\\n \\"KeepaliveTimeout\\": 30,\\n \\"DsKeepaliveTimeout\\": 0\\n }\\n}","type":"json"}]', + 'title' => 'DescribeL7UsKeepalive', + ], + 'ModifyHeaders' => [ + 'summary' => 'Modifies the custom header of a domain name that is added to an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106247', + 'abilityTreeNodes' => [ + 'FEATUREddosCT2Z4D', + ], + ], + 'parameters' => [ + [ + '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", + ], + ], + [ + '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' => 'CustomHeaders', + 'in' => 'query', + '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" + ."\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', + 'required' => true, + 'example' => '{\\"X-Forwarded-ClientSrcPort\\":\\"\\"}', + ], + ], + [ + 'name' => 'EmbeddedHeaders', + 'in' => 'query', + '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}', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidEmbeddedHeaders', + 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]', + 'title' => 'ModifyHeaders', + ], + 'DescribeHeaders' => [ + 'summary' => 'Queries the custom header that is specified for a domain name.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106146', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek3cmuvpia****', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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}', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231662', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1726318200', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries to return.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'DescribeDomainTopReferer' => [ + 'summary' => 'Queries the information about top N referers of a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + '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' => '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', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries to return.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + 'DomainTopReferer' => [ + 'description' => 'The information about top referers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the referer.'."\n", + 'type' => 'object', + 'properties' => [ + 'Referer' => [ + 'description' => 'The Base64-encoded referer.'."\n", + 'type' => 'string', + 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=', + ], + 'Pv' => [ + 'description' => 'The page views.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '257031', + ], + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'example.aliyundoc.com'."\n", + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + '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' => 'www.example.com'."\n", + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1609430400', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1708352700', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries to return.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + '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' => 'www.example.com', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1719211800', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1722339300', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => 'The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '600', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'DomainBps' => [ + 'description' => 'The bandwidths.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The bandwidth values.'."\n", + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => 'The index number of the returned data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'InBps' => [ + 'description' => 'The inbound bandwidth. Unit: bit/s.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'OutBps' => [ + 'description' => 'The outbound bandwidth. Unit: bit/s.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'TaskType', + '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', + ], + ], + [ + 'name' => 'TaskParams', + '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****"}', + ], + ], + ], + '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<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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteAsyncTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + 'description' => '', + ], + ], + ], + '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' => ' ', + ], + 'CreateNetworkRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106069', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + '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" + .'* **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"]}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD', + ], + ], + 'description' => '', + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + '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' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106083', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + '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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106248', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + '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' => '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}', + ], + ], + ], + '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<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' => ' ', + ], + 'DescribeNetworkRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106162', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + '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' => 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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'translator' => 'machine', + ], + 'DescribeHealthCheckStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106148', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'NetworkRules', + 'in' => 'query', + 'schema' => [ + 'description' => 'An array that consists of the details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C', + ], + 'HealthCheckStatus' => [ + 'description' => 'An array that consists of the details of the health status of the origin server.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The health status of the origin server. Valid values:'."\n" + ."\n" + .'* **normal**: healthy'."\n" + .'* **abnormal**: unhealthy'."\n", + 'type' => 'string', + 'example' => 'normal', + ], + 'FrontendPort' => [ + 'description' => 'The forwarding port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8080', + ], + 'InstanceId' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'Protocol' => [ + 'description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'example' => 'tcp', + ], + 'RealServerStatusList' => [ + 'description' => 'An array that consists of the health states of the IP addresses of the origin server.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The health state of the IP address. Valid values:'."\n" + ."\n" + .'* **normal**: healthy'."\n" + .'* **abnormal**: unhealthy'."\n", + 'type' => 'string', + 'example' => 'abnormal', + ], + 'Address' => [ + 'description' => 'The IP address of the origin server.'."\n", + 'type' => 'string', + 'example' => '192.0.XX.XX', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'ConfigNetworkRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106057', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + '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" + .'* **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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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}]', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the rule.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'testrule', + ], + ], + [ + 'name' => 'RuleType', + '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', + ], + ], + [ + '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}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106086', + 'abilityTreeNodes' => [ + 'FEATUREddosZIK01A', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the scheduling rule that you want to delete.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'testrule', + ], + ], + ], + '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<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' => ' ', + ], + 'ModifySchedulerRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106257', + 'abilityTreeNodes' => [ + 'FEATUREddosZIK01A', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + '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}]', + ], + ], + [ + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the scheduling rule. Valid values:'."\n" + ."\n" + .'* **2**: tiered protection'."\n" + .'* **3**: network acceleration'."\n" + .'* **5**: CDN interaction'."\n" + .'* **6**: cloud service interaction'."\n" + .'* **8**: secure acceleration'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '2', + ], + ], + [ + '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}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeSchedulerRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106184', + 'abilityTreeNodes' => [ + 'FEATUREddosZIK01A', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'testrule', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989', + ], + 'SchedulerRules' => [ + 'description' => '', + '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****', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + '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' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106277', + 'abilityTreeNodes' => [ + 'FEATUREddosZIK01A', + ], + ], + 'parameters' => [ + [ + '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', + ], + ], + ], + ], + ], + '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", + ], + 'DescribeCdnLinkageRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106105', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'example.aliyundoc.com'."\n", + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047', + ], + 'SchedulerRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'example.aliyundoc.com'."\n", + ], + 'CdnLinkageEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CdnLinkageRule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'example.aliyundoc.com'."\n", + ], + 'RuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'testDDos', + ], + 'Rules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '203.107.XX.XX', + ], + 'ValueType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '""', + ], + ], + ], + ], + 'Param' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cdn', + ], + 'ParamData' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AccessQps' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'UpstreamQps' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106046', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + ], + [ + 'name' => 'Blacklist', + '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"}]', + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '300', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddAutoCcWhitelist' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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****', + ], + ], + [ + 'name' => 'Whitelist', + 'in' => 'query', + 'schema' => [ + 'description' => 'The configuration of the IP addresses that you want to add to the whitelist. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n" + ."\n" + .'* **src**: the IP address that you want to add. This parameter is required. Data type: string.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]', + ], + ], + [ + 'name' => 'ExpireTime', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678', + ], + ], + ], + ], + ], + '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", + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106077', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + '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' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Blacklist', + '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"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteAutoCcWhitelist' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106078', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + ], + [ + 'name' => '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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106227', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'BlackholeStatus', + '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', + ], + ], + [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'ModifyBlockStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106228', + 'abilityTreeNodes' => [ + 'FEATUREddosZIK01A', + ], + ], + 'parameters' => [ + [ + 'name' => 'Status', + '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', + ], + ], + [ + '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', + ], + ], + [ + '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****', + ], + ], + [ + 'name' => 'Lines', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeAutoCcListCount' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106096', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106095', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + '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' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeAutoCcWhitelist' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106097', + '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' => '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of returned IP addresses in the whitelist.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162', + ], + 'AutoCcWhitelist' => [ + 'description' => 'An array that consists of details of the IP address in the whitelist of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The mode of how an IP address is added to the whitelist. Valid values:'."\n" + ."\n" + .'* **manual**: manually added'."\n" + .'* **auto**: automatically added'."\n", + 'type' => 'string', + 'example' => 'manual', + ], + 'DestIp' => [ + 'description' => 'The IP address of the instance.'."\n", + 'type' => 'string', + 'example' => '203.***.***.117', + ], + 'EndTime' => [ + 'description' => 'The validity period of the IP address in the whitelist. Unit: seconds. **0** indicates that the IP address in the whitelist never expires.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'SourceIp' => [ + 'description' => 'The IP addresses that is contained in the IP address whitelist.'."\n", + 'type' => 'string', + 'example' => '2.2.2.2', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106194', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106099', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + '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' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeNetworkRegionBlock' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106160', + '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****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'Config' => [ + 'description' => 'The configuration of blocked locations.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionBlockSwitch' => [ + 'description' => 'The status of the Location Blacklist policy. Valid values:'."\n" + ."\n" + .'* **on**: enabled'."\n" + .'* **off**: disabled'."\n", + 'type' => 'string', + 'example' => 'on', + ], + 'Countries' => [ + 'description' => 'The codes of the countries or areas from which the requests are blocked.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The code of the country or area from which the requests are blocked.'."\n" + ."\n" + .'> For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + 'Provinces' => [ + 'description' => 'The codes of the administrative regions in China from which the requests are blocked.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The code of the administrative region in China from which the requests are blocked. For example, **11** indicates Beijing, and **12** indicates Tianjin.'."\n" + ."\n" + .'> For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Config\\": {\\n \\"RegionBlockSwitch\\": \\"on\\",\\n \\"Countries\\": [\\n 2\\n ],\\n \\"Provinces\\": [\\n 11\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeNetworkRegionBlock', + 'summary' => 'Queries the blocked locations that are configured for an Anti-DDoS Pro or Anti-DDoS Premium instance.', + ], + 'DescribeBlockStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106101', + '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****', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of information about the IDs of the instances that you want to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-zvp2eibz****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106195', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106217', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + '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****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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' => ' ', + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106218', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + '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****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106056', + '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' => '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" + .' * **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]}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + 'description' => '', + ], + ], + ], + '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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **Examples** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUdpReflect' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106193', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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-i7m25564****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the instance. Valid values:'."\n" + ."\n" + .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n" + .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'ConfigUdpReflect' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106059', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + '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-i7m25564****', + ], + ], + [ + 'name' => 'Config', + '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]}', + ], + ], + [ + 'name' => 'RegionId', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', + ], + ], + ], + ], + ], + '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" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateWebCCRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106074', + '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 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', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the rule. The name can be up to 128 characters in length and contain letters, digits, and underscores (\\_).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'testrule', + ], + ], + [ + 'name' => 'Act', + 'in' => 'query', + 'schema' => [ + 'description' => 'The action on the requests that trigger the custom frequency control rule. Valid values:'."\n" + ."\n" + .'* **close**: blocks the requests.'."\n" + .'* **captcha**: triggers Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'close', + ], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '60', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '20', + ], + ], + [ + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '60', + ], + ], + [ + 'name' => 'Uri', + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + 'title' => 'CreateWebCCRule', + 'summary' => 'Creates a custom frequency control rule for a website.', + ], + 'DeleteWebCCRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + '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' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + 'description' => '', + ], + ], + ], + '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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteWebPreciseAccessRule' => [ + 'summary' => 'Deletes the accurate access control rules that are created for a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106090', + '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', + ], + ], + [ + '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' => 'RuleNames', + '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, + ], + ], + ], + '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', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => 'Config', + '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}', + ], + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106260', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + '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', + ], + ], + [ + '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"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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' => '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' => '{"BwlistEnable":1}', + ], + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106222', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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' => ' ', + ], + 'EnableWebCCRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableWebCCRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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' => ' ', + ], + 'ModifyWebCCRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106267', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'testrule', + ], + ], + [ + 'name' => 'Act', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'close', + ], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '3', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '30', + ], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'prefix', + ], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => [ + 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '60', + ], + ], + [ + 'name' => 'Uri', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', + ], + ], + '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' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyWebPreciseAccessSwitch' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106270', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for 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', + '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}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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' => ' ', + ], + 'ModifyWebPreciseAccessRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106269', + 'abilityTreeNodes' => [ + 'FEATUREddosCRC1QI', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', + ], + ], + ], + ], + ], + '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|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyWebAreaBlockSwitch' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106263', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'Domain', + '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', + ], + ], + [ + 'name' => 'Config', + '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}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106262', + '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" + ."\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 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', + ], + ], + [ + 'name' => 'Regions', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106204', + 'abilityTreeNodes' => [ + 'FEATUREddosCRC1QI', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call 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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'get', + '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' => '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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' => ' ', + ], + 'DescribeWebPreciseAccessRule' => [ + 'summary' => 'Queries the accurate access control rules that are created for websites.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + ], + [ + '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', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'manual', + 'clover', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638', + ], + 'PreciseAccessConfigList' => [ + 'description' => 'The configuration of the accurate access control rule that is created for the website.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'www.aliyun.com', + ], + 'RuleList' => [ + 'description' => 'The scheduling rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => [ + 'description' => 'The action triggered if the rule is matched. Valid values:'."\n" + ."\n" + .'* **accept**: The requests that match the rule are allowed.'."\n" + .'* **block**: The requests that match the rule are blocked.'."\n" + .'* **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n", + 'type' => 'string', + 'example' => 'accept', + ], + 'Owner' => [ + 'description' => 'The source of the rule. Valid values:'."\n" + ."\n" + .'* **manual** (default): manually created.'."\n" + .'* **auto**: automatically generated.'."\n", + 'type' => 'string', + 'example' => 'manual', + ], + 'ExpirePeriod' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Name' => [ + 'description' => 'The name of the scheduling rule.'."\n", + 'type' => 'string', + 'example' => 'testrule', + ], + 'ConditionList' => [ + 'description' => 'The match conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MatchMethod' => [ + 'description' => 'The logical operator.'."\n", + 'type' => 'string', + 'example' => 'belong', + ], + 'Field' => [ + 'description' => 'The match field.'."\n", + 'type' => 'string', + 'example' => 'ip', + ], + 'Content' => [ + 'description' => 'The match content.'."\n", + 'type' => 'string', + 'example' => '1.1.1.1', + ], + 'HeaderName' => [ + 'description' => 'The custom HTTP request header.'."\n" + ."\n" + .'> This parameter takes effect only when **Field** is set to **header**.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'ContentList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'Expires' => [ + 'description' => 'The validity period of the rule. Unit: seconds. This parameter takes effect only when **action** of a rule is **block**. Access requests that match the rule are blocked within the specified validity period of the rule. The value **0** indicates that the whitelist takes effect all the time.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"209EEFBF-B0C7-441E-8C28-D0945A57A638\\",\\n \\"PreciseAccessConfigList\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RuleList\\": [\\n {\\n \\"Action\\": \\"accept\\",\\n \\"Owner\\": \\"manual\\",\\n \\"ExpirePeriod\\": 1598889600,\\n \\"Name\\": \\"testrule\\",\\n \\"ConditionList\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"Content\\": \\"1.1.1.1\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"ContentList\\": [\\n \\"{\\\\\\"field\\\\\\":\\\\\\"uri\\\\\\",\\\\\\"match_method\\\\\\":\\\\\\"contain\\\\\\",\\\\\\"content\\\\\\":\\\\\\"/test/123\\\\\\"}\\"\\n ]\\n }\\n ],\\n \\"Expires\\": 0\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?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', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeWebAreaBlockConfigs' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call 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' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'www.aliyun.com', + ], + 'RegionList' => [ + 'description' => 'The configuration of the blocked locations.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => 'The name of the location.'."\n", + 'type' => 'string', + 'example' => 'CN-SHANGHAI', + ], + 'Block' => [ + 'description' => 'Indicates whether the location is blocked. Valid values:'."\n" + ."\n" + .'* **0**: yes'."\n" + .'* **1**: no'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + '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", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => 'BlackList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IP addresses and CIDR blocks in the blacklist. You can add up to 200 IP addresses or CIDR blocks to the blacklist.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address or CIDR block that you want to add to the blacklist.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '59.49.*.*', + ], + 'required' => false, + 'example' => '1.1.1.1', + 'maxItems' => 2000, + ], + ], + [ + 'name' => 'WhiteList', + '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, + ], + ], + ], + '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<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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106060', + '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' => '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' => 'Template', + 'in' => 'query', + 'schema' => [ + 'description' => 'The mode of the Frequency Control policy. Valid values:'."\n" + ."\n" + .'* **default**: Normal'."\n" + .'* **gf_under_attack**: Emergency'."\n" + .'* **gf_sos_verify**: Strict'."\n" + .'* **gf_sos_enhance**: Super Strict'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + ], + '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<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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteWebCCRuleV2' => [ + 'summary' => 'Deletes custom frequency control rules of a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198862', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198809', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The method used to create the rule. Valid values:'."\n" + ."\n" + .'* **manual** (default): manually created.'."\n" + .'* **clover**: automatically created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'manual', + 'title' => '筛选规则来源。取值:'."\n" + .'- **manual**(默认):手动添加'."\n" + .'- **clover**:自动生成', + ], + ], + ], + '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", + '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' => '规则详情。', + ], + ], + 'title' => '频率控制(CC防护)自定义规则。', + ], + 'title' => '频率控制(CC防护)自定义规则。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'chargeType' => 'free', + 'abilityTreeCode' => '198715', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'www.example.com', + ], + ], + [ + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '600', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + 'title' => 'ConfigWebCCRuleV2', + ], + 'ModifyWebCCGlobalSwitch' => [ + 'summary' => 'Enables or disables the HTTP flood mitigation feature for a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201506', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + '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' => 'example.aliyundoc.com'."\n", + ], + ], + [ + 'name' => 'CcGlobalSwitch', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', + ], + ], + 'description' => '', + ], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '254166', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'RuleAttr', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '254169', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + 'GlobalRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'watch', + ], + 'ActionDefault' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'watch', + ], + 'Enabled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'global_1', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"GlobalRules\\": [\\n {\\n \\"Action\\": \\"watch\\",\\n \\"ActionDefault\\": \\"watch\\",\\n \\"Enabled\\": 1,\\n \\"RuleId\\": \\"global_1\\",\\n \\"Description\\": \\"HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4\\",\\n \\"RuleName\\": \\"模拟浏览器请求\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeL7GlobalRule', + ], + 'DescribeDomainCcProtectSwitch' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106122', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'www.aliyundoc.com', + ], + 'required' => true, + 'maxItems' => 5, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + 'ProtectSwitchList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BlackWhiteListEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'AiTemplate' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'level60', + ], + 'PreciseRuleEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Domain' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'www.aliyundoc.com', + ], + 'AiMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'defense', + ], + 'AiRuleEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RegionBlockEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CcTemplate' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'CcCustomRuleEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CcEnable' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CcGlobalSwitch' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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', + ], + ], + [ + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]', + 'title' => 'ConfigDomainSecurityProfile', + ], + 'ModifyPortAutoCcStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106254', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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' => ' ', + ], + 'DescribePortAutoCcStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106166', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + 'parameters' => [ + [ + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85', + ], + 'PortAutoCcStatus' => [ + 'description' => 'An array that consists of the configurations of the Intelligent Protection policy.'."\n", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDomains' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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" + ."\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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + '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' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106147', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'NetworkRules', + '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}]', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106161', + '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}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97', + ], + 'NetworkRuleAttributes' => [ + 'description' => 'An array that consists of the mitigation settings of the port forwarding rule for a non-website service. The mitigation settings include session persistence and DDoS mitigation policies.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => [ + 'description' => 'The forwarding port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8080', + ], + 'InstanceId' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'Protocol' => [ + 'description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'example' => 'tcp', + ], + 'Config' => [ + 'description' => 'The mitigation settings of the port forwarding rule.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodataConn' => [ + 'description' => 'The status of the Empty Connection switch. Valid values:'."\n" + ."\n" + .'* **on**: The switch is turned on.'."\n" + .'* **off**: The switch is turned off.'."\n", + 'type' => 'string', + 'example' => 'off', + ], + 'Synproxy' => [ + 'description' => 'The status of the False Source switch. Valid values:'."\n" + ."\n" + .'* **on**: The switch is turned on.'."\n" + .'* **off**: The switch is turned off.'."\n", + 'type' => 'string', + 'example' => 'off', + ], + 'PersistenceTimeout' => [ + 'description' => 'The timeout period of session persistence. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Sla' => [ + 'description' => 'The settings of the Speed Limit for Destination policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxconnEnable' => [ + 'description' => 'The status of the Destination Concurrent Connection Rate Limit switch. Valid values:'."\n" + ."\n" + .'* **0**: The switch is turned off.'."\n" + .'* **1**: The switch is turned on.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CpsEnable' => [ + 'description' => 'The status of the Destination New Connection Rate Limit switch. Valid values:'."\n" + ."\n" + .'* **0**: The switch is turned off.'."\n" + .'* **1**: The switch is turned on.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Cps' => [ + 'description' => 'The maximum number of new connections per second that can be established over the port of the destination instance. Valid values: **100** to **100000**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100000', + ], + 'Maxconn' => [ + 'description' => 'The maximum number of concurrent connections that can be established over the port of the destination instance. Valid values: **1000** to **1000000**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000000', + ], + ], + ], + 'Slimit' => [ + 'description' => 'The settings of the Speed Limit for Source policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxconnEnable' => [ + 'description' => 'The status of the Source Concurrent Connection Rate Limit switch. Valid values:'."\n" + ."\n" + .'* **0**: The switch is turned off.'."\n" + .'* **1**: The switch is turned on.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CpsEnable' => [ + 'description' => 'The status of the Source New Connection Rate Limit switch. Valid values:'."\n" + ."\n" + .'* **0**: The switch is turned off.'."\n" + .'* **1**: The switch is turned on.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Cps' => [ + 'description' => 'The maximum number of new connections per second that can be initiated from a source IP address. Valid values: **1** to **500000**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Pps' => [ + 'description' => 'The packets per second (pps) limit for a source IP address. Valid values: **1** to **100000**. Unit: packets/s. Default value: **0**, which indicates that the pps for a source IP address is unlimited.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Bps' => [ + 'description' => 'The bandwidth limit for a source IP address. Valid values: **1024** to **268435456**. Unit: bytes/s. Default value: **0**, which indicates that the bandwidth for a source IP address is unlimited.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Maxconn' => [ + 'description' => 'The maximum number of concurrent connections initiated from a source IP address. Valid values: **1** to **500000**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CpsMode' => [ + 'description' => 'The mode of the Source New Connection Rate Limit switch. Valid values:'."\n" + ."\n" + .'* **1**: the manual mode'."\n" + .'* **2**: the automatic mode'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'PayloadLen' => [ + 'description' => 'The settings of the Packet Length Limit policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'Min' => [ + 'description' => 'The minimum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Max' => [ + 'description' => 'The maximum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6000', + ], + ], + ], + 'Cc' => [ + 'description' => 'The protection policy applied when the number of connections initiated from a source IP address frequently exceeds the limit.'."\n", + 'type' => 'object', + 'properties' => [ + 'Sblack' => [ + 'description' => 'The protection policy that a source IP address is added to the blacklist when the number of connections initiated from the IP address frequently exceeds the limit.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the limit that causes a source IP address to be added to the blacklist. Valid values:'."\n" + ."\n" + .'* **1**: Source New Connection Rate Limit'."\n" + .'* **2**: Source Concurrent Connection Rate Limit'."\n" + .'* **3**: PPS Limit for Source'."\n" + .'* **4**: Bandwidth Limit for Source'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'During' => [ + 'description' => 'The interval at which checks are performed. Set the value to **60**. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'Expires' => [ + 'description' => 'The validity period of the IP address in the blacklist. Valid values: **60** to **604800**. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + ], + 'Cnt' => [ + 'description' => 'The threshold that the number of connections initiated from a source IP address can exceed the limit. Set the value to **5**. If the number of connections initiated from a source IP address exceeds the limit five times during the check, the source IP address is added to the blacklist.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateSceneDefensePolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106071', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the policy.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'testpolicy', + ], + ], + [ + 'name' => 'Template', + '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', + ], + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1585670400000', + ], + ], + [ + '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', + ], + ], + ], + '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' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106085', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the policy that you want to delete.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '321a-fd31-df51-****', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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' => ' ', + ], + 'ModifySceneDefensePolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106256', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + '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-****', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the policy.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'testpolicy', + ], + ], + [ + 'name' => 'Template', + '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', + ], + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1585670400000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1586016000000', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'AttachSceneDefenseObject' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106050', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + '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-****', + ], + ], + [ + 'name' => 'ObjectType', + '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', + ], + ], + [ + 'name' => 'Objects', + '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', + ], + ], + ], + '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<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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106212', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + '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-****', + ], + ], + [ + 'name' => 'ObjectType', + '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', + ], + ], + [ + 'name' => 'Objects', + 'in' => 'query', + 'schema' => [ + 'description' => 'The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + ], + '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<DetachSceneDefenseObjectResponse>\\r\\n\\t<RequestId>F65DF043-E0EB-4796-9467-23DDCDF92C1D</RequestId>\\r\\n\\t<Success>true</Success>\\r\\n</DetachSceneDefenseObjectResponse>","errorExample":""}]', + 'title' => 'DetachSceneDefenseObject', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableSceneDefensePolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106220', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the policy that you want to enable.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '321a-fd31-df51-****', + ], + ], + ], + '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<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' => ' ', + ], + 'DisableSceneDefensePolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106213', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the policy that you want to disable.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '321a-fd31-df51-****', + ], + ], + ], + '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<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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeSceneDefensePolicies' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106183', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Template', + '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', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: disabled'."\n" + .'* **1**: pending enabling'."\n" + .'* **2**: enabled'."\n" + .'* **3**: expired'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + '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****', + ], + ], + ], + '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', + ], + 'Policies' => [ + 'description' => 'An array that consists of the configurations of the scenario-specific custom policy.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Done' => [ + 'description' => 'The execution status of the policy. Valid values:'."\n" + ."\n" + .'* **1**: not executed or execution completed'."\n" + .'* **0**: being executed'."\n" + .'* **-1**: execution failed'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'EndTime' => [ + 'description' => 'The time at which the policy expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1586016000000', + ], + 'Status' => [ + 'description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: disabled'."\n" + .'* **1**: pending enabling'."\n" + .'* **2**: enabled'."\n" + .'* **3**: expired'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'StartTime' => [ + 'description' => 'The time at which the policy takes effect. The value is a UNIX timestamp. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1585670400000', + ], + 'ObjectCount' => [ + 'description' => 'The number of objects that are protected by the policy.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Template' => [ + 'description' => 'The type of the template that is used to create the policy. Valid values:'."\n" + ."\n" + .'* **promotion**: the Important Activity template'."\n" + .'* **bypass**: the Forward All template'."\n", + 'type' => 'string', + 'example' => 'promotion', + ], + 'PolicyId' => [ + 'description' => 'The ID of the policy.'."\n", + 'type' => 'string', + 'example' => '321a-fd31-df51-****', + ], + 'Name' => [ + 'description' => 'The name of the policy.'."\n", + 'type' => 'string', + 'example' => 'testpolicy', + ], + 'RuntimePolicies' => [ + 'description' => 'The running rules of the policy.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The running status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: The policy has not been issued or is restored.'."\n" + .'* **1**: The policy is pending.'."\n" + .'* **2**: The policy is being restored.'."\n" + .'* **3**: The policy takes effect.'."\n" + .'* **4**: The policy fails to take effect.'."\n" + .'* **5**:The policy fails to be restored.'."\n" + .'* **6**: The configurations of the protected objects for the policy does not exist because the configurations may be deleted.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'oldValue' => [ + 'description' => 'The protection rule that is applied before the policy takes effect.'."\n" + ."\n" + .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": true}**. The value indicates that the Frequency Control policy is enabled.'."\n" + ."\n" + .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 1}**. The value indicates that the Intelligent Protection policy is enabled.'."\n", + 'type' => 'string', + 'example' => '{"cc_rule_enable": true}', + ], + 'NewValue' => [ + 'description' => 'The protection rule that is applied when the policy takes effect.'."\n" + ."\n" + .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": false }**. The value indicates that the Frequency Control policy is disabled.'."\n" + ."\n" + .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 0}**. The value indicates that the Intelligent Protection policy is disabled.'."\n", + 'type' => 'string', + 'example' => '{"cc_rule_enable": false }', + ], + 'PolicyType' => [ + 'description' => 'The protection policy whose status is changed when the policy takes effect. Valid values:'."\n" + ."\n" + .'* **1**: indicates that the Frequency Control policy is changed.'."\n" + .'* **2**: indicates that the Intelligent Protection policy is changed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeSceneDefenseObjects' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106182', + 'abilityTreeNodes' => [ + 'FEATUREddosM9SQC1', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + '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****', + ], + ], + [ + '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****', + ], + ], + ], + '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' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8', + ], + 'Objects' => [ + 'description' => 'The information about the protected assets.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name that is protected by the policy.'."\n", + 'type' => 'string', + 'example' => 'www.aliyundoc.com', + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106088', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'Domain', + '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', + ], + ], + [ + 'name' => 'RuleNames', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of the names of the rules that you want to delete.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the rule that you want to delete.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'doc-test-rule', + ], + 'required' => true, + 'example' => 'test', + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyWebCacheSwitch' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106266', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => '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' => 'www.aliyundoc.com', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => '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', + ], + ], + ], + '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<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' => ' ', + ], + 'ModifyWebCacheCustomRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106264', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => [ + 'description' => 'The details of the custom rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **Name**: the name of the rule. This field is required and must be of the string type.'."\n" + ."\n" + .'* **Uri**: the path to the cached page. This field is required and must be of the STRING type.'."\n" + ."\n" + .'* **Mode**: the cache mode. This field is required and must be of the STRING type. Valid values:'."\n" + ."\n" + .' * **standard**: uses the standard mode.'."\n" + .' * **aggressive**: uses the enhanced mode.'."\n" + .' * **bypass**: No data is cached.'."\n" + ."\n" + .'* **CacheTtl**: the expiration time of the page cache. This field is required and must be of the INTEGER type. Unit: seconds.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]', + ], + ], + ], + '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<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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****', + ], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of domain names for which you want to query the Static Page Caching configurations.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The domain name for which you want to query the Static Page Caching configurations.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'www.aliyundoc.com', + ], + 'required' => true, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + ], + 'DomainCacheConfigs' => [ + 'description' => 'An array that consists of Static Page Caching configurations.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'www.aliyundoc.com', + ], + 'Mode' => [ + 'description' => 'The cache mode. Valid values:'."\n" + ."\n" + .'* **standard**: The standard cache mode is used.'."\n" + .'* **aggressive**: The enhanced cache mode is used.'."\n" + .'* **bypass**: No data is cached.'."\n", + 'type' => 'string', + 'example' => 'bypass', + ], + 'Enable' => [ + 'description' => 'The status of the Static Page Caching policy. Valid values:'."\n" + ."\n" + .'* **1**: enabled'."\n" + .'* **0**: disabled'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CustomRules' => [ + 'description' => 'An array that consists of custom caching rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Mode' => [ + 'description' => 'The cache mode. Valid values:'."\n" + ."\n" + .'* **standard**: The standard cache mode is used.'."\n" + .'* **aggressive**: The enhanced cache mode is used.'."\n" + .'* **bypass**: No data is cached.'."\n", + 'type' => 'string', + 'example' => 'standard', + ], + 'CacheTtl' => [ + 'description' => 'The expiration time of the page cache. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '86400', + ], + 'Name' => [ + 'description' => 'The name of the rule.'."\n", + 'type' => 'string', + 'example' => 'c1', + ], + 'Uri' => [ + 'description' => 'The path to the cached page.'."\n", + 'type' => 'string', + 'example' => '/blog/', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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" + .'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' => ' ', + ], + 'DescribeDDosEventMax' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106113', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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' => '1598889600', + ], + ], + [ + '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' => '1604073600', + ], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDDosEventArea' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '106110', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827', + ], + 'Areas' => [ + 'description' => 'The information about the source region from which the volumetric attack was initiated.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InPkts' => [ + 'description' => 'The number of request packets that were sent from the source region.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '228', + ], + 'Area' => [ + 'description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n", + 'type' => 'string', + 'example' => '110000', + ], + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDDosEventAttackType' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106111', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106112', + 'abilityTreeNodes' => [ + 'FEATUREddosY2OCST', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'default' => '50', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDDosEventSrcIp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106115', + 'abilityTreeNodes' => [ + 'FEATUREddosY2OCST', + ], + ], + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeBackSourceCidr' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106098', + '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' => '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDDosAllEventList' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106109', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the DDoS attack events you want to query. Valid values:'."\n" + ."\n" + .'* **web-cc**: resource exhaustion attacks'."\n" + .'* **cc**: connection flood attacks'."\n" + .'* **defense**: DDoS attacks that trigger traffic scrubbing'."\n" + .'* **blackhole**: DDoS attacks that trigger blackhole filtering'."\n" + ."\n" + .'If you want to query multiple types of DDoS attack events, separate them with commas (,).'."\n" + ."\n" + .'If you do not configure this parameter, DDoS attack events of all types are queried.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'defense', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The DDoS attack events occur after **StartTime** are queried. This value is a UNIX timestamp. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1609430400', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'PageNumber', + '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', + ], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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" + ."\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' => ' ', + ], + 'DescribeDDoSEvents' => [ + 'summary' => 'Queries the attack events launched against one or more Anti-DDoS Proxy instances.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106114', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1583683200', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeSlaEventList' => [ + 'summary' => 'Queries the destination rate limit events.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '175662', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the service Valid values:'."\n" + ."\n" + .'* **cn**: Anti-DDoS Pro'."\n" + .'* **cn-hongkong**: Anti-DDoS Premium'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn', + ], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '203.107.XX.XX', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '3289457398', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '3289457398', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + 'default' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + 'Total' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlaEvent\\": [\\n {\\n \\"StartTime\\": 1678080840,\\n \\"EndTime\\": 1671886740,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Region\\": \\"cn\\"\\n }\\n ],\\n \\"Total\\": 10\\n}","type":"json"}]', + 'title' => 'DescribeSlaEventList', + ], + 'DescribeDomainAttackEvents' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + ], + [ + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDefenseCountStatistics' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106118', + '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.'."\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****', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106093', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Qps' => [ + 'description' => 'The peak queries per second (QPS) of DDoS attacks. Units: QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '41652', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', + ], + ], + ], + ], + ], + '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.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDestinationPortEvent' => [ + 'summary' => 'Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '187278', + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1720059000', + ], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the attacker.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '203.107.XX.XX'."\n", + ], + ], + [ + '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.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', + ], + 'PortList' => [ + 'description' => 'The ports.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the port.'."\n", + 'type' => 'object', + 'properties' => [ + 'DstPort' => [ + 'description' => 'The destination port.'."\n", + 'type' => 'string', + 'example' => '80', + ], + 'InPkts' => [ + 'description' => 'The number of request packets received by the destination port.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8760950', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"PortList\\": [\\n {\\n \\"DstPort\\": \\"80\\",\\n \\"InPkts\\": 8760950\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDestinationPortEvent', + ], + 'DescribePortFlowList' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106175', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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' => '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', + ], + ], + [ + 'name' => 'StartTime', + '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', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => 'The interval for returning data. Unit: seconds. The interval that you can specify varies based on the time range to query. The time range to query is determined by the values of **StartTime** and **EndTime**.'."\n" + ."\n" + .'* If the time range to query is no greater than 1 hour, we recommend that you specify the interval from 60 seconds to the time range to query.'."\n" + .'* If the time range to query is greater than 1 hour but no greater than 6 hours, we recommend that you specify the interval from 600 seconds to the time range to query.'."\n" + .'* If the time range to query is greater than 6 hours but no greater than 24 hours, we recommend that you specify the interval from 1,800 seconds to the time range to query.'."\n" + .'* If the time range to query is greater than 24 hours but no greater than 7 days, we recommend that you specify the interval from 3,600 seconds to the time range to query.'."\n" + .'* If the time range to query is greater than 7 days but no greater than 15 days, we recommend that you specify the interval from 14,400 seconds to the time range to query.'."\n" + .'* If the time range to query is greater than 15 days, we recommend that you specify the interval from 43,200 seconds to the time range to query.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1000', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IDs of 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-zz120cjv****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"PortFlowList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"InPps\\": 2934,\\n \\"InBps\\": 2176000,\\n \\"Region\\": \\"cn\\",\\n \\"OutPps\\": 5,\\n \\"AttackPps\\": 0,\\n \\"OutBps\\": 4389,\\n \\"AttackBps\\": 0,\\n \\"SlaBpsDropBps\\": 0,\\n \\"SlaPpsDropBps\\": 0,\\n \\"SlaCpsDropBps\\": 0,\\n \\"SlaConnDropBps\\": 0,\\n \\"SlaBpsDropPps\\": 0,\\n \\"SlaPpsDropPps\\": 0,\\n \\"SlaCpsDropPps\\": 0,\\n \\"SlaConnDropPps\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePortFlowList', + 'summary' => 'Queries the traffic data of one or more Anti-DDoS Proxy instances.', + ], + 'DescribePortConnsList' => [ + 'summary' => 'Queries the connections established over the ports of one or more Anti-DDoS Proxy instances.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106174', + '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' => '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', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', + ], + 'ConnsList' => [ + 'description' => 'Details about the connections established over the port.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActConns' => [ + 'description' => 'The number of active connections.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'InActConns' => [ + 'description' => 'The number of inactive connections.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Index' => [ + 'description' => 'The index number of the returned data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '16506', + ], + 'Cps' => [ + 'description' => 'The number of new connections.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Conns' => [ + 'description' => '> This parameter is in internal preview. Do not use this parameter.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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", + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106173', + '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' => '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' => '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', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribePortMaxConns' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1583683200', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'InstanceIds', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C', + ], + 'PortMaxConns' => [ + 'description' => 'The details of the maximum number of connections that can be established over a port of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'description' => 'The IP address of the instance.'."\n", + 'type' => 'string', + 'example' => '203.***.***.117', + ], + 'Port' => [ + 'description' => 'The port of the instance.'."\n", + 'type' => 'string', + 'example' => '80', + ], + 'Cps' => [ + 'description' => 'The maximum number of connections per second (CPS).'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106165', + '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****', + ], + ], + [ + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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" + ."\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' => ' ', + ], + 'DescribePortViewSourceCountries' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106178', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'SourceCountrys' => [ + 'description' => 'The details about the country or area from which the requests are sent.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'description' => 'The number of requests.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3390671', + ], + 'CountryId' => [ + 'description' => 'The abbreviation of the country or area. For example, **cn** indicates China and **us** indicates the United States.'."\n" + ."\n" + .'> For more information, see [Location parameters](~~167926~~).'."\n", + 'type' => 'string', + 'example' => 'cn', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106179', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'Isps' => [ + 'description' => 'An array that consists of the details of the ISP.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'description' => 'The total number of requests that are sent from the ISP.'."\n" + ."\n" + .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different ISPs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3390671', + ], + 'IspId' => [ + 'description' => 'The ID of the ISP. For more information, see the ISP codes table.'."\n", + 'type' => 'string', + 'example' => '100017', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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 & Technology|'."\n" + .'|1000401|Tencent|'."\n" + .'|100099|Baidu|'."\n" + .'|1000323|Alibaba Cloud|'."\n" + .'|100098|Alibaba Group|'."\n" + .'|1000120|KNET|', + 'extraInfo' => ' ', + ], + 'DescribePortViewSourceProvinces' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106180', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + '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', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'SourceProvinces' => [ + 'description' => 'The details of the administrative region in China from which the requests are sent.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => [ + 'description' => 'The ID of the administrative region in China from which the requests are sent. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n" + ."\n" + .'> For more information, see [Location parameters](~~167926~~).'."\n", + 'type' => 'string', + 'example' => '440000', + ], + 'Count' => [ + 'description' => 'The total number of requests that are sent from the ISP.'."\n" + ."\n" + .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different administrative regions in China.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3390671', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106127', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1583683200', + ], + ], + [ + 'name' => 'Interval', + '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" + ."\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' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51', + ], + 'DomainQPSList' => [ + 'description' => 'An array that consists of the statistics on the QPS of the website.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => 'The index number of the returned data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Time' => [ + 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1582992000', + ], + 'MaxAttackQps' => [ + 'description' => 'The peak attack QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '37', + ], + 'AttackQps' => [ + 'description' => 'The attack QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'MaxQps' => [ + 'description' => 'The peak of total QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '130', + ], + 'MaxNormalQps' => [ + 'description' => 'The peak of normal QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '93', + ], + 'TotalQps' => [ + 'description' => 'The total QPS.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalCount' => [ + 'description' => 'The total number of requests.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20008', + ], + 'CacheHits' => [ + 'description' => 'The number of cache hits.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainStatusCodeList' => [ + 'summary' => 'Queries the statistics on HTTP status codes of a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106134', + 'abilityTreeNodes' => [ + 'FEATUREddos38XZ5J', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start time of the event. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1583683200', + ], + ], + [ + 'name' => '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 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', + ], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The source of the statistics. Valid values:'."\n" + ."\n" + .'* **gf**: Anti-DDoS Pro or Anti-DDoS Premium'."\n" + .'* **upstrem**: origin server'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'gf', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C', + ], + 'StatusCodeList' => [ + 'description' => 'The statistics on response status codes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => 'The index number of the returned data.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Status502' => [ + 'description' => 'The number of 502 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Time' => [ + 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1582992000', + ], + 'Status405' => [ + 'description' => 'The number of 405 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status3XX' => [ + 'description' => 'The number of 3xx status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status503' => [ + 'description' => 'The number of 503 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status4XX' => [ + 'description' => 'The number of 4xx status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4486', + ], + 'Status2XX' => [ + 'description' => 'The number of 2xx status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15520', + ], + 'Status5XX' => [ + 'description' => 'The number of 5xx status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status504' => [ + 'description' => 'The number of 504 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status200' => [ + 'description' => 'The number of 200 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15520', + ], + 'Status403' => [ + 'description' => 'The number of 403 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status404' => [ + 'description' => 'The number of 404 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Status410' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Status499' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Status501' => [ + 'description' => 'The number of 501 status codes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + ], + 'DescribeDomainOverview' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106125', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + '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', + ], + ], + [ + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDomainStatusCodeCount' => [ + 'summary' => 'Queries the statistics on HTTP status codes of a website within a specified period of time.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106133', + 'abilityTreeNodes' => [ + 'FEATUREddos38XZ5J', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainTopAttackList' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1583683200', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'default' => '3600', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainViewSourceCountries' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDomainViewSourceProvinces' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDomainViewTopCostTime' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDomainViewTopUrl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106139', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + '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' => 'Top', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '5', + ], + ], + [ + 'name' => 'Inerval', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'default' => '3600', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + 'UrlList' => [ + 'description' => 'An array consisting of the URLs that receive the most requests.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => 'The URL that is Base64-encoded.'."\n", + 'type' => 'string', + 'example' => 'Lw==', + ], + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'www.aliyun.com', + ], + 'Count' => [ + 'description' => 'The total number of requests.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3390671', + ], + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableWebAccessLogConfig' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106221', + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + ], + ], + ], + ], + '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<EnableWebAccessLogConfigResponse>\\r\\n\\t<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\r\\n</EnableWebAccessLogConfigResponse>","errorExample":""}]', + 'title' => 'EnableWebAccessLogConfig', + 'summary' => 'Enables the log analysis feature for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyFullLogTtl' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + ], + '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<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' => ' ', + ], + 'DisableWebAccessLogConfig' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeWebAccessLogDispatchStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106197', + '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****', + ], + ], + [ + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + 'SlsConfigStatus' => [ + 'description' => 'Indicates whether the log analysis feature is enabled for domain names.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name.'."\n", + 'type' => 'string', + 'example' => 'www.aliyundoc.com', + ], + 'Enable' => [ + 'description' => 'Indicates whether the log analysis feature is enabled. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeWebAccessLogStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106199', + 'abilityTreeNodes' => [ + 'FEATUREddosOZ1QOD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.aliyun.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'SlsLogstore' => [ + 'description' => 'The Logstore of the instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-logstore', + ], + 'SlsStatus' => [ + 'description' => 'Indicates whether the Log Analysis feature is enabled for the website. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'SlsProject' => [ + 'description' => 'The Log Service project of the instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeLogStoreExistStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeOpEntities' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106163', + 'abilityTreeNodes' => [ + 'FEATUREddosHFA00W', + ], + ], + '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' => 'EntityType', + 'in' => 'query', + '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', + ], + ], + [ + 'name' => 'EntityObject', + 'in' => 'query', + 'schema' => [ + 'description' => 'The operation object that you want to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '203.***.***.132', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time must be in the latest 30 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time must be in the latest 30 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1583683200000', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + ], + '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"}}', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"FB24D70C-71F5-4000-8CD8-22CDA0C53CD1\\",\\n \\"OpEntities\\": [\\n {\\n \\"EntityType\\": 1,\\n \\"EntityObject\\": \\"203.***.***.132\\",\\n \\"GmtCreate\\": 1584451769000,\\n \\"OpAction\\": 9,\\n \\"OpAccount\\": \\"128965410602****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"actionMethod\\\\\\":\\\\\\"undo\\\\\\"}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?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' => ' ', + ], + 'DescribeSlsAuthStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106185', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeSlsLogstoreInfo' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106186', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Ttl' => [ + 'description' => 'The log storage duration. Unit: days.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '180', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + 'Quota' => [ + 'description' => 'The available log storage capacity. Unit: bytes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3298534883328', + ], + 'LogStore' => [ + 'description' => 'The Logstore of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-logstore', + ], + 'Used' => [ + 'description' => 'The used log storage capacity. Unit: bytes.'."\n" + ."\n" + .'> The statistics on Log Service are delayed for about two hours.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Project' => [ + 'description' => 'The Logstore project of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106187', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeWebAccessLogEmptyCount' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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' => ' ', + ], + 'DescribeDefenseRecords' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106120', + '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' => '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' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n" + ."\n" + .'> The time must be in the latest 90 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1582992000000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n" + ."\n" + .'> The time must be in the latest 90 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1583683200000', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of advanced mitigation sessions.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + ], + 'DefenseRecords' => [ + 'description' => 'An array that consists of details of the log of an advanced mitigation session.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => 'The end time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1583683200000', + ], + 'Status' => [ + 'description' => 'The status of the advanced mitigation session. Valid values:'."\n" + ."\n" + .'* **0**: The advanced mitigation session is being used.'."\n" + .'* **1**: The advanced mitigation session is used.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'StartTime' => [ + 'description' => 'The start time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1582992000000', + ], + 'EventCount' => [ + 'description' => 'The number of attacks.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'InstanceId' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'AttackPeak' => [ + 'description' => 'The peak attack traffic. Unit: bit/s.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6584186000', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + ], + ], + ], + ], + ], + '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' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeStsGrantStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106188', + 'abilityTreeNodes' => [ + 'FEATUREddosRTUJBH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'Role', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the RAM role to query. Set the value to **AliyunDDoSCOODefaultRole**, which indicates the default role of Anti-DDoS Pro or Anti-DDoS Premium.'."\n" + ."\n" + .'> Anti-DDoS Pro or Anti-DDoS Premium uses the default role to access other cloud services.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'AliyunDDoSCOODefaultRole', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeAsyncTasks' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106092', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'PageNumber', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106190', + 'abilityTreeNodes' => [ + 'FEATUREddosIJFWZ1', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'EntityType', + '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', + ], + ], + [ + 'name' => 'EntityObject', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceDetails](~~91490~~) operation to query the IP addresses of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '203.107.XX.XX', + ], + ], + [ + 'name' => 'StartTime', + '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', + ], + ], + [ + 'name' => 'EndTime', + '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', + ], + ], + [ + 'name' => 'PageNumber', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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}}', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '172965', + 'abilityTreeNodes' => [ + 'FEATUREddosIJFWZ1', + ], + ], + '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', + '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', + ], + ], + [ + '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' => '1684339200', + ], + ], + [ + 'name' => 'Interval', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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 }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeElasticQps', + ], + 'DescribeElasticQpsRecord' => [ + 'summary' => 'Queries the burstable QPS details of an Anti-DDoS Proxy instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173053', + 'abilityTreeNodes' => [ + 'FEATUREddosIJFWZ1', + ], + ], + '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', + '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', + ], + ], + [ + 'name' => 'Ip', + '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", + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106073', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the Anti-DDoS Proxy 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 specify this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'INSTANCE', + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the Anti-DDoS Proxy instances to which you want to add tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the Anti-DDoS Proxy instance to which you want to add tags.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the tags to add.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the tag to add.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'testkey', + ], + 'Value' => [ + 'description' => 'The value of the tag to add.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'testvalue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteTagResources' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106087', + 'abilityTreeNodes' => [ + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'INSTANCE', + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to remove all tags from the specified resource. Valid values:'."\n" + ."\n" + .'* **true**: yes.'."\n" + .'* **false** no. This is the default value.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceIds', + '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, + ], + ], + [ + 'name' => 'TagKey', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + ], + ], + ], + ], + ], + '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", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeTagKeys' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106191', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'INSTANCE', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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' => ' ', + ], + 'DescribeTagResources' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106192', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + 'FEATUREddosMHU3MF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfm2pz25js****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'INSTANCE', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query token. Set the value to the value of **NextToken** that is returned in the last call.'."\n" + ."\n" + .'> You do not need to configure this parameter if you call this operation for the first time.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the Anti-DDoS Proxy (Chinese Mainland) instances that you want to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance that you want to query.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" + ."\n" + .'* You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-zz121ogz****', + ], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of tags that you want to query. Each tag consists of a tag **key** and a tag **value**.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the tag that you want to query.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" + ."\n" + .'* You can call the [DescribeTagKeys](~~159785~~) operation to query all tag keys.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'testkey', + ], + 'Value' => [ + 'description' => 'The value of the tag that you want to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'testvalue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The query token that is returned in this call.'."\n", + 'type' => 'string', + 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3', + ], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => 'The tags that are added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagValue' => [ + 'description' => 'The value of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'example' => 'testkey', + ], + 'ResourceType' => [ + 'description' => 'The resource type. The value is fixed as **INSTANCE**, which indicates an Anti-DDoS Proxy instance.'."\n", + 'type' => 'string', + 'example' => 'INSTANCE', + ], + 'ResourceId' => [ + 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-zz121ogz****', + ], + 'TagKey' => [ + 'description' => 'The key of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'string', + 'example' => 'testvalue', + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****\\",\\n \\"RequestId\\": \\"36E698F7-48A4-48D0-9554-0BB4BAAB99B3\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testkey\\",\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"ResourceId\\": \\"ddoscoo-cn-zz121ogz****\\",\\n \\"TagKey\\": \\"testvalue\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<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' => ' ', + ], + 'CreatePort' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106070', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '55', + ], + ], + [ + 'name' => 'FrontendProtocol', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tcp', + 'enum' => [ + 'tcp', + 'udp', + ], + ], + ], + [ + '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****', + ], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '55', + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address of the origin server.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.XX.XX.1', + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '106084', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '55', + ], + ], + [ + 'name' => 'FrontendProtocol', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tcp', + 'enum' => [ + 'tcp', + 'udp', + ], + ], + ], + [ + '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****', + ], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '55', + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address of the origin server.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.XX.XX.1', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106253', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '55', + ], + ], + [ + 'name' => 'FrontendProtocol', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tcp', + 'enum' => [ + 'tcp', + 'udp', + ], + ], + ], + [ + '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****', + ], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '55', + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address of the origin server.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.XX.XX.1', + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + 'title' => 'ModifyPort', + 'description' => 'You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", + ], + 'DescribePort' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106164', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding port to query. Valid values: **0** to **65535**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '55', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. For example, if you want to obtain results on the first page, set the value to **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The number of port forwarding rules returned.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + 'NetworkRules' => [ + 'description' => 'An array that consists of port forwarding rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => [ + 'description' => 'The forwarding port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '55', + ], + 'IsAutoCreate' => [ + 'description' => 'Indicates whether the port forwarding rule is automatically created by the instance. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'InstanceId' => [ + 'description' => 'The ID of the instance to which the port forwarding rule is applied.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-7e225i41****', + ], + 'FrontendProtocol' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", + 'type' => 'string', + 'example' => 'tcp', + ], + 'BackendPort' => [ + 'description' => 'The port of the origin server.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '55', + ], + 'RealServers' => [ + 'description' => 'An array that consists of IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address of the origin server.'."\n", + 'type' => 'string', + 'example' => '1.XX.XX.1', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 55,\\n \\"IsAutoCreate\\": false,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\",\\n \\"FrontendProtocol\\": \\"tcp\\",\\n \\"BackendPort\\": 55,\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePort', + 'summary' => 'Queries the port forwarding rules that are created for an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", + ], + 'CreateDomainResource' => [ + 'summary' => 'Creates a forwarding rule for a website.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106066', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website that you want to add to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.example.com', + ], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'* **0**: IP address.'."\n" + ."\n" + .'* **1**: domain name.'."\n" + ."\n" + .' This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + '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}', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the origin server.'."\n" + ."\n" + .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.XX.XX.1', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ProxyTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The details about the protocol type and port number.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => 'The port numbers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port number.'."\n" + ."\n" + .'> You must specify a port within the port range supported by the Anti-DDoS Proxy instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '80', + ], + 'required' => true, + 'maxItems' => 10, + ], + 'ProxyType' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'* **http**'."\n" + .'* **https**'."\n" + .'* **websocket**'."\n" + .'* **websockets**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'http', + 'enum' => [ + 'http', + 'https', + 'websocket', + 'websockets', + ], + ], + ], + 'required' => false, + 'description' => '', + ], + 'required' => true, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + 'title' => 'CreateDomainResource', + ], + 'DeleteDomainResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '106081', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name for which the forwarding rule is configured.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '106130', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + 'autoTest' => true, + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name of the website that you want to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'www.example.com', + ], + ], + [ + 'name' => 'QueryDomainPattern', + 'in' => 'query', + 'schema' => [ + 'description' => 'The match mode. Valid values:'."\n" + ."\n" + .'* **fuzzy**: fuzzy match. This is the default value.'."\n" + .'* **exact**: exact match.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'fuzzy', + 'enum' => [ + 'fuzzy', + 'exact', + ], + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Default value: **1**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the IDs of instances to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of forwarding rules.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + 'WebRules' => [ + 'description' => 'The configurations of the forwarding rule.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'description' => 'The domain name of the website.'."\n", + 'type' => 'string', + 'example' => 'www.example.com', + ], + 'Http2HttpsEnable' => [ + 'description' => 'Indicates whether Enable HTTPS Redirection is turned on. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'SslProtocols' => [ + 'description' => 'The version of the TLS protocol. Valid values:'."\n" + ."\n" + .'* **tls1.0**: TLS 1.0 or later'."\n" + .'* **tls1.1**: TLS 1.1 or later'."\n" + .'* **tls1.2**: TLS 1.2 or later'."\n", + 'type' => 'string', + 'example' => 'tls1.0', + ], + 'PunishReason' => [ + 'description' => 'The reason why the domain name is invalid. Valid values:'."\n" + ."\n" + .'* **1**: No Content Provider (ICP) filing is completed for the domain name.'."\n" + .'* **2**: The business for which you registered the domain name does not meet regulatory requirements.'."\n" + ."\n" + .'If the two reasons are both involved, the value **2** is returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CcTemplate' => [ + 'description' => 'The mode of Frequency Control. Valid values:'."\n" + ."\n" + .'* **default**: the Normal mode'."\n" + .'* **gf_under_attack**: the Emergency mode'."\n" + .'* **gf_sos_verify**: the Strict mode'."\n" + .'* **gf_sos_verify**: the Super Strict mode'."\n", + 'type' => 'string', + 'example' => 'default', + ], + 'HttpsExt' => [ + 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'* **Http2https**: indicates whether Enable HTTPS Redirection is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTPS Redirection is turned on. The value 1 indicates that Enable HTTPS Redirection is turned off.'."\n" + .'* **Https2http**: indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that the feature is turned on. The value 1 indicates that the feature is turned off.'."\n" + .'* **Http2**: indicates whether Enable HTTP/2 is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on.'."\n", + 'type' => 'string', + 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}', + ], + 'CcEnabled' => [ + 'description' => 'Indicates whether Frequency Control is enabled. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'SslCiphers' => [ + 'description' => 'The type of the cipher suite. Valid values:'."\n" + ."\n" + .'* **default**: custom cipher suite'."\n" + .'* **all**: all cipher suites'."\n" + .'* **strong**: strong cipher suites'."\n", + 'type' => 'string', + 'example' => 'default', + ], + 'CcRuleEnabled' => [ + 'description' => 'Indicates whether the Custom Rules switch of Frequency Control is turned on. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Ssl13Enabled' => [ + 'description' => 'Indicates whether TLS 1.3 is supported. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'RsType' => [ + 'description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'* **0**: IP address'."\n" + .'* **1**: domain name'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'PunishStatus' => [ + 'description' => 'Indicates whether the domain name is invalid. Valid values:'."\n" + ."\n" + .'* **true**: The domain name is invalid. You can view the specific reasons from the **PunishReason** parameter.'."\n" + .'* **false**: The domain name is valid.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ProxyEnabled' => [ + 'description' => 'Indicates whether the instance forwards the traffic that is destined for the website. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'CertName' => [ + 'description' => 'The name of the SSL certificate used by the domain name.'."\n", + 'type' => 'string', + 'example' => '49944XX.pem', + ], + 'PolicyMode' => [ + 'description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n" + ."\n" + .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n" + .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n" + .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n", + 'type' => 'string', + 'example' => 'ip_hash', + ], + 'Cname' => [ + 'description' => 'The CNAME provided by the instance to which the domain name is added.'."\n", + 'type' => 'string', + 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com', + ], + 'OcspEnabled' => [ + 'description' => 'Indicates whether the Online Certificate Status Protocol (OCSP) feature is turned on. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'Http2Enable' => [ + 'description' => 'Indicates whether Enable HTTP/2 is turned on. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'Https2HttpEnable' => [ + 'description' => 'Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ProxyTypes' => [ + 'description' => 'The details about the protocol type and port number.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyType' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'* **http**'."\n" + .'* **https**'."\n" + .'* **websocket**'."\n" + .'* **websockets**'."\n", + 'type' => 'string', + 'example' => 'http', + ], + 'ProxyPorts' => [ + 'description' => 'The port numbers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port number.'."\n", + 'type' => 'string', + 'example' => '80', + ], + ], + ], + ], + ], + 'InstanceIds' => [ + 'description' => 'The IDs of the instances to which the domain name is added.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the instance to which the domain name is added.'."\n", + 'type' => 'string', + 'example' => 'ddoscoo-cn-st21zbyq****', + ], + ], + 'CustomCiphers' => [ + 'description' => 'The custom cipher suites.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The custom cipher suite.'."\n", + 'type' => 'string', + 'example' => 'ECDHE-RSA-AES256-SHA384', + ], + ], + 'WhiteList' => [ + 'description' => 'The IP addresses that are included in the whitelist of the domain name.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address that is included in the whitelist of the domain name.'."\n" + ."\n" + .'> This parameter is returned only when the IP address whitelist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", + 'type' => 'string', + 'example' => '3.XX.XX.3', + ], + ], + 'BlackList' => [ + 'description' => 'The IP addresses that are included in the blacklist of the domain name.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address that is included in the blacklist of the domain name.'."\n" + ."\n" + .'> This parameter is returned only when the **IP address blacklist is configured for the domain name**. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", + 'type' => 'string', + 'example' => '2.XX.XX.2', + ], + ], + 'RealServers' => [ + 'description' => 'The addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the origin server.'."\n", + 'type' => 'string', + 'example' => '1.XX.XX.1', + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Http2HttpsEnable\\": false,\\n \\"SslProtocols\\": \\"tls1.0\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"HttpsExt\\": \\"{\\\\\\"Https2http\\\\\\":0,\\\\\\"Http2\\\\\\":0,\\\\\\"Http2https\\\\\\":0}\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Ssl13Enabled\\": false,\\n \\"RsType\\": 0,\\n \\"PunishStatus\\": false,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"49944XX.pem\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"0ekb69x3j9wvXXXX.aliyunddosXXXX.com\\",\\n \\"OcspEnabled\\": false,\\n \\"Http2Enable\\": false,\\n \\"Https2HttpEnable\\": false,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"80\\"\\n ]\\n }\\n ],\\n \\"InstanceIds\\": [\\n \\"ddoscoo-cn-st21zbyq****\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-RSA-AES256-SHA384\\"\\n ],\\n \\"WhiteList\\": [\\n \\"3.XX.XX.3\\"\\n ],\\n \\"BlackList\\": [\\n \\"2.XX.XX.2\\"\\n ],\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106238', + 'abilityTreeNodes' => [ + 'FEATUREddos64TBV6', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name that is added to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'www.example.com', + ], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'* **0**: IP address'."\n" + ."\n" + .'* **1**: domain name'."\n" + ."\n" + .' If you deploy proxies, such as a Web Application Firewall (WAF) instance, between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance, set the value to 1. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + '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}', + ], + ], + [ + 'name' => 'ProxyTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The details about the protocol type and port number.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => 'The port numbers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port number.'."\n" + ."\n" + .'> You must specify a port within the port range supported by the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '443', + ], + 'required' => true, + 'maxItems' => 10, + ], + 'ProxyType' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'* **http**'."\n" + .'* **https**'."\n" + .'* **websocket**'."\n" + .'* **websockets**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'https', + 'enum' => [ + 'http', + 'https', + 'websocket', + 'websockets', + ], + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array that consists of the addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the origin server.'."\n" + ."\n" + .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.XX.XX.1', + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + 'title' => 'ModifyDomainResource', + ], + 'ConfigLayer4Remark' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106053', + 'abilityTreeNodes' => [ + 'FEATUREddosN7DYCX', + ], + ], + 'parameters' => [ + [ + 'name' => 'Listeners', + 'in' => 'query', + 'schema' => [ + 'description' => 'The port forwarding rule that you want to manage.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" + .'* **Remark**: the remarks of the port forwarding rule. This field is required and must be of the STRING type. The value can contain letters, digits, and some special characters, such as `, . + - * / _`. The value can be up to 200 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', + ], + ], + ], + ], + ], + '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" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ConfigLayer4RuleBakMode' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106054', + 'abilityTreeNodes' => [ + 'FEATUREddosCRC1QI', + ], + ], + 'parameters' => [ + [ + 'name' => 'BakMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The mode that you want to use to forward service traffic. Valid values:'."\n" + ."\n" + .'* **0**: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n" + .'* **1**: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'Listeners', + 'in' => 'query', + 'schema' => [ + 'description' => 'The port forwarding rule that you want to manage.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', + ], + ], + ], + ], + ], + '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.', + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106055', + 'abilityTreeNodes' => [ + 'FEATUREddosCRC1QI', + ], + ], + '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}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106158', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + ], + '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\\"}]', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'chargeType' => 'paid', + 'abilityTreeCode' => '262914', + 'abilityTreeNodes' => [ + 'FEATUREddosI8LHMA', + ], + '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", + ], + ], + [ + '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', + ], + ], + ], + [ + 'name' => 'NormalBandwidth', + 'in' => 'query', + 'schema' => [ + 'description' => 'Business bandwidth (outside Mainland China). Unit: Mbps.', + 'type' => 'string', + 'required' => false, + 'example' => '200', + ], + ], + [ + 'name' => 'ServiceBandwidth', + 'in' => 'query', + 'schema' => [ + 'description' => 'Business bandwidth (Mainland China). Unit: Mbps.', + 'type' => 'string', + 'required' => false, + 'example' => '300', + ], + ], + [ + 'name' => 'BaseBandwidth', + 'in' => 'query', + 'schema' => [ + 'description' => 'Guaranteed protection bandwidth (Mainland China). Unit: Gbps.', + 'type' => 'string', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'PortCount', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of protected ports.', + 'type' => 'string', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'Bandwidth', + 'in' => 'query', + 'schema' => [ + 'description' => 'Elastic protection bandwidth (Mainland China). Unit: Gbps.', + 'type' => 'string', + 'required' => false, + 'example' => '30', + ], + ], + [ + 'name' => 'DomainCount', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of protected domains.', + 'type' => 'string', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NormalQps', + 'in' => 'query', + 'schema' => [ + 'description' => 'Business QPS. Unit: Mbps.', + 'type' => 'string', + 'required' => false, + 'example' => '100', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'AddressType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Address type. Values:'."\n" + .'- **Ipv4**: IPv4.'."\n" + .'- **Ipv6**: IPv6.', + 'type' => 'string', + 'required' => false, + 'example' => 'Ipv4', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + ], +]; |
