summaryrefslogtreecommitdiff
path: root/data/zh_cn/ddoscoo/2017-12-28/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/ddoscoo/2017-12-28/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/ddoscoo/2017-12-28/api-docs.php')
-rw-r--r--data/zh_cn/ddoscoo/2017-12-28/api-docs.php5523
1 files changed, 1340 insertions, 4183 deletions
diff --git a/data/zh_cn/ddoscoo/2017-12-28/api-docs.php b/data/zh_cn/ddoscoo/2017-12-28/api-docs.php
index cc339ff..cf65681 100644
--- a/data/zh_cn/ddoscoo/2017-12-28/api-docs.php
+++ b/data/zh_cn/ddoscoo/2017-12-28/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'ddoscoo',
- 'version' => '2017-12-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2017-12-28'],
'directories' => [
[
'id' => 60475,
@@ -15,45 +11,25 @@
'id' => 60476,
'title' => '实例',
'type' => 'directory',
- 'children' => [
- 'ModifyElasticBandWidth',
- 'DescribeInstances',
- 'DescribeInstanceSpecs',
- 'DescribeInstanceStatistics',
- 'DescribeElasticBandwidthSpec',
- 'DescribeDefenseCountStatistics',
- ],
+ 'children' => ['ModifyElasticBandWidth', 'DescribeInstances', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeElasticBandwidthSpec', 'DescribeDefenseCountStatistics'],
],
[
'id' => 60483,
'title' => '监控报表',
'type' => 'directory',
- 'children' => [
- 'DescribeDDoSEvents',
- 'DescribeDomainQpsWithCache',
- ],
+ 'children' => ['DescribeDDoSEvents', 'DescribeDomainQpsWithCache'],
],
[
'id' => 60487,
'title' => '全量日志分析',
'type' => 'directory',
- 'children' => [
- 'ModifyFullLogTtl',
- 'DescribeSlsOpenStatus',
- 'DescribeSlsAuthStatus',
- 'DescribeLogStoreExistStatus',
- 'DescribeSlsLogstoreInfo',
- 'EmptySlsLogstore',
- ],
+ 'children' => ['ModifyFullLogTtl', 'DescribeSlsOpenStatus', 'DescribeSlsAuthStatus', 'DescribeLogStoreExistStatus', 'DescribeSlsLogstoreInfo', 'EmptySlsLogstore'],
],
[
'id' => 60494,
'title' => '系统配置与日志',
'type' => 'directory',
- 'children' => [
- 'DeleteAsyncTask',
- 'DescribeBackSourceCidr',
- ],
+ 'children' => ['DeleteAsyncTask', 'DescribeBackSourceCidr'],
],
],
],
@@ -62,54 +38,9 @@
'title' => '其它',
'type' => 'directory',
'children' => [
- 'AddLayer7CCRule',
- 'CloseDomainSlsConfig',
- 'ConfigHealthCheck',
- 'ConfigLayer4Rule',
- 'ConfigLayer4RuleAttribute',
- 'ConfigLayer7BlackWhiteList',
- 'ConfigLayer7CCRule',
- 'ConfigLayer7CCTemplate',
- 'ConfigLayer7Cert',
- 'ConfigLayer7Rule',
- 'CreateAsyncTask',
- 'CreateLayer4Rule',
- 'CreateLayer7Rule',
- 'DeleteLayer4Rule',
- 'DeleteLayer7CCRule',
- 'DeleteLayer7Rule',
- 'DescribeBatchSlsDispatchStatus',
- 'DescribeDDoSTraffic',
- 'DescribeDomainAccessMode',
- 'DescribeDomainSlsStatus',
- 'DescribeDomains',
- 'DescribeHealthCheckList',
- 'DescribeHealthCheckStatusList',
- 'DescribeInstanceDetails',
- 'DescribeIpTraffic',
- 'DescribeLayer4RuleAttributes',
- 'DescribeLayer4Rules',
- 'DescribeLayer7CCRules',
- 'DescribeOpEntities',
- 'DescribeSimpleDomains',
- 'DescribeSlsEmptyCount',
- 'DescribleCertList',
- 'DescribleLayer7InstanceRelations',
- 'DisableLayer7CC',
- 'DisableLayer7CCRule',
- 'EnableLayer7CC',
- 'EnableLayer7CCRule',
- 'ListLayer7CustomPorts',
- 'ListAsyncTask',
- 'ListTagKeys',
- 'ListTagResources',
- 'ListValueAdded',
- 'ModifyInstanceRemark',
- 'OpenDomainSlsConfig',
- 'ReleaseInstance',
- 'ReleaseValueAdded',
- 'TagResources',
- 'UntagResources',
+ 'AddLayer7CCRule', 'CloseDomainSlsConfig', 'ConfigHealthCheck', 'ConfigLayer4Rule', 'ConfigLayer4RuleAttribute', 'ConfigLayer7BlackWhiteList', 'ConfigLayer7CCRule', 'ConfigLayer7CCTemplate', 'ConfigLayer7Cert', 'ConfigLayer7Rule', 'CreateAsyncTask', 'CreateLayer4Rule', 'CreateLayer7Rule', 'DeleteLayer4Rule', 'DeleteLayer7CCRule', 'DeleteLayer7Rule', 'DescribeBatchSlsDispatchStatus', 'DescribeDDoSTraffic', 'DescribeDomainAccessMode', 'DescribeDomainSlsStatus',
+ 'DescribeDomains', 'DescribeHealthCheckList', 'DescribeHealthCheckStatusList', 'DescribeInstanceDetails', 'DescribeIpTraffic', 'DescribeLayer4RuleAttributes', 'DescribeLayer4Rules', 'DescribeLayer7CCRules', 'DescribeOpEntities', 'DescribeSimpleDomains', 'DescribeSlsEmptyCount', 'DescribleCertList', 'DescribleLayer7InstanceRelations', 'DisableLayer7CC', 'DisableLayer7CCRule', 'EnableLayer7CC', 'EnableLayer7CCRule', 'ListLayer7CustomPorts', 'ListAsyncTask', 'ListTagKeys',
+ 'ListTagResources', 'ListValueAdded', 'ModifyInstanceRemark', 'OpenDomainSlsConfig', 'ReleaseInstance', 'ReleaseValueAdded', 'TagResources', 'UntagResources',
],
],
],
@@ -118,57 +49,38 @@
],
'apis' => [
'ModifyElasticBandWidth' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ModifyElasticBandWidth修改指定实例的弹性防护带宽。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105512',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ElasticBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => '新的弹性带宽值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '新的弹性带宽值。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的实例ID。单次请求只支持修改1个实例的弹性防护带宽,且目标实例必须是正常状态。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'schema' => ['description' => '要操作的实例ID。单次请求只支持修改1个实例的弹性防护带宽,且目标实例必须是正常状态。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
],
'responses' => [
@@ -176,165 +88,98 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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\\"?>\\n<ModifyElasticBandWidthResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ModifyElasticBandWidthResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '修改指定实例的弹性防护带宽',
- 'summary' => '调用ModifyElasticBandWidth修改指定实例的弹性防护带宽。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeInstances分页查询中国内地高防实例信息列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105460',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,\\["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]。 '."\n"
- ."\n"
- .'> 若传入该参数,则无需传入**Ip**和**Remark**。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["ddoscoo-cn-XXXXX"]',
- ],
+ 'schema' => ['description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,\\["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]。 '."\n"
+ ."\n"
+ .'> 若传入该参数,则无需传入**Ip**和**Remark**。 ', 'type' => 'string', 'required' => false, 'example' => '["ddoscoo-cn-XXXXX"]'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页号,即从几页开始显示。最小值是**1**。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页号,即从几页开始显示。最小值是**1**。 ', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,即每页显示多少条结果。最大值是**50**。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,即每页显示多少条结果。最大值是**50**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '通过实例IP查询实例信息,传入要查询的实例IP地址。支持精确匹配查询。 '."\n"
- ."\n"
- .'> 若传入该参数,则无需传入**InstanceIds**和**Remark**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '通过实例IP查询实例信息,传入要查询的实例IP地址。支持精确匹配查询。 '."\n"
+ ."\n"
+ .'> 若传入该参数,则无需传入**InstanceIds**和**Remark**。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '通过实例备注查询实例信息,传入要查询的实例的备注信息。支持模糊查询。 '."\n"
- ."\n"
- .'> 若传入该参数,则无需传入**InstanceIds**和**Ip**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' testRemark',
- ],
+ 'schema' => ['description' => '通过实例备注查询实例信息,传入要查询的实例的备注信息。支持模糊查询。 '."\n"
+ ."\n"
+ .'> 若传入该参数,则无需传入**InstanceIds**和**Ip**。', 'type' => 'string', 'required' => false, 'example' => ' testRemark'],
],
[
'name' => 'Edition',
'in' => 'query',
- 'schema' => [
- 'description' => '防护套餐版本,取值:**9**(专业版)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '9',
- ],
+ 'schema' => ['description' => '防护套餐版本,取值:**9**(专业版)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'],
],
[
'name' => 'Enabled',
'in' => 'query',
- 'schema' => [
- 'description' => '实例工作状态,取值:'."\n"
- .'- **1**:正常转发业务'."\n"
- .'- **0**:已停止业务转发',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '实例工作状态,取值:'."\n"
+ .'- **1**:正常转发业务'."\n"
+ .'- **0**:已停止业务转发', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExpireStartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1578931200000',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'],
],
[
'name' => 'ExpireEndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1578931200000',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'],
],
[
'name' => 'Status',
@@ -347,10 +192,7 @@
.'- **2**:过期'."\n"
.'- **3**:释放',
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '1',
'maxItems' => 10,
@@ -365,20 +207,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例标签的标签键。N的取值范围:1~20。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
- ."\n"
- .'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。',
- 'type' => 'string',
- 'example' => 'key',
- ],
- 'Value' => [
- 'description' => '实例标签的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
- ."\n"
- .'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。',
- 'type' => 'string',
- 'example' => 'value',
- ],
+ 'Key' => ['description' => '实例标签的标签键。N的取值范围:1~20。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
+ ."\n"
+ .'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。', 'type' => 'string', 'example' => 'key'],
+ 'Value' => ['description' => '实例标签的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
+ ."\n"
+ .'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。', 'type' => 'string', 'example' => 'value'],
],
],
'required' => false,
@@ -391,75 +225,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '实例总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '实例总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Instances' => [
'description' => '实例信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '实例售卖状态,取值:'."\n"
- ."\n"
- .'- **1**:正常'."\n"
- .'- **2**:过期'."\n"
- .'- **3**:释放',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DebtStatus' => [
- 'description' => '固定取值:**0**,表示预付费实例。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Edition' => [
- 'description' => '防护套餐版本,固定取值:**9**(专业版)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'Remark' => [
- 'description' => '实例备注信息。最大500字节。',
- 'type' => 'string',
- 'example' => 'testRemark',
- ],
- 'ExpireTime' => [
- 'description' => '实例到期时间。格式为时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2308402384',
- ],
- 'Enabled' => [
- 'description' => '实例工作状态,取值:'."\n"
- .'- **1**:正常转发业务'."\n"
- .'- **0**:已停止业务转发',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'GmtCreate' => [
- 'description' => '实例创建时间。格式为时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2308402384',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'Status' => ['description' => '实例售卖状态,取值:'."\n"
+ ."\n"
+ .'- **1**:正常'."\n"
+ .'- **2**:过期'."\n"
+ .'- **3**:释放', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DebtStatus' => ['description' => '固定取值:**0**,表示预付费实例。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Edition' => ['description' => '防护套餐版本,固定取值:**9**(专业版)。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'Remark' => ['description' => '实例备注信息。最大500字节。', 'type' => 'string', 'example' => 'testRemark'],
+ 'ExpireTime' => ['description' => '实例到期时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'],
+ 'Enabled' => ['description' => '实例工作状态,取值:'."\n"
+ .'- **1**:正常转发业务'."\n"
+ .'- **0**:已停止业务转发', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'GmtCreate' => ['description' => '实例创建时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
],
],
],
@@ -469,52 +256,38 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"Remark\\": \\"testRemark\\",\\n \\"ExpireTime\\": 2308402384,\\n \\"Enabled\\": 1,\\n \\"GmtCreate\\": 2308402384,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>1</Total>\\n<Instances>\\n <Status>1</Status>\\n <Edition>9</Edition>\\n <ExpireTime>1578931200000</ExpireTime>\\n <InstanceId>ddoscoo-cn-xxxxxxx</InstanceId>\\n <DebtStatus>0</DebtStatus>\\n <GmtCreate>1576236360000</GmtCreate>\\n</Instances>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Remark\\": \\"xxx\\",\\n \\"Status\\": 1,\\n \\"ExpireTime\\": 20384032,\\n \\"GmtCreate\\": 2308402384\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '分页查询中国内地高防实例信息列表',
- 'summary' => '调用DescribeInstances分页查询中国内地高防实例信息列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceSpecs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeInstanceSpecs查询指定实例的规格。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105461',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的实例ID数组(JSON字符串)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["ddoscoo-cn-XXXXX"]',
- ],
+ 'schema' => ['description' => '要查询的实例ID数组(JSON字符串)。', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXXX"]'],
],
],
'responses' => [
@@ -522,78 +295,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceSpecs' => [
'description' => '实例规格列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'BaseBandwidth' => [
- 'description' => '基础带宽值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'QpsLimit' => [
- 'description' => 'QPS限制。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'BandwidthMbps' => [
- 'description' => '业务带宽值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20000',
- ],
- 'DefenseCount' => [
- 'description' => '防护次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SiteLimit' => [
- 'description' => '站点防护数限制。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PortLimit' => [
- 'description' => '最大四层转发次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ElasticBandwidth' => [
- 'description' => '弹性带宽值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'FunctionVersion' => [
- 'description' => '功能版本,取值:'."\n"
- ."\n"
- .'- **default**:标准版'."\n"
- .'- **enhance**:增强版',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'DomainLimit' => [
- 'description' => '最大域名个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
+ 'BaseBandwidth' => ['description' => '基础带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'QpsLimit' => ['description' => 'QPS限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'BandwidthMbps' => ['description' => '业务带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20000'],
+ 'DefenseCount' => ['description' => '防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SiteLimit' => ['description' => '站点防护数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PortLimit' => ['description' => '最大四层转发次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'ElasticBandwidth' => ['description' => '弹性带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'FunctionVersion' => ['description' => '功能版本,取值:'."\n"
+ ."\n"
+ .'- **default**:标准版'."\n"
+ .'- **enhance**:增强版', 'type' => 'string', 'example' => 'default'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'DomainLimit' => ['description' => '最大域名个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
],
],
],
@@ -603,51 +324,37 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 20,\\n \\"QpsLimit\\": 1000,\\n \\"BandwidthMbps\\": 20000,\\n \\"DefenseCount\\": 10,\\n \\"SiteLimit\\": 10,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 20,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"DomainLimit\\": 50\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeInstanceSpecsResponse>\\n <InstanceSpecs>\\n <element>\\n <BandwidthMbps>100</BandwidthMbps>\\n <BaseBandwidth>20</BaseBandwidth>\\n <DefenseCount>10</DefenseCount>\\n <DomainLimit>20</DomainLimit>\\n <ElasticBandwidth>10</ElasticBandwidth>\\n <FunctionVersion>default</FunctionVersion>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <PortLimit>10</PortLimit>\\n <SiteLimit>10</SiteLimit>\\n <QpsLimit>1000</QpsLimit>\\n </element>\\n </InstanceSpecs>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeInstanceSpecsResponse>","errorExample":"{\\n \\"InstanceSpecs\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"BaseBandwidth\\": 20,\\n \\"ElasticBandwidth\\": 10,\\n \\"PortLimit\\":10,\\n \\"DomainLimit\\": 20,\\n \\"BandwidthMbps\\": 100\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的规格',
- 'summary' => '调用DescribeInstanceSpecs查询指定实例的规格。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceStatistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeInstanceStatistics查询指定实例的统计信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105462',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的实例ID数组(JSON字符串)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","InstanceId":"ddoscoo-cn-YYYYY"}]',
- ],
+ 'schema' => ['description' => '要查询的实例ID数组(JSON字符串)。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","InstanceId":"ddoscoo-cn-YYYYY"}]'],
],
],
'responses' => [
@@ -655,46 +362,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceStatistics' => [
'description' => '实例的统计信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'DomainUsage' => [
- 'description' => '已使用域名的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'DefenseCountUsage' => [
- 'description' => '已使用防护次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'SiteUsage' => [
- 'description' => '已添加站点的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PortUsage' => [
- 'description' => '已使用四层规则的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'DomainUsage' => ['description' => '已使用域名的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'DefenseCountUsage' => ['description' => '已使用防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'SiteUsage' => ['description' => '已添加站点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PortUsage' => ['description' => '已使用四层规则的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
],
],
],
@@ -704,52 +383,38 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 10,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeInstanceStatisticsResponse>\\r\\n <InstanceStatistics>\\r\\n <element>\\r\\n <DomainUsage>10</DomainUsage>\\r\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\r\\n <PortUsage>20</PortUsage>\\r\\n </element>\\r\\n </InstanceStatistics>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeInstanceStatisticsResponse>","errorExample":"{\\n \\"InstanceStatistics\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"PortUsage\\": 20,\\n \\"DomainUsage\\": 10\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的统计信息',
- 'summary' => '调用DescribeInstanceStatistics查询指定实例的统计信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeElasticBandwidthSpec' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeElasticBandwidthSpec查询指定实例的弹性带宽规格。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105455',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的实例ID。单次请求只支持查询1个实例。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'schema' => ['description' => '要查询的实例ID。单次请求只支持查询1个实例。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
],
'responses' => [
@@ -757,18 +422,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'ElasticBandwidthSpec' => [
'type' => 'array',
- 'items' => [
- 'description' => '弹性带宽规格。',
- 'type' => 'string',
- 'example' => '[5, 10, 20, 30]',
- ],
+ 'items' => ['description' => '弹性带宽规格。', 'type' => 'string', 'example' => '[5, 10, 20, 30]'],
],
],
],
@@ -776,53 +433,38 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"[5, 10, 20, 30]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeElasticBandwidthSpecResponse>\\n <ElasticBandwidthSpec>\\n <element>5</element>\\n <element>10</element>\\n <element>20</element>\\n <element>30</element>\\n </ElasticBandwidthSpec>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeElasticBandwidthSpecResponse>","errorExample":"{\\n \\"ElasticBandwidthSpec\\": [5,10,20,30],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的弹性带宽规格',
- 'summary' => '调用DescribeElasticBandwidthSpec查询指定实例的弹性带宽规格。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDefenseCountStatistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询DDoS高防的抗D包防护次数统计信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105427',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -830,33 +472,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DefenseCountStatistics' => [
'description' => '防护次数统计信息。',
'type' => 'object',
'properties' => [
- 'FlowPackCountRemain' => [
- 'description' => '剩余可用的抗D包防护次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxUsableDefenseCountCurrentMonth' => [
- 'description' => '本月最大可用防护次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'DefenseCountTotalUsageOfCurrentMonth' => [
- 'description' => '本月已消耗的抗D包防护次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'FlowPackCountRemain' => ['description' => '剩余可用的抗D包防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MaxUsableDefenseCountCurrentMonth' => ['description' => '本月最大可用防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'DefenseCountTotalUsageOfCurrentMonth' => ['description' => '本月已消耗的抗D包防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -865,105 +488,63 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DefenseCountStatistics\\": {\\n \\"FlowPackCountRemain\\": 10,\\n \\"MaxUsableDefenseCountCurrentMonth\\": 0,\\n \\"DefenseCountTotalUsageOfCurrentMonth\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<DefenseCountStatistics>\\n <DefenseCountTotalUsageOfCurrentMonth>0</DefenseCountTotalUsageOfCurrentMonth>\\n <FlowPackCountRemain>10</FlowPackCountRemain>\\n <MaxUsableDefenseCountCurrentMonth>0</MaxUsableDefenseCountCurrentMonth>\\n</DefenseCountStatistics>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询抗D包防护次数统计信息',
- 'summary' => '查询DDoS高防的抗D包防护次数统计信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDDoSEvents' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeDDoSEvents查询指定IP的DDoS攻击事件。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105424',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '流量查询的开始时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457398',
- ],
+ 'schema' => ['description' => '流量查询的开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '流量查询的结束时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457324',
- ],
+ 'schema' => ['description' => '流量查询的结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'],
],
[
'name' => 'Eip',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的EIP地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果开始位置,即从几个结果开始返回。 '."\n"
- .'> 若不传入该参数,则从第0个结果开始返回。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '返回结果开始位置,即从几个结果开始返回。 '."\n"
+ .'> 若不传入该参数,则从第0个结果开始返回。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,即每页显示的结果个数。最大值50。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,即每页显示的结果个数。最大值50。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -971,50 +552,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '结果总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '结果总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Events' => [
'description' => 'DDoS攻击事件。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '事件类型:'."\n"
- .'- **lackhole_start**:黑洞中'."\n"
- .'- **blackhole_end**:黑洞结束'."\n"
- .'- **defense_start**:清洗中'."\n"
- .'- **defense_end**:清洗结束',
- 'type' => 'string',
- 'example' => 'blackhole_start',
- ],
- 'EndTime' => [
- 'description' => '事件结束时间,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3289457398',
- ],
- 'StartTime' => [
- 'description' => '事件开始时间,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3289457324',
- ],
- 'Interval' => [
- 'description' => '事件持续时间,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Status' => ['description' => '事件类型:'."\n"
+ .'- **lackhole_start**:黑洞中'."\n"
+ .'- **blackhole_end**:黑洞结束'."\n"
+ .'- **defense_start**:清洗中'."\n"
+ .'- **defense_end**:清洗结束', 'type' => 'string', 'example' => 'blackhole_start'],
+ 'EndTime' => ['description' => '事件结束时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457398'],
+ 'StartTime' => ['description' => '事件开始时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457324'],
+ 'Interval' => ['description' => '事件持续时间,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
@@ -1024,85 +577,54 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Events\\": [\\n {\\n \\"Status\\": \\"blackhole_start\\",\\n \\"EndTime\\": 3289457398,\\n \\"StartTime\\": 3289457324,\\n \\"Interval\\": 12\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>1</Total>\\n<Events>\\n <StartTime>3289457324</StartTime>\\n <EndTime>3289457398</EndTime>\\n <Interval>12</Interval>\\n <Status>blackhole_start</Status>\\n</Events>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的DDoS攻击事件',
- 'summary' => '调用DescribeDDoSEvents查询指定IP的DDoS攻击事件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainQpsWithCache' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询指定域名的QPS次数信息以及缓存命中次数。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105442',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的域名。'."\n"
- ."\n"
- .'> 不指定该参数,则默认查询第一个域名配置记录的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '要查询的域名。'."\n"
+ ."\n"
+ .'> 不指定该参数,则默认查询第一个域名配置记录的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1577794536',
- ],
+ 'schema' => ['description' => '开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577794536'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1577796336',
- ],
+ 'schema' => ['description' => '结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577796336'],
],
],
'responses' => [
@@ -1110,94 +632,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => '开始时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1577794500',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'Interval' => [
- 'description' => '相隔两个数据之间的时间差,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
+ 'StartTime' => ['description' => '开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1577794500'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'Interval' => ['description' => '相隔两个数据之间的时间差,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
'Blocks' => [
'type' => 'array',
- 'items' => [
- 'description' => '拦截的攻击请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '拦截的攻击请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CcBlockQps' => [
'type' => 'array',
- 'items' => [
- 'description' => '频率控制拦截的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '频率控制拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'PreciseJsQps' => [
'type' => 'array',
- 'items' => [
- 'description' => '命中精准防护规则的挑战校验的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '命中精准防护规则的挑战校验的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CcJsQps' => [
'type' => 'array',
- 'items' => [
- 'description' => '命中频率控制规则触发人机识别的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '命中频率控制规则触发人机识别的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'RegionBlocks' => [
'type' => 'array',
- 'items' => [
- 'description' => '地域封禁拦截的QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '地域封禁拦截的QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'PreciseBlocks' => [
'type' => 'array',
- 'items' => [
- 'description' => '精准防护规则拦截的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '精准防护规则拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CacheHits' => [
'type' => 'array',
- 'items' => [
- 'description' => '命中页面缓存加速规则的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => '命中页面缓存加速规则的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'Totals' => [
'type' => 'array',
- 'items' => [
- 'description' => '总的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[10,40,20]',
- ],
+ 'items' => ['description' => '总的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[10,40,20]'],
],
'IpBlockQps' => [
'type' => 'array',
- 'items' => [
- 'description' => 'IP封禁拦截的请求次数,单位:QPS。',
- 'type' => 'string',
- 'example' => '[0,0,0]',
- ],
+ 'items' => ['description' => 'IP封禁拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
],
],
@@ -1205,73 +677,47 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": 1577794500,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Interval\\": 60,\\n \\"Blocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CcBlockQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"PreciseJsQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CcJsQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"RegionBlocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"PreciseBlocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CacheHits\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"Totals\\": [\\n \\"[10,40,20]\\"\\n ],\\n \\"IpBlockQps\\": [\\n \\"[0,0,0]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Interval>60</Interval>\\n<StartTime>1577794500</StartTime>\\n<Totals>10</Totals>\\n<Totals>40</Totals>\\n<Totals>20</Totals>\\n<CacheHits>0</CacheHits>\\n<CacheHits>0</CacheHits>\\n<CacheHits>0</CacheHits>\\n<Blocks>0</Blocks>\\n<Blocks>0</Blocks>\\n<Blocks>0</Blocks>\\n<CcBlockQps>0</CcBlockQps>\\n<CcBlockQps>0</CcBlockQps>\\n<CcBlockQps>0</CcBlockQps>\\n<CcJsQps>0</CcJsQps>\\n<CcJsQps>0</CcJsQps>\\n<CcJsQps>0</CcJsQps>\\n<IpBlockQps>0</IpBlockQps>\\n<IpBlockQps>0</IpBlockQps>\\n<IpBlockQps>0</IpBlockQps>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseJsQps>0</PreciseJsQps>\\n<PreciseJsQps>0</PreciseJsQps>\\n<PreciseJsQps>0</PreciseJsQps>\\n<RegionBlocks>0</RegionBlocks>\\n<RegionBlocks>0</RegionBlocks>\\n<RegionBlocks>0</RegionBlocks>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询QPS次数信息以及缓存命中次数',
- 'summary' => '查询指定域名的QPS次数信息以及缓存命中次数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ModifyFullLogTtl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ModifyFullLogTtl修改日志存储时长。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105513',
- 'abilityTreeNodes' => [
- 'FEATUREddosAUMQ7C',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosAUMQ7C'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '日志存储时长,单位:天。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '日志存储时长,单位:天。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1279,74 +725,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '修改日志存储时长',
- 'summary' => '调用ModifyFullLogTtl修改日志存储时长。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsOpenStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeSlsOpenStatus查询是否已开通日志服务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105488',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1354,81 +776,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsOpenStatus' => [
- 'description' => '是否已开通日志服务:'."\n"
- .'- **true**:表示是'."\n"
- .'- **false**:表示否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'SlsOpenStatus' => ['description' => '是否已开通日志服务:'."\n"
+ .'- **true**:表示是'."\n"
+ .'- **false**:表示否', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '本次请求的ID。', '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":"<SlsOpenStatus>true</SlsOpenStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否已开通日志服务',
- 'summary' => '调用DescribeSlsOpenStatus查询是否已开通日志服务。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsAuthStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105485',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1436,79 +830,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsAuthStatus' => [
- 'description' => '是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'SlsAuthStatus' => ['description' => '是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '本次请求的ID。', '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":"<SlsAuthStatus>true</SlsAuthStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否授权将日志存储至日志服务的专属日志库中',
- 'summary' => '查询是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLogStoreExistStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeLogStoreExistStatus查询是否已存在日志库。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105468',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1516,79 +882,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ExistStatus' => [
- 'description' => '是否已存在日志库。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'ExistStatus' => ['description' => '是否已存在日志库。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '本次请求的ID。', '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":"<ExistStatus>true</ExistStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否已存在日志库',
- 'summary' => '调用DescribeLogStoreExistStatus查询是否已存在日志库。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsLogstoreInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeSlsLogstoreInfo查询对应的日志服务日志库信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105487',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1596,99 +934,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Ttl' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'Quota' => [
- 'description' => '日志库容量,单位:字节(Byte)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5497558138880',
- ],
- 'LogStore' => [
- 'description' => '日志库名称。',
- 'type' => 'string',
- 'example' => 'ddoscoo-logstore',
- ],
- 'Used' => [
- 'description' => '已存储的日志量,单位:Byte(字节)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Project' => [
- 'description' => '日志项目名称。',
- 'type' => 'string',
- 'example' => 'ddoscoo-project-xxxx-cn-hangzhou',
- ],
+ 'Ttl' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'Quota' => ['description' => '日志库容量,单位:字节(Byte)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'],
+ 'LogStore' => ['description' => '日志库名称。', 'type' => 'string', 'example' => 'ddoscoo-logstore'],
+ 'Used' => ['description' => '已存储的日志量,单位:Byte(字节)。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Project' => ['description' => '日志项目名称。', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Used\\": 0,\\n \\"Project\\": \\"ddoscoo-project-xxxx-cn-hangzhou\\",\\n \\"Quota\\": 5497558138880,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"LogStore\\": \\"ddoscoo-logstore\\"\\n}","errorExample":""},{"type":"xml","example":"<Project>ddoscoo-project-xxxx-cn-hangzhou</Project>\\n<Quota>5497558138880</Quota>\\n<Used>0</Used>\\n<LogStore>ddoscoo-logstore</LogStore>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询对应的日志服务日志库信息',
- 'summary' => '调用DescribeSlsLogstoreInfo查询对应的日志服务日志库信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EmptySlsLogstore' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用EmptySlsLogstore清空日志库。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105502',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -1696,63 +989,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '清空日志库',
- 'summary' => '调用EmptySlsLogstore清空日志库。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteAsyncTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DeleteAsyncTask删除指定的异步任务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105405',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '要删除的任务ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '要删除的任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123'],
],
],
'responses' => [
@@ -1760,80 +1034,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DeleteAsyncTaskResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteAsyncTaskResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除指定的异步任务',
- 'summary' => '调用DeleteAsyncTask删除指定的异步任务。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeBackSourceCidr' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询回源网段。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105418',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Line',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的防护线路。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'coop-line-001',
- ],
+ 'schema' => ['description' => '要查询的防护线路。', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001'],
],
[
'name' => 'IpVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -1841,18 +1090,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'CidrList' => [
'type' => 'array',
- 'items' => [
- 'description' => '回源IP段列表。',
- 'type' => 'string',
- 'example' => '["47.97.128.0/25","47.97.128.128/25"]',
- ],
+ 'items' => ['description' => '回源IP段列表。', 'type' => 'string', 'example' => '["47.97.128.0/25","47.97.128.128/25"]'],
],
],
],
@@ -1860,127 +1101,77 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"CidrList\\": [\\n \\"[\\\\\\"47.97.128.0/25\\\\\\",\\\\\\"47.97.128.128/25\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeBackSourceCidrResponse>\\r\\n <CidrList>\\r\\n <element>47.xx.xx.0/25</element>\\r\\n <element>47.xx.xx.128/25</element>\\r\\n </CidrList>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeBackSourceCidrResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CidrList\\" : [\\"47.97.128.0/25\\",\\"47.97.128.128/25\\"]\\n}\\n"}]',
'title' => '查询高防回源网段地址',
- 'summary' => '查询回源网段。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'AddLayer7CCRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用AddLayer7CCRule为指定域名添加7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'CC自定义规则名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testCcRule1',
- ],
+ 'schema' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
[
'name' => 'Act',
'in' => 'query',
- 'schema' => [
- 'description' => '规则触发后的操作,取值:'."\n"
- ."\n"
- .'- **close**:封禁'."\n"
- .'- **captcha**:人机识别',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'close',
- ],
+ 'schema' => ['description' => '规则触发后的操作,取值:'."\n"
+ ."\n"
+ .'- **close**:封禁'."\n"
+ .'- **captcha**:人机识别', 'type' => 'string', 'required' => true, 'example' => 'close'],
],
[
'name' => 'Count',
'in' => 'query',
- 'schema' => [
- 'description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'],
],
[
'name' => 'Mode',
'in' => 'query',
- 'schema' => [
- 'description' => 'URI匹配模式,取值:'."\n"
- ."\n"
- .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
- .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'match',
- ],
+ 'schema' => ['description' => 'URI匹配模式,取值:'."\n"
+ ."\n"
+ .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
+ .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'required' => true, 'example' => 'match'],
],
[
'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'Uri',
'in' => 'query',
- 'schema' => [
- 'description' => '被防护的URI。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '/a/b/c',
- ],
+ 'schema' => ['description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'],
],
],
'responses' => [
@@ -1988,83 +1179,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<AddLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</AddLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '为指定域名添加7层CC规则',
- 'summary' => '调用AddLayer7CCRule为指定域名添加7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CloseDomainSlsConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用CloseDomainSlsConfig接口关闭指定域名的全量日志分析功能。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105375',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '已启用全量日志分析功能的网站域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '已启用全量日志分析功能的网站域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
@@ -2072,97 +1234,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":""}]',
'title' => '关闭指定域名的全量日志分析功能',
- 'summary' => '调用CloseDomainSlsConfig接口关闭指定域名的全量日志分析功能。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigHealthCheck' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigHealthCheck配置四层或七层健康检查。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105390',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-XXXXXX',
- ],
+ 'schema' => ['description' => '要操作的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXXX'],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '转发协议,取值: '."\n"
- ."\n"
- .'- **TCP**(四层)'."\n"
- .'- **UDP**(四层)'."\n"
- .'- **HTTP**(七层)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tcp',
- ],
+ 'schema' => ['description' => '转发协议,取值: '."\n"
+ ."\n"
+ .'- **TCP**(四层)'."\n"
+ .'- **UDP**(四层)'."\n"
+ .'- **HTTP**(七层)', 'type' => 'string', 'required' => true, 'example' => 'tcp'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => '前端端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '233',
- ],
+ 'schema' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'],
],
[
'name' => 'HealthCheck',
'in' => 'query',
- 'schema' => [
- 'description' => '传入HealthCheck对象JSON串,具体结构描述如下:'."\n"
- ."\n"
- .'- **Type**,String类型,必选,协议类型。取值:**TCP**(四层)、**HTTP**(七层)。'."\n"
- .'- **Domain**,String类型,可选,健康检查/七层健康检查/域名。'."\n"
- .'- **Uri**,String类型,可选,健康检查/七层健康检查/检查路径。'."\n"
- .'- **Timeout**,Integer类型,可选,健康检查/四层健康检查/响应超时时间。'."\n"
- .'- **Port**,Integer类型,可选,健康检查/四层健康检查/检查端口。'."\n"
- .'- **Interval**,Integer类型,可选,健康检查/四层健康检查/检查间隔。'."\n"
- .'- **Up**,Integer类型,可选,健康检查/四层健康检查/健康阈值。'."\n"
- .'- **Down**,Integer类型,可选,健康检查/四层健康检查/不健康阈值。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"Type":"tcp","Timeout":10,"Port":80,"Interval":10,"Up":10,"Down":40}"}',
- ],
+ 'schema' => ['description' => '传入HealthCheck对象JSON串,具体结构描述如下:'."\n"
+ ."\n"
+ .'- **Type**,String类型,必选,协议类型。取值:**TCP**(四层)、**HTTP**(七层)。'."\n"
+ .'- **Domain**,String类型,可选,健康检查/七层健康检查/域名。'."\n"
+ .'- **Uri**,String类型,可选,健康检查/七层健康检查/检查路径。'."\n"
+ .'- **Timeout**,Integer类型,可选,健康检查/四层健康检查/响应超时时间。'."\n"
+ .'- **Port**,Integer类型,可选,健康检查/四层健康检查/检查端口。'."\n"
+ .'- **Interval**,Integer类型,可选,健康检查/四层健康检查/检查间隔。'."\n"
+ .'- **Up**,Integer类型,可选,健康检查/四层健康检查/健康阈值。'."\n"
+ .'- **Down**,Integer类型,可选,健康检查/四层健康检查/不健康阈值。'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":80,"Interval":10,"Up":10,"Down":40}"}'],
],
],
'responses' => [
@@ -2170,67 +1302,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ConfigHealthCheckResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigHealthCheckResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '配置四层或七层健康检查',
- 'summary' => '调用ConfigHealthCheck配置四层或七层健康检查。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer4Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer4Rule编辑4层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105392',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下。 '."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
- .'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
- .'- **RealServers**,Json数组类型,必选,源站IP地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]',
- ],
+ 'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下。 '."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
+ .'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
+ .'- **RealServers**,Json数组类型,必选,源站IP地址。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'],
],
[
'name' => 'ProxyEnable',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64'],
],
[
'name' => 'UsTimeout',
@@ -2239,14 +1354,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ConnectTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RsTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
+ 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -2256,53 +1365,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ConfigLayer4RuleResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '编辑4层转发规则',
- 'summary' => '调用ConfigLayer4Rule编辑4层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer4RuleAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '包括会话保持和DDoS防护策略。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105393',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'schema' => ['description' => '要操作的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
[
'name' => 'Module',
@@ -2310,79 +1405,61 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'sla',
- ],
+ 'enum' => ['sla'],
],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '转发协议,取值:**TCP**、**UDP**。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'TCP',
- ],
+ 'schema' => ['description' => '转发协议,取值:**TCP**、**UDP**。 ', 'type' => 'string', 'required' => true, 'example' => 'TCP'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => '前端端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '233',
- ],
+ 'schema' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'],
],
[
'name' => 'Config',
'in' => 'query',
- 'schema' => [
- 'description' => '配置信息,传入**TcpConfig**或**UdpConfig**对象JSON串。'."\n"
- ."\n"
- .'**TcpConfig**的具体结构描述见如下:'."\n"
- ."\n"
- .'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
- .'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
- .'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
- .'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
- .'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
- .'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
- ."\n"
- .'**UdpConfig**的具体结构描述如下:'."\n"
- ."\n"
- .'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
- .'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
- .'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
- .'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
- .'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
- .'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
- ."\n"
- .'**Sla**的具体结构描述如下:'."\n"
- ."\n"
- .'- **Cps**,Integer类型,必选,DDoS防护策略/目的新建连接限速,取值范围:100~100,000。'."\n"
- .'- **Maxconn**,Integer类型,必选,DDoS防护策略/目的并发连接限速,取值范围:1,000~1,000,000。'."\n"
- .'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
- .'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
- ."\n"
- .'**Slimit**的具体结构描述如下:'."\n"
- ."\n"
- .'- **Cps**,Integer类型,必选,DDoS防护策略/源新建连接限速,取值范围:100~100,000。'."\n"
- .'- **Maxconn**,Integer类型,必选,DDoS防护策略/源并发连接限速,取值范围:1,000~1,000,000。'."\n"
- .'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
- .'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
- .'- **CpsMode**,Integer类型,必选,源新建连接限速开关,取值:**1**(关闭)、**2**(自动)。'."\n"
- ."\n"
- .'**PayloadLen**的具体结构描述如下:'."\n"
- ."\n"
- .'- **Min**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最小值,取值范围为0~6,000。'."\n"
- .'- **Max**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最大值,取值范围为0~6,000。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":6000}}',
- ],
+ 'schema' => ['description' => '配置信息,传入**TcpConfig**或**UdpConfig**对象JSON串。'."\n"
+ ."\n"
+ .'**TcpConfig**的具体结构描述见如下:'."\n"
+ ."\n"
+ .'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
+ .'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
+ .'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
+ .'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
+ .'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
+ .'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
+ ."\n"
+ .'**UdpConfig**的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
+ .'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
+ .'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
+ .'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
+ .'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
+ .'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
+ ."\n"
+ .'**Sla**的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **Cps**,Integer类型,必选,DDoS防护策略/目的新建连接限速,取值范围:100~100,000。'."\n"
+ .'- **Maxconn**,Integer类型,必选,DDoS防护策略/目的并发连接限速,取值范围:1,000~1,000,000。'."\n"
+ .'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
+ .'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
+ ."\n"
+ .'**Slimit**的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **Cps**,Integer类型,必选,DDoS防护策略/源新建连接限速,取值范围:100~100,000。'."\n"
+ .'- **Maxconn**,Integer类型,必选,DDoS防护策略/源并发连接限速,取值范围:1,000~1,000,000。'."\n"
+ .'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
+ .'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
+ .'- **CpsMode**,Integer类型,必选,源新建连接限速开关,取值:**1**(关闭)、**2**(自动)。'."\n"
+ ."\n"
+ .'**PayloadLen**的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **Min**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最小值,取值范围为0~6,000。'."\n"
+ .'- **Max**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最大值,取值范围为0~6,000。', 'type' => 'string', 'required' => true, 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":6000}}'],
],
],
'responses' => [
@@ -2390,57 +1467,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ConfigLayer4RuleAttributeResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer4RuleAttributeResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '配置4层转发规则属性',
- 'summary' => '包括会话保持和DDoS防护策略。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7BlackWhiteList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer7BlackWhiteList为指定域名设置7层防护黑白名单。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
+ ],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要配置的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要配置的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'BlackList',
@@ -2449,9 +1512,7 @@
'schema' => [
'description' => '黑名单列表。若有多个加黑地址,依次传入BlackList.1, BlackList.2, BlackList.3, ...',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '1.1.1.1',
'maxItems' => 2000,
@@ -2464,9 +1525,7 @@
'schema' => [
'description' => '白名单列表。若有多个加白地址,依次传入WhiteList.1, WhiteList.2, WhiteList.3, ...',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '1.1.1.1',
'maxItems' => 2000,
@@ -2478,142 +1537,85 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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\\"?>\\n<ConfigLayer7BlackWhiteListResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer7BlackWhiteListResponse>\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名设置7层防护黑白名单',
- 'summary' => '调用ConfigLayer7BlackWhiteList为指定域名设置7层防护黑白名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7CCRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer7CCRule编辑7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105395',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'CC自定义规则名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testCcRule1',
- ],
+ 'schema' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
[
'name' => 'Act',
'in' => 'query',
- 'schema' => [
- 'description' => '规则触发后的操作,取值:'."\n"
- ."\n"
- .'- **close**:封禁'."\n"
- .'- **captcha**:人机识别',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'close',
- ],
+ 'schema' => ['description' => '规则触发后的操作,取值:'."\n"
+ ."\n"
+ .'- **close**:封禁'."\n"
+ .'- **captcha**:人机识别', 'type' => 'string', 'required' => true, 'example' => 'close'],
],
[
'name' => 'Count',
'in' => 'query',
- 'schema' => [
- 'description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'],
],
[
'name' => 'Mode',
'in' => 'query',
- 'schema' => [
- 'description' => 'URI匹配模式,取值:'."\n"
- ."\n"
- .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
- .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'match',
- ],
+ 'schema' => ['description' => 'URI匹配模式,取值:'."\n"
+ ."\n"
+ .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
+ .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'required' => true, 'example' => 'match'],
],
[
'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'Uri',
'in' => 'query',
- 'schema' => [
- 'description' => '被防护的URI。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '/a/b/c',
- ],
+ 'schema' => ['description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'],
],
],
'responses' => [
@@ -2621,78 +1623,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ConfigLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '编辑7层CC规则',
- 'summary' => '调用ConfigLayer7CCRule编辑7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7CCTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer7CCTemplate为指定域名设置7层CC防护模式。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105396',
- 'abilityTreeNodes' => [
- 'FEATUREddosM9SQC1',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Template',
'in' => 'query',
- 'schema' => [
- 'description' => '要应用的CC防护模式,取值:'."\n"
- ."\n"
- .'- **default**:正常'."\n"
- .'- **gf_under_attack**:攻击紧急'."\n"
- .'- **gf_sos_verify**:严格'."\n"
- .'- **gf_sos_enhance**:超级严格',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '要应用的CC防护模式,取值:'."\n"
+ ."\n"
+ .'- **default**:正常'."\n"
+ .'- **gf_under_attack**:攻击紧急'."\n"
+ .'- **gf_sos_verify**:严格'."\n"
+ .'- **gf_sos_enhance**:超级严格', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
@@ -2700,125 +1678,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ConfigLayer7CCTemplateResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7CCTemplateResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名设置7层CC防护模式',
- 'summary' => '调用ConfigLayer7CCTemplate为指定域名设置7层CC防护模式。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7Cert' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer7Cert为指定域名配置7层证书。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105397',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'CertId',
'in' => 'query',
- 'schema' => [
- 'description' => '证书ID。 '."\n"
- ."\n"
- .'> 若传入此参数,则无需传入**CertName**、**Cert**、**Key**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1234',
- ],
+ 'schema' => ['description' => '证书ID。 '."\n"
+ ."\n"
+ .'> 若传入此参数,则无需传入**CertName**、**Cert**、**Key**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1234'],
],
[
'name' => 'CertName',
'in' => 'query',
- 'schema' => [
- 'description' => '证书名称。 '."\n"
- ."\n"
- .'> 若传入此参数,则必须同时传入**Cert**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testCertName',
- ],
+ 'schema' => ['description' => '证书名称。 '."\n"
+ ."\n"
+ .'> 若传入此参数,则必须同时传入**Cert**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'testCertName'],
],
[
'name' => 'Cert',
'in' => 'query',
- 'schema' => [
- 'description' => '证书公钥。 '."\n"
- ."\n"
- .'> 若传入此参数,则必须同时传入**CertName**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '证书公钥。 '."\n"
+ ."\n"
+ .'> 若传入此参数,则必须同时传入**CertName**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Key',
'in' => 'query',
- 'schema' => [
- 'description' => '证书私钥。 '."\n"
- ."\n"
- .'> 若传入此参数,则必须同时传入**CertName**和**Cert**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '证书私钥。 '."\n"
+ ."\n"
+ .'> 若传入此参数,则必须同时传入**CertName**和**Cert**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'CertIdentifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'CertRegion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -2826,91 +1761,61 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ConfigLayer7CertResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer7CertResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名配置7层证书',
- 'summary' => '调用ConfigLayer7Cert为指定域名配置7层证书。',
'description' => '设置证书。新BGP高防的证书上传功能已接入云盾证书服务,您可以直接调用该接口从证书服务拉取对应的证书上传到新BGP高防服务。当您选择重新上传一组证书和私钥时,我们会将您的这组证书和私钥重新上传到云盾证书服务,以便您可以重复使用这组证书。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ConfigLayer7Rule编辑7层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105398',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'ProxyTypeList',
'in' => 'query',
- 'schema' => [
- 'description' => '协议数组。具体结构描述如下:'."\n"
- ."\n"
- .'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。'."\n"
- .'- **ProxyPorts**,Integer类型,必选,协议端口。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]',
- ],
+ 'schema' => ['description' => '协议数组。具体结构描述如下:'."\n"
+ ."\n"
+ .'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。'."\n"
+ .'- **ProxyPorts**,Integer类型,必选,协议端口。', 'type' => 'string', 'required' => false, 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]'],
],
[
'name' => 'RsType',
'in' => 'query',
- 'schema' => [
- 'description' => '源站类型,取值:'."\n"
- ."\n"
- .'- **0**:IP'."\n"
- .'- **1**:域名',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '源站类型,取值:'."\n"
+ ."\n"
+ .'- **0**:IP'."\n"
+ .'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'ProxyTypes',
@@ -2919,9 +1824,7 @@
'schema' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]',
'maxItems' => 20,
@@ -2934,9 +1837,7 @@
'schema' => [
'description' => '源站IP。若有多个源站IP,依次传入RealServers.1, RealServers.2, RealServers.3, ...',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => '1.1.1.1',
'maxItems' => 20,
@@ -2951,9 +1852,7 @@
."\n"
.'> 若不传入该参数,则只添加域名,不绑定到具体IP。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 20,
@@ -2965,83 +1864,59 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ConfigLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '编辑7层转发规则',
- 'summary' => '调用ConfigLayer7Rule编辑7层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateAsyncTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '网站转发规则、端口转发规则、会话保持和健康检查配置、DDoS防护策略、IP黑白名单。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105401',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => '任务类型,取值:'."\n"
- ."\n"
- .'- **1**:4层转发规则批量导出任务'."\n"
- .'- **2**:7层防护规则批量导出任务'."\n"
- .'- **3**:会话和健康检查配置导出任务'."\n"
- .'- **4**:DDoS防护策略导出任务',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '任务类型,取值:'."\n"
+ ."\n"
+ .'- **1**:4层转发规则批量导出任务'."\n"
+ .'- **2**:7层防护规则批量导出任务'."\n"
+ .'- **3**:会话和健康检查配置导出任务'."\n"
+ .'- **4**:DDoS防护策略导出任务', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'TaskParams',
'in' => 'query',
- 'schema' => [
- 'description' => '任务参数,一组json字符串,根据TaskType不同有所区别。'."\n"
- ."\n"
- .'- TaskType为**1**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
- .'- TaskType为**2**时,传入一个空对象的字符串即可。例如,{}'."\n"
- .'- TaskType为**3**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
- .'- TaskType为**4**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"timestamp": 1530276554, "instanceId": "ddoscoo-woieuroi234"}',
- ],
+ 'schema' => ['description' => '任务参数,一组json字符串,根据TaskType不同有所区别。'."\n"
+ ."\n"
+ .'- TaskType为**1**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
+ .'- TaskType为**2**时,传入一个空对象的字符串即可。例如,{}'."\n"
+ .'- TaskType为**3**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
+ .'- TaskType为**4**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}', 'type' => 'string', 'required' => true, 'example' => '{"timestamp": 1530276554, "instanceId": "ddoscoo-woieuroi234"}'],
],
],
'responses' => [
@@ -3049,60 +1924,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<CreateAsyncTaskResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateAsyncTaskResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建异步导出任务',
- 'summary' => '网站转发规则、端口转发规则、会话保持和健康检查配置、DDoS防护策略、IP黑白名单。',
'description' => '创建新BGP合作机房支持的异步任务,当前支持7层配置的导出、4层配置的导出以及会话保持、健康检查等功能配置的导出。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateLayer4Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用CreateLayer4Rule创建4层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105402',
- 'abilityTreeNodes' => [
- 'FEATUREddosI8LHMA',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
- .'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
- .'- **RealServers**,Json数组类型,必选,源站IP地址。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]',
- ],
+ 'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
+ .'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
+ .'- **RealServers**,Json数组类型,必选,源站IP地址。'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'],
],
[
'name' => 'ProxyEnable',
@@ -3110,10 +1971,7 @@
'schema' => [
'type' => 'integer',
'format' => 'int32',
- 'enum' => [
- '0',
- '1',
- ],
+ 'enum' => ['0', '1'],
],
],
[
@@ -3123,14 +1981,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ConnectTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RsTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
+ 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -3140,92 +1992,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<CreateLayer4RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建4层转发规则',
- 'summary' => '调用CreateLayer4Rule创建4层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateLayer7Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用CreateLayer7Rule创建7层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105403',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要添加的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'RsType',
'in' => 'query',
- 'schema' => [
- 'description' => '源站类型,取值:'."\n"
- ."\n"
- .'- **0**:IP'."\n"
- .'- **1**:域名',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '源站类型,取值:'."\n"
+ ."\n"
+ .'- **0**:IP'."\n"
+ .'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'Rules',
'in' => 'query',
- 'schema' => [
- 'description' => '传入7层规则Layer7Rule数组JSON串。具体结构描述如下:'."\n"
- ."\n"
- .'- **ProxyRules**,数组类型,必选,规则对象数组,包含以下元素:'."\n"
- .' - **ProxyPort**,Integer类型,必选,协议端口,取值:**80**、**443**。'."\n"
- .' - **RealServers**,[]String类型,必选,用户源站。例如,1.1.1.1:443。'."\n"
- .'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["1.1.1.1:443"]}],"ProxyType":"https"},{"ProxyRules":[{"ProxyPort":80,"RealServers":["1.1.1.1:80"]}],"ProxyType":"http"}]',
- ],
+ 'schema' => ['description' => '传入7层规则Layer7Rule数组JSON串。具体结构描述如下:'."\n"
+ ."\n"
+ .'- **ProxyRules**,数组类型,必选,规则对象数组,包含以下元素:'."\n"
+ .' - **ProxyPort**,Integer类型,必选,协议端口,取值:**80**、**443**。'."\n"
+ .' - **RealServers**,[]String类型,必选,用户源站。例如,1.1.1.1:443。'."\n"
+ .'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["1.1.1.1:443"]}],"ProxyType":"https"},{"ProxyRules":[{"ProxyPort":80,"RealServers":["1.1.1.1:80"]}],"ProxyType":"http"}]'],
],
[
'name' => 'InstanceIds',
@@ -3236,9 +2058,7 @@
."\n"
.'> 若不传入该参数,则只添加域名,不绑定到具体IP。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXX',
'maxItems' => 100,
@@ -3250,59 +2070,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<CreateLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建7层转发规则',
- 'summary' => '调用CreateLayer7Rule创建7层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer4Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DeleteLayer4Rule删除4层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105410',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
- ."\n"
- .'> 目前不支持批量删除,每次只允许删除一个对象。 '."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"InstanceId":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","Protocol":"tcp","FrontendPort":80}',
- ],
+ 'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
+ ."\n"
+ .'> 目前不支持批量删除,每次只允许删除一个对象。 '."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。', 'type' => 'string', 'required' => true, 'example' => '{"InstanceId":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","Protocol":"tcp","FrontendPort":80}'],
],
],
'responses' => [
@@ -3310,73 +2116,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DeleteLayer4RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除4层转发规则',
- 'summary' => '调用DeleteLayer4Rule删除4层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer7CCRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DeleteLayer7CCRule删除7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105411',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '要删除的CC自定义规则名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testCcRule1',
- ],
+ 'schema' => ['description' => '要删除的CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
],
'responses' => [
@@ -3384,63 +2166,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DeleteLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除7层CC规则',
- 'summary' => '调用DeleteLayer7CCRule删除7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer7Rule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DeleteLayer7Rule删除7层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105412',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -3448,96 +2211,59 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DeleteLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除7层转发规则',
- 'summary' => '调用DeleteLayer7Rule删除7层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeBatchSlsDispatchStatus' => [
'summary' => '调用DescribeBatchSlsDispatchStatus接口分页查询域名的全量日志分析启用状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105419',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,最大值20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,最大值20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -3545,35 +2271,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '域名记录总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'TotalCount' => ['description' => '域名记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'SlsConfigStatusList' => [
'description' => '域名的全量日志分析启用状态列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'Enable' => [
- 'description' => '是否启用全量日志分析功能:'."\n"
- .'- **true**:表示已启用'."\n"
- .'- **false**:表示已关闭',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Domain' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'Enable' => ['description' => '是否启用全量日志分析功能:'."\n"
+ .'- **true**:表示已启用'."\n"
+ .'- **false**:表示已关闭', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -3588,88 +2297,52 @@
'extraInfo' => ' ',
],
'DescribeDDoSTraffic' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeDDoSTraffic查询指定IP的DDoS攻击流量信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105426',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '查询开始时间戳(秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457324',
- ],
+ 'schema' => ['description' => '查询开始时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '采样间隔,单位:秒。必须是60秒的倍数,默认60s。返回结果可缩放。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '采样间隔,单位:秒。必须是60秒的倍数,默认60s。返回结果可缩放。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3289457398',
- ],
+ 'schema' => ['description' => '结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'],
],
[
'name' => 'Eip',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的EIP地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
],
'responses' => [
@@ -3677,47 +2350,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DefenseInBytes' => [
- 'description' => '清洗流量,单位:byte。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '23482234',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'SourceInBytes' => [
- 'description' => '回源流量,单位:byte。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19284762',
- ],
+ 'DefenseInBytes' => ['description' => '清洗流量,单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '23482234'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'SourceInBytes' => ['description' => '回源流量,单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '19284762'],
'DDoSTrafficPoints' => [
'description' => '各时间点攻击流量信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Time' => [
- 'description' => '时间点(时间戳),单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '234082304',
- ],
- 'SourceMaxInBps' => [
- 'description' => '该时间点的总流量,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '129867',
- ],
- 'DefenseMaxInBps' => [
- 'description' => '该时间点的攻击流量,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '129867',
- ],
+ 'Time' => ['description' => '时间点(时间戳),单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '234082304'],
+ 'SourceMaxInBps' => ['description' => '该时间点的总流量,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'],
+ 'DefenseMaxInBps' => ['description' => '该时间点的攻击流量,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'],
],
],
],
@@ -3727,42 +2371,32 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DefenseInBytes\\": 23482234,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SourceInBytes\\": 19284762,\\n \\"DDoSTrafficPoints\\": [\\n {\\n \\"Time\\": 234082304,\\n \\"SourceMaxInBps\\": 129867,\\n \\"DefenseMaxInBps\\": 129867\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DefenseInBytes>23482234</DefenseInBytes>\\n<SourceInBytes>19284762</SourceInBytes>\\n<DDoSTrafficPoints>\\n <Time>234082304</Time>\\n <DefenseMaxInBps>129867</DefenseMaxInBps>\\n <SourceMaxInBps>129867</SourceMaxInBps>\\n</DDoSTrafficPoints>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的DDoS攻击流量信息',
- 'summary' => '调用DescribeDDoSTraffic查询指定IP的DDoS攻击流量信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainAccessMode' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeDomainAccessMode查询域名的接入模式。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105429',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'DomainList',
@@ -3771,9 +2405,7 @@
'schema' => [
'description' => '要查询的域名。所有多个域名,依次传入DomainList.1, DomainList.2, DomainList.3, ...',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => 'www.aliyun.com',
'maxItems' => 20,
@@ -3785,32 +2417,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DomainModeList' => [
'description' => '模式配置。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'AccessMode' => [
- 'description' => '接入模式,取值:'."\n"
- ."\n"
- .'- **0**:A记录'."\n"
- .'- **1**:高防'."\n"
- .'- **2**:回源',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Domain' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
+ 'AccessMode' => ['description' => '接入模式,取值:'."\n"
+ ."\n"
+ .'- **0**:A记录'."\n"
+ .'- **1**:高防'."\n"
+ .'- **2**:回源', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
],
],
],
@@ -3820,72 +2439,47 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainModeList\\": [\\n {\\n \\"AccessMode\\": 1,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeDomainAccessModeResponse>\\n <DomainModeList>\\n <element>\\n <AccessMode>1</AccessMode>\\n <Domain>www.alibaba.com</Domain>\\n </element>\\n <element>\\n <AccessMode>2</AccessMode>\\n <Domain>www.aliyun.com</Domain>\\n </element>\\n </DomainModeList>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeDomainAccessModeResponse>","errorExample":"{\\n \\"RequestId\\":\\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModeList\\":[\\n {\\n \\"Domain\\":\\"www.alibaba.com\\",\\n \\"AccessMode\\":1\\n },\\n {\\n \\"Domain\\":\\"www.aliyun.com\\",\\n \\"AccessMode\\":2\\n }\\n ]\\n}\\n"}]',
'title' => '查询域名的接入模式',
- 'summary' => '调用DescribeDomainAccessMode查询域名的接入模式。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainSlsStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询指定域名的全量日志分析的状态和对应日志库。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105444',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
@@ -3893,124 +2487,72 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SlsLogstore' => [
- 'description' => '对应的日志库。',
- 'type' => 'string',
- 'example' => 'ddoscoo-logstore',
- ],
- 'SlsStatus' => [
- 'description' => '是否启用全量日志分析功能:'."\n"
- .'- **true**:表示已启用'."\n"
- .'- **false**:表示已关闭',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SlsProject' => [
- 'description' => '对应的日志项目名称。',
- 'type' => 'string',
- 'example' => 'ddoscoo-project-xxxx-cn-hangzhou',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'SlsLogstore' => ['description' => '对应的日志库。', 'type' => 'string', 'example' => 'ddoscoo-logstore'],
+ 'SlsStatus' => ['description' => '是否启用全量日志分析功能:'."\n"
+ .'- **true**:表示已启用'."\n"
+ .'- **false**:表示已关闭', 'type' => 'boolean', 'example' => 'true'],
+ 'SlsProject' => ['description' => '对应的日志项目名称。', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsLogstore\\": \\"ddoscoo-logstore\\",\\n \\"SlsStatus\\": true,\\n \\"SlsProject\\": \\"ddoscoo-project-xxxx-cn-hangzhou\\",\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<SlsProject>ddoscoo-project-xxxx-cn-hangzhou</SlsProject>\\n<SlsStatus>true</SlsStatus>\\n<SlsLogstore>ddoscoo-logstore</SlsLogstore>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询全量日志分析的状态和对应日志库',
- 'summary' => '查询指定域名的全量日志分析的状态和对应日志库。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomains' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeDomains查询7层转发规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105443',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'],
],
[
'name' => 'QueryDomainPattern',
'in' => 'query',
- 'schema' => [
- 'description' => '查询匹配模式。取值:'."\n"
- ."\n"
- .'- **fuzzy**:模糊查询(默认)'."\n"
- .'- **exact**:精确查询',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fuzzy',
- ],
+ 'schema' => ['description' => '查询匹配模式。取值:'."\n"
+ ."\n"
+ .'- **fuzzy**:模糊查询(默认)'."\n"
+ .'- **exact**:精确查询', 'type' => 'string', 'required' => false, 'example' => 'fuzzy'],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,即每页显示多少条记录。最大值**10**。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,即每页显示多少条记录。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
'name' => 'InstanceIds',
@@ -4019,9 +2561,7 @@
'schema' => [
'description' => 'DDoS高防实例ID。若指定多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 100,
@@ -4033,91 +2573,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '域名总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Domains' => [
'description' => '域名列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'SslCiphers' => [
- 'description' => 'SSL加密套件类型。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'CcRuleEnabled' => [
- 'description' => '是否启用CC规则。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Domain' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'CertName' => [
- 'description' => '证书名称。',
- 'type' => 'string',
- 'example' => 'testCertName',
- ],
- 'SslProtocols' => [
- 'description' => 'SSL协议类型。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Cname' => [
- 'description' => 'DDoS高防实例分配的CNAME地址。',
- 'type' => 'string',
- 'example' => 'xxxxxxx.aliyunddos1006.com',
- ],
- 'Http2Enable' => [
- 'description' => '是否开启HTTP2。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CcTemplate' => [
- 'description' => 'CC防护模板。',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'CcEnabled' => [
- 'description' => '是否启用CC防护。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'SslCiphers' => ['description' => 'SSL加密套件类型。', 'type' => 'string', 'example' => 'xx'],
+ 'CcRuleEnabled' => ['description' => '是否启用CC规则。', 'type' => 'boolean', 'example' => 'true'],
+ 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
+ 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testCertName'],
+ 'SslProtocols' => ['description' => 'SSL协议类型。', 'type' => 'string', 'example' => 'xx'],
+ 'Cname' => ['description' => 'DDoS高防实例分配的CNAME地址。', 'type' => 'string', 'example' => 'xxxxxxx.aliyunddos1006.com'],
+ 'Http2Enable' => ['description' => '是否开启HTTP2。', 'type' => 'boolean', 'example' => 'true'],
+ 'CcTemplate' => ['description' => 'CC防护模板。', 'type' => 'string', 'example' => 'normal'],
+ 'CcEnabled' => ['description' => '是否启用CC防护。', 'type' => 'boolean', 'example' => 'true'],
'ProxyTypeList' => [
'description' => '协议类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ProxyType' => [
- 'description' => '协议类型。取值:'."\n"
- ."\n"
- .'- **http**'."\n"
- .'- **https**'."\n"
- .'- **websocket**'."\n"
- .'- **websockets**',
- 'type' => 'string',
- 'example' => 'http',
- ],
+ 'ProxyType' => ['description' => '协议类型。取值:'."\n"
+ ."\n"
+ .'- **http**'."\n"
+ .'- **https**'."\n"
+ .'- **websocket**'."\n"
+ .'- **websockets**', 'type' => 'string', 'example' => 'http'],
'ProxyPorts' => [
'type' => 'array',
- 'items' => [
- 'description' => '协议端口。',
- 'type' => 'string',
- 'example' => '111',
- ],
+ 'items' => ['description' => '协议端口。', 'type' => 'string', 'example' => '111'],
],
],
],
@@ -4128,42 +2615,23 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RsType' => [
- 'description' => '源站类型。取值:'."\n"
- ."\n"
- .'- **0**:IP'."\n"
- .'- **1**:域名',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RealServer' => [
- 'description' => '源站地址。',
- 'type' => 'string',
- 'example' => '1.1.1.1',
- ],
+ 'RsType' => ['description' => '源站类型。取值:'."\n"
+ ."\n"
+ .'- **0**:IP'."\n"
+ .'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RealServer' => ['description' => '源站地址。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
'BlackList' => [
'type' => 'array',
- 'items' => [
- 'description' => '黑名单IP列表。',
- 'type' => 'string',
- 'example' => '["1.1.1.1/1","1.1.1.2/2"]',
- ],
+ 'items' => ['description' => '黑名单IP列表。', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'],
],
'WhiteList' => [
'type' => 'array',
- 'items' => [
- 'description' => '白名单IP列表。',
- 'type' => 'string',
- 'example' => '["1.1.1.1/1","1.1.1.2/2"]',
- ],
- ],
- 'CertRegion' => [
- 'type' => 'string',
+ 'items' => ['description' => '白名单IP列表。', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'],
],
+ 'CertRegion' => ['type' => 'string'],
],
],
],
@@ -4173,59 +2641,44 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Domains\\": [\\n {\\n \\"SslCiphers\\": \\"xx\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"CertName\\": \\"testCertName\\",\\n \\"SslProtocols\\": \\"xx\\",\\n \\"Cname\\": \\"xxxxxxx.aliyunddos1006.com\\",\\n \\"Http2Enable\\": true,\\n \\"CcTemplate\\": \\"normal\\",\\n \\"CcEnabled\\": true,\\n \\"ProxyTypeList\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"111\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.1.1.1\\"\\n }\\n ],\\n \\"BlackList\\": [\\n \\"[\\\\\\"1.1.1.1/1\\\\\\",\\\\\\"1.1.1.2/2\\\\\\"]\\"\\n ],\\n \\"WhiteList\\": [\\n \\"[\\\\\\"1.1.1.1/1\\\\\\",\\\\\\"1.1.1.2/2\\\\\\"]\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>2</Total>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n<Domains>\\n <Domain>www.alibaba.com</Domain>\\n <ProxyTypeList>\\n <ProxyType>http</ProxyType>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n </ProxyTypeList>\\n <RealServers>\\n <RealServer>1.1.1.1</RealServer>\\n <RsType>0</RsType>\\n </RealServers>\\n <RealServers>\\n <RealServer>1.1.1.2</RealServer>\\n <RsType>1</RsType>\\n </RealServers>\\n <CcEnabled>false</CcEnabled>\\n <Cname>xxxxxxx.aliyunddos1006.com</Cname>\\n <CcRuleEnabled>true</CcRuleEnabled>\\n <CcTemplate>default</CcTemplate>\\n <BlackList>1.1.1.1/1</BlackList>\\n <BlackList>1.1.1.2/2</BlackList>\\n <WhiteList>1.1.1.1/1</WhiteList>\\n <WhiteList>1.1.1.2/2</WhiteList>\\n <CertName>www_alibaba_com.pem</CertName>\\n</Domains>\\n<Domains>\\n <Domain>www.alibaba.com</Domain>\\n <ProxyTypeList>\\n <ProxyType>http</ProxyType>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n </ProxyTypeList>\\n <RealServers>\\n <RealServer>1.1.1.1</RealServer>\\n <RsType>0</RsType>\\n </RealServers>\\n <RealServers>\\n <RealServer>1.1.1.2</RealServer>\\n <RsType>1</RsType>\\n </RealServers>\\n <CcEnabled>false</CcEnabled>\\n <Cname>xxxxxxx.aliyunddos1006.com</Cname>\\n <CcRuleEnabled>true</CcRuleEnabled>\\n <CcTemplate>default</CcTemplate>\\n <BlackList>1.1.1.1/1</BlackList>\\n <BlackList>1.1.1.2/2</BlackList>\\n <WhiteList>1.1.1.1/1</WhiteList>\\n <WhiteList>1.1.1.2/2</WhiteList>\\n <CertName>www_alibaba_com.pem</CertName>\\n</Domains>","errorExample":"{\\n \\"Total\\": 2,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Domains\\": [\\n \\t{\\n\\t\\t\\"Domain\\": \\"www.alibaba.com\\",\\n\\t\\t\\"ProxyTypeList\\": [{\\n \\t\\t\\"ProxyType\\":\\"http\\",\\n \\t\\t\\"ProxyPorts\\":[\\n \\t\\t\\t80,\\n \\t\\t\\t8080\\n \\t\\t\\t\\t]\\n \\t}],\\n\\t\\t\\"RealServers\\": [{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.1\\",\\n\\t\\t\\t\\"RsType\\":0\\n\\t\\t},{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.2\\",\\n\\t\\t\\t\\"RsType\\":1\\n\\t\\t\\t}\\n\\t\\t],\\n\\t\\t\\"CcEnabled\\" : false,\\n\\t\\t\\"CcRuleEnabled\\" : true,\\n\\t\\t\\"CcTemplate\\" : \\"default\\",\\n\\t\\t\\"BlackList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"WhiteList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"CertName\\" : \\"www_alibaba_com.pem\\"\\n\\t},{\\n\\t\\t\\"Domain\\": \\"www.alibaba.com\\",\\n\\t\\t\\"ProxyTypeList\\": [{\\n \\t\\t\\"ProxyType\\":\\"http\\",\\n \\t\\t\\"ProxyPorts\\":[\\n \\t\\t\\t80,\\n \\t\\t\\t8080\\n \\t\\t\\t\\t]\\n \\t}],\\n\\t\\t\\"RealServers\\": [{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.1\\",\\n\\t\\t\\t\\"RsType\\":0\\n\\t\\t},{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.2\\",\\n\\t\\t\\t\\"RsType\\":1\\n\\t\\t\\t}\\n\\t\\t],\\n\\t\\t\\"CcEnabled\\" : false,\\n\\t\\t\\"CcRuleEnabled\\" : true,\\n\\t\\t\\"CcTemplate\\" : \\"default\\",\\n\\t\\t\\"BlackList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"WhiteList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"CertName\\" : \\"www_alibaba_com.pem\\"\\n\\t}\\n ]\\n}\\n\\t\\t\\t\\t"}]',
'title' => '查询已配置网站业务转发规则的域名',
- 'summary' => '调用DescribeDomains查询7层转发规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeHealthCheckList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询端口转发规则的健康检查配置(四层或七层)。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105456',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的Listeners数组JSON串,每个Listener的具体结构描述如下:'."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
- .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
- .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
- .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]',
- ],
+ 'schema' => ['description' => '要查询的Listeners数组JSON串,每个Listener的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
+ .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
+ .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
+ .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
@@ -4233,85 +2686,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Listeners' => [
'description' => '返回的Listener信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FrontendPort' => [
- 'description' => '转发端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
- 'InstanceId' => [
- 'description' => '新BGP高防实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'Protocol' => [
- 'description' => '协议类型。',
- 'type' => 'string',
- 'example' => 'tcp',
- ],
+ 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ 'InstanceId' => ['description' => '新BGP高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'HealthCheck' => [
'description' => '健康检查信息。',
'type' => 'object',
'properties' => [
- 'Timeout' => [
- 'description' => '健康检查/四层健康检查/响应超时时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'Type' => [
- 'description' => '协议类型,取值:'."\n"
- ."\n"
- .'- **TCP**:四层'."\n"
- .'- **HTTP**:七层',
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'Domain' => [
- 'description' => '健康检查/七层健康检查/域名。',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Interval' => [
- 'description' => '健康检查/四层健康检查/检查间隔。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Up' => [
- 'description' => '健康检查/四层健康检查/健康阈值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'Down' => [
- 'description' => '健康检查/四层健康检查/不健康阈值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'Port' => [
- 'description' => '健康检查/四层健康检查/检查端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
- 'Uri' => [
- 'description' => '健康检查/七层健康检查/检查路径。',
- 'type' => 'string',
- 'example' => '/a/b/c',
- ],
+ 'Timeout' => ['description' => '健康检查/四层健康检查/响应超时时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'Type' => ['description' => '协议类型,取值:'."\n"
+ ."\n"
+ .'- **TCP**:四层'."\n"
+ .'- **HTTP**:七层', 'type' => 'string', 'example' => 'tcp'],
+ 'Domain' => ['description' => '健康检查/七层健康检查/域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
+ 'Interval' => ['description' => '健康检查/四层健康检查/检查间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'Up' => ['description' => '健康检查/四层健康检查/健康阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'Down' => ['description' => '健康检查/四层健康检查/不健康阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'Port' => ['description' => '健康检查/四层健康检查/检查端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ 'Uri' => ['description' => '健康检查/七层健康检查/检查路径。', 'type' => 'string', 'example' => '/a/b/c'],
],
],
],
@@ -4323,59 +2722,44 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 1000,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 1000,\\n \\"Down\\": 500,\\n \\"Port\\": 233,\\n \\"Uri\\": \\"/a/b/c\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeHealthCheckListResponse>\\n <HealthCheck>\\n <element>\\n <FrontendPort>80</FrontendPort>\\n <HealthCheck>\\n <Down>20</Down>\\n <Interval>10</Interval>\\n <Port>80</Port>\\n <Timeout>10</Timeout>\\n <Type>tcp</Type>\\n <Up>10</Up>\\n </HealthCheck>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n </element>\\n </HealthCheck>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeHealthCheckListResponse>","errorExample":"{\\n \\"Total\\": 1,\\n \\"HealthCheck\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n \\"HealthCheck\\": {\\n \\"Type\\": \\"tcp\\",\\n \\"Timeout\\": 10,\\n \\"Port\\": 80,\\n \\"Interval\\": 10,\\n \\"Up\\": 10,\\n \\"Down\\": 20\\n }\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询健康检查配置',
- 'summary' => '查询端口转发规则的健康检查配置(四层或七层)。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeHealthCheckStatusList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeHealthCheckStatusList查询健康检查状态。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105457',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的转发规则Listeners数组(JSON字符串),每个Listener的具体结构描述如下:'."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
- .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
- .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
- .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]',
- ],
+ 'schema' => ['description' => '要查询的转发规则Listeners数组(JSON字符串),每个Listener的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
+ .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
+ .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
+ .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
@@ -4383,54 +2767,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'HealthCheckStatusList' => [
'description' => '健康检查状态列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态,取值:**normal**、**abnormal**。 ',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'FrontendPort' => [
- 'description' => '前端端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
- 'InstanceId' => [
- 'description' => '实例Id。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'Protocol' => [
- 'description' => '协议类型。',
- 'type' => 'string',
- 'example' => 'tcp',
- ],
+ 'Status' => ['description' => '状态,取值:**normal**、**abnormal**。 ', 'type' => 'string', 'example' => 'normal'],
+ 'FrontendPort' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ 'InstanceId' => ['description' => '实例Id。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'RealServerStatusList' => [
'description' => '源站状态JSON数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态,取值:**normal**、**abnormal**。 ',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'Address' => [
- 'description' => '源站IP。',
- 'type' => 'string',
- 'example' => '1.1.1.1',
- ],
+ 'Status' => ['description' => '状态,取值:**normal**、**abnormal**。 ', 'type' => 'string', 'example' => 'normal'],
+ 'Address' => ['description' => '源站IP。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
@@ -4443,53 +2798,38 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"HealthCheckStatusList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"RealServerStatusList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"Address\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeHealthCheckStatusListResponse>\\n <HealthCheckStatusList>\\n <element>\\n <FrontendPort>80</FrontendPort>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n <RealServerStatusList>\\n <Address>1.1.1.1</Address>\\n <Status>normal</Status>\\n </RealServerStatusList>\\n <Status>normal</Status>\\n </element>\\n </HealthCheckStatusList>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeHealthCheckStatusListResponse>","errorExample":"{\\n \\"HealthCheckStatusList\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"Status\\": \\"normal\\",\\n\\t \\"RealServerStatusList\\": [\\n \\"Status\\": \\"normal\\",\\n \\"Address\\": \\"1.1.1.1\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询健康检查状态',
- 'summary' => '调用DescribeHealthCheckStatusList查询健康检查状态。',
'description' => '查询健康检查状态列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceDetails' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeInstanceDetails查询指定实例的详情信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105458',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,`["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]`。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]',
- ],
+ 'schema' => ['description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,`["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]`。', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]'],
],
],
'responses' => [
@@ -4497,47 +2837,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceDetails' => [
'description' => '实例详情列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Line' => [
- 'description' => '实例线路。例如,**coop-line-001**。 ',
- 'type' => 'string',
- 'example' => 'coop-line-001',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'Line' => ['description' => '实例线路。例如,**coop-line-001**。 ', 'type' => 'string', 'example' => 'coop-line-001'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'EipInfoList' => [
'description' => '与该实例绑定的EIP信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'EIP状态,取值:'."\n"
- ."\n"
- .'- **normal**:正常'."\n"
- .'- **cleaning**:清洗中'."\n"
- .'- **blackhole**:黑洞中',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'Eip' => [
- 'description' => 'EIP值。',
- 'type' => 'string',
- 'example' => '1.1.1.1',
- ],
+ 'Status' => ['description' => 'EIP状态,取值:'."\n"
+ ."\n"
+ .'- **normal**:正常'."\n"
+ .'- **cleaning**:清洗中'."\n"
+ .'- **blackhole**:黑洞中', 'type' => 'string', 'example' => 'normal'],
+ 'Eip' => ['description' => 'EIP值。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
@@ -4550,119 +2870,71 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"EipInfoList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"Eip\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceDetailsResponse>\\n <InstanceDetails>\\n <element>\\n <EipInfoList>\\n <element>\\n <Eip>1.1.1.1</Eip>\\n <Status>normal</Status>\\n </element>\\n </EipInfoList>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Line>coop-line-001</Line>\\n </element>\\n </InstanceDetails>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeInstanceDetailsResponse>","errorExample":"{\\n \\"InstanceDetails\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Line\\": \\"coop-line-001\\",\\n \\"EipInfoList\\": [\\n {\\n \\"Eip\\": \\"1.1.1.1\\",\\n \\"Status\\": \\"normal\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询DDoS高防实例的IP和线路信息',
- 'summary' => '调用DescribeInstanceDetails查询指定实例的详情信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeIpTraffic' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeIpTraffic查询指定IP的业务流量信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105463',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳(秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1536734112',
- ],
+ 'schema' => ['description' => '开始时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734112'],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '采样间隔(秒),必须是60秒的倍数,默认值60s。采样结果可缩放。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '采样间隔(秒),必须是60秒的倍数,默认值60s。采样结果可缩放。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳(秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1536734120',
- ],
+ 'schema' => ['description' => '结束时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734120'],
],
[
'name' => 'Eip',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的EIP地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
[
'name' => 'Port',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的端口。 '."\n"
- ."\n"
- .'> 若不传入该参数,则查询EIP下所有端口的流量。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '233',
- ],
+ 'schema' => ['description' => '要查询的端口。 '."\n"
+ ."\n"
+ .'> 若不传入该参数,则查询EIP下所有端口的流量。 ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'],
],
[
'name' => 'QueryProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的协议类型。'."\n"
- ."\n"
- .'> 若不传入该参数,则查询EIP下所有协议类型的流量。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http',
- ],
+ 'schema' => ['description' => '要查询的协议类型。'."\n"
+ ."\n"
+ .'> 若不传入该参数,则查询EIP下所有协议类型的流量。 ', 'type' => 'string', 'required' => false, 'example' => 'http'],
],
],
'responses' => [
@@ -4670,77 +2942,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AvgInBps' => [
- 'description' => '平均入带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
- 'MaxInBps' => [
- 'description' => '最大入带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'AvgOutBps' => [
- 'description' => '平均出带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'MaxOutBps' => [
- 'description' => '最大出带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
+ 'AvgInBps' => ['description' => '平均入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
+ 'MaxInBps' => ['description' => '最大入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'AvgOutBps' => ['description' => '平均出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'MaxOutBps' => ['description' => '最大出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'IpTrafficPoints' => [
'description' => '具体的时间点列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ActConns' => [
- 'description' => '活跃的并发连接数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Time' => [
- 'description' => '时间点(时间戳),单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1536734112',
- ],
- 'InactConns' => [
- 'description' => '非活跃的并发连接数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MaxInbps' => [
- 'description' => '最大入带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'MaxOutbps' => [
- 'description' => '最大出带宽,单位:bps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'Cps' => [
- 'description' => '连接新建速率。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'ActConns' => ['description' => '活跃的并发连接数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Time' => ['description' => '时间点(时间戳),单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1536734112'],
+ 'InactConns' => ['description' => '非活跃的并发连接数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MaxInbps' => ['description' => '最大入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'MaxOutbps' => ['description' => '最大出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'Cps' => ['description' => '连接新建速率。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
@@ -4750,59 +2968,44 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"AvgInBps\\": 10000,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"MaxInBps\\": 10000,\\n \\"AvgOutBps\\": 10000,\\n \\"MaxOutBps\\": 10000,\\n \\"IpTrafficPoints\\": [\\n {\\n \\"ActConns\\": 100,\\n \\"Time\\": 1536734112,\\n \\"InactConns\\": 100,\\n \\"MaxInbps\\": 10000,\\n \\"MaxOutbps\\": 10000,\\n \\"Cps\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MaxInBps>10000</MaxInBps>\\n<AvgInBps>10000</AvgInBps>\\n<MaxOutBps>10000</MaxOutBps>\\n<AvgOutBps>10000</AvgOutBps>\\n<IpTrafficPoints>\\n <Time>1536734112</Time>\\n <MaxInBps>10000</MaxInBps>\\n <MaxOutBps>10000</MaxOutBps>\\n <Cps>100</Cps>\\n <ActConns>100</ActConns>\\n <InactConns>100</InactConns>\\n</IpTrafficPoints>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的业务流量信息',
- 'summary' => '调用DescribeIpTraffic查询指定IP的业务流量信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLayer4RuleAttributes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '包括会话保持和DDoS防护策略。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105465',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
- 'schema' => [
- 'description' => '传入要查询的Listener数组JSON串,每个Listener的具体结构描述如下:'."\n"
- ."\n"
- .'- **InstanceId**,String类型,必选,实例ID。'."\n"
- .'- **Protocol**,String类型,必选,协议类型。'."\n"
- .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0~65535。'."\n"
- .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0~65535。'."\n"
- .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
- .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]',
- ],
+ 'schema' => ['description' => '传入要查询的Listener数组JSON串,每个Listener的具体结构描述如下:'."\n"
+ ."\n"
+ .'- **InstanceId**,String类型,必选,实例ID。'."\n"
+ .'- **Protocol**,String类型,必选,协议类型。'."\n"
+ .'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0~65535。'."\n"
+ .'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0~65535。'."\n"
+ .'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
+ .'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
@@ -4810,166 +3013,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Listeners' => [
'description' => 'Listener数组JSON串。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FrontendPort' => [
- 'description' => '前端使用的端口,范围:0~65535。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'Protocol' => [
- 'description' => '协议类型。',
- 'type' => 'string',
- 'example' => 'tcp',
- ],
+ 'FrontendPort' => ['description' => '前端使用的端口,范围:0~65535。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'Config' => [
'description' => 'TCP配置。',
'type' => 'object',
'properties' => [
- 'NodataConn' => [
- 'description' => 'DDoS防护策略的空连接,取值:**off**、**on**。 ',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'Synproxy' => [
- 'description' => 'DDoS防护策略的虚假源,取值:**off**、**on**。 ',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'PersistenceTimeout' => [
- 'description' => '会话保持的超时时间,单位为秒。默认为**0**,表示关闭。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'NodataConn' => ['description' => 'DDoS防护策略的空连接,取值:**off**、**on**。 ', 'type' => 'string', 'example' => 'on'],
+ 'Synproxy' => ['description' => 'DDoS防护策略的虚假源,取值:**off**、**on**。 ', 'type' => 'string', 'example' => 'on'],
+ 'PersistenceTimeout' => ['description' => '会话保持的超时时间,单位为秒。默认为**0**,表示关闭。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Sla' => [
'description' => '目的限速配置。',
'type' => 'object',
'properties' => [
- 'MaxconnEnable' => [
- 'description' => '是否开启目的并发连接限速,取值:'."\n"
- ."\n"
- .'- **0**:关闭'."\n"
- .'- **1**:开启(默认)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CpsEnable' => [
- 'description' => '是否开启目的新建连接限速,取值:'."\n"
- ."\n"
- .'- **0**:关闭'."\n"
- .'- **1**:开启(默认)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Cps' => [
- 'description' => '目的新建连接限速阈值,取值范围:100~100,000(个)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Maxconn' => [
- 'description' => '目的并发连接限速阈值,取值范围:1,000~1,000,000(个)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
+ 'MaxconnEnable' => ['description' => '是否开启目的并发连接限速,取值:'."\n"
+ ."\n"
+ .'- **0**:关闭'."\n"
+ .'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CpsEnable' => ['description' => '是否开启目的新建连接限速,取值:'."\n"
+ ."\n"
+ .'- **0**:关闭'."\n"
+ .'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Cps' => ['description' => '目的新建连接限速阈值,取值范围:100~100,000(个)。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Maxconn' => ['description' => '目的并发连接限速阈值,取值范围:1,000~1,000,000(个)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
],
],
'Slimit' => [
'description' => '源限速配置。',
'type' => 'object',
'properties' => [
- 'MaxconnEnable' => [
- 'description' => '是否开启源并发连接限速,取值:'."\n"
- ."\n"
- .'- **0**:关闭'."\n"
- .'- **1**:开启(默认)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CpsEnable' => [
- 'description' => '是否开启源新建连接限速,取值:'."\n"
- ."\n"
- .'- **0**:关闭'."\n"
- .'- **1**:开启(默认)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Cps' => [
- 'description' => '源新建连接限速阈值,取值范围:100~100,000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Pps' => [
- 'description' => '源PPS限速,单位Packet/s,取值范围:1~100000。'."\n"
- ."\n"
- .'> 当参数值为**0**时,表示未开启源PPS限速。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Bps' => [
- 'description' => '源带宽限速,单位Byte/s,取值范围:1024~68435456。'."\n"
- ."\n"
- .'> 当参数值为**0**时,表示未开启源带宽限速。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Maxconn' => [
- 'description' => '源并发连接限速阈值,取值范围:1,000~1,000,000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'CpsMode' => [
- 'description' => '源新建连接限速状态,取值:'."\n"
- ."\n"
- .'- **1**:手动'."\n"
- .'- **2**:自动',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'MaxconnEnable' => ['description' => '是否开启源并发连接限速,取值:'."\n"
+ ."\n"
+ .'- **0**:关闭'."\n"
+ .'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CpsEnable' => ['description' => '是否开启源新建连接限速,取值:'."\n"
+ ."\n"
+ .'- **0**:关闭'."\n"
+ .'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Cps' => ['description' => '源新建连接限速阈值,取值范围:100~100,000。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Pps' => ['description' => '源PPS限速,单位Packet/s,取值范围:1~100000。'."\n"
+ ."\n"
+ .'> 当参数值为**0**时,表示未开启源PPS限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Bps' => ['description' => '源带宽限速,单位Byte/s,取值范围:1024~68435456。'."\n"
+ ."\n"
+ .'> 当参数值为**0**时,表示未开启源带宽限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Maxconn' => ['description' => '源并发连接限速阈值,取值范围:1,000~1,000,000。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'CpsMode' => ['description' => '源新建连接限速状态,取值:'."\n"
+ ."\n"
+ .'- **1**:手动'."\n"
+ .'- **2**:自动', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
'PayloadLen' => [
'description' => '包过滤配置。',
'type' => 'object',
'properties' => [
- 'Min' => [
- 'description' => 'DDoS防护策略/包长度过滤,包长度的最小值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Max' => [
- 'description' => 'DDoS防护策略/包长度过滤,包长度的最大值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'Min' => ['description' => 'DDoS防护策略/包长度过滤,包长度的最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Max' => ['description' => 'DDoS防护策略/包长度过滤,包长度的最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
'Cc' => [
@@ -4982,35 +3090,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'IP黑名单配置类型,取值:'."\n"
- ."\n"
- .'- **1**:表示源新建连接IP黑名单。'."\n"
- .'- **2**:表示源并发连接IP黑名单。'."\n"
- .'- **3**:表示源PPS连接IP黑名单。'."\n"
- .'- **4**:表示源带宽连接IP黑名单。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'During' => [
- 'description' => '间隔时长。单位秒,固定取值**60**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Expires' => [
- 'description' => '黑名单有效时长,单位秒,取值范围:60~604800。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1800',
- ],
- 'Cnt' => [
- 'description' => '新建连接次数,固定取值**5**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'Type' => ['description' => 'IP黑名单配置类型,取值:'."\n"
+ ."\n"
+ .'- **1**:表示源新建连接IP黑名单。'."\n"
+ .'- **2**:表示源并发连接IP黑名单。'."\n"
+ .'- **3**:表示源PPS连接IP黑名单。'."\n"
+ .'- **4**:表示源带宽连接IP黑名单。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'During' => ['description' => '间隔时长。单位秒,固定取值**60**。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Expires' => ['description' => '黑名单有效时长,单位秒,取值范围:60~604800。', 'type' => 'integer', 'format' => 'int32', 'example' => '1800'],
+ 'Cnt' => ['description' => '新建连接次数,固定取值**5**。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
@@ -5027,98 +3115,61 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"on\\",\\n \\"Synproxy\\": \\"on\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 100,\\n \\"Maxconn\\": 1000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 100,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 1000,\\n \\"CpsMode\\": 2\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 2\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 1800,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Listeners>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n <FrontendPort>80</FrontendPort>\\n <Config>\\n <Cc>\\n <Sblack>\\n <Type>1</Type>\\n <Cnt>5</Cnt>\\n <Expires>1800</Expires>\\n <During>60</During>\\n </Sblack>\\n </Cc>\\n <PersistenceTimeout>80</PersistenceTimeout>\\n <Synproxy>off</Synproxy>\\n <NodataConn>on</NodataConn>\\n <Sla>\\n <Cps>10</Cps>\\n <Maxconn>10</Maxconn>\\n <CpsEnable>1</CpsEnable>\\n <MaxconnEnable>1</MaxconnEnable>\\n </Sla>\\n <Slimit>\\n <bps>0</bps>\\n <Cps>10</Cps>\\n <Maxconn>10</Maxconn>\\n <CpsEnable>1</CpsEnable>\\n <MaxconnEnable>1</MaxconnEnable>\\n <pps>0</pps>\\n </Slimit>\\n <PayloadLen>\\n <Min>1</Min>\\n <Max>2</Max>\\n </PayloadLen>\\n </Config>\\n</Listeners>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n \\"Config\\": {\\n \\"PersistenceTimeout\\": 80,\\n \\"Synproxy\\": \\"off\\",\\n\\t\\t\\"NodataConn\\": \\"on\\",\\n \\"Sla\\": {\\n \\"Cps\\": 10,\\n \\"Maxconn\\": 10,\\n\\t\\t \\"CpsEnable\\": 1,\\n\\t\\t \\"MaxconnEnable\\": 1\\n },\\n \\"Slimit\\": {\\n \\"Cps\\": 10,\\n \\"Maxconn\\": 10,\\n\\t\\t \\"CpsEnable\\": 1,\\n\\t\\t \\"MaxconnEnable\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 2\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询四层转发属性',
- 'summary' => '包括会话保持和DDoS防护策略。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLayer4Rules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeLayer4Rules查询DDoS高防实例端口转发规则的详细配置。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105466',
- 'abilityTreeNodes' => [
- 'FEATUREddosRTUJBH',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源ip。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.XX.XX',
- ],
+ 'schema' => ['description' => '请求源ip。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的DDoS高防实例的ID。'."\n"
- ."\n"
- .'> 您可以调用[DescribeInstances](~~91478~~)查询所有DDoS高防实例的ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddoscoo-cn-zvp2ay9b****',
- ],
+ 'schema' => ['description' => '要查询的DDoS高防实例的ID。'."\n"
+ ."\n"
+ .'> 您可以调用[DescribeInstances](~~91478~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-zvp2ay9b****'],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '转发协议类型。取值:'."\n"
- .'- **tcp**:表示TCP协议。'."\n"
- .'- **udp**:表示UDP协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tcp',
- ],
+ 'schema' => ['description' => '转发协议类型。取值:'."\n"
+ .'- **tcp**:表示TCP协议。'."\n"
+ .'- **udp**:表示UDP协议。', 'type' => 'string', 'required' => false, 'example' => 'tcp'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
- 'schema' => [
- 'description' => '转发端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '233',
- ],
+ 'schema' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时,返回第几页数据。最小值为**1**,表示返回第1页数据。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时,返回第几页数据。最小值为**1**,表示返回第1页数据。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时,每页包含结果的数量。最大值为**50**,表示每页最多包含50个结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时,每页包含结果的数量。最大值为**50**,表示每页最多包含50个结果。', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -5126,126 +3177,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '返回结果的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '949919A2-6636-1444-9213-AB27DD88AAA8',
- ],
+ 'Total' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '949919A2-6636-1444-9213-AB27DD88AAA8'],
'Listeners' => [
'description' => '端口转发规则的详细配置,包含转发端口、转发协议、源站地址等。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FrontendPort' => [
- 'description' => '转发端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
- 'BakMode' => [
- 'description' => '回源模式。取值:'."\n"
- ."\n"
- .'- **0**:表示默认回源模式。'."\n"
- .'- **1**:表示主备回源模式。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'IsAutoCreate' => [
- 'description' => '该规则是否自动创建。取值:'."\n"
- ."\n"
- .'- **true**:表示该规则由DDoS高防自动创建。'."\n"
- .'- **false**:表示该规则由您手动创建。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Remark' => [
- 'description' => '该端口转发规则的备注。',
- 'type' => 'string',
- 'example' => 'test-remark',
- ],
- 'Eip' => [
- 'description' => 'DDoS高防实例的IP。',
- 'type' => 'string',
- 'example' => '203.107.XX.XX',
- ],
- 'CurrentIndex' => [
- 'description' => '当前生效的源站类型。取值:'."\n"
- ."\n"
- .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n"
- .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Protocol' => [
- 'description' => '转发协议类型。',
- 'type' => 'string',
- 'example' => 'tcp',
- ],
- 'InstanceId' => [
- 'description' => 'DDoS高防实例的ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-zvp2ay9b****',
- ],
- 'BackendPort' => [
- 'description' => '源站端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '233',
- ],
+ 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ 'BakMode' => ['description' => '回源模式。取值:'."\n"
+ ."\n"
+ .'- **0**:表示默认回源模式。'."\n"
+ .'- **1**:表示主备回源模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'IsAutoCreate' => ['description' => '该规则是否自动创建。取值:'."\n"
+ ."\n"
+ .'- **true**:表示该规则由DDoS高防自动创建。'."\n"
+ .'- **false**:表示该规则由您手动创建。', 'type' => 'boolean', 'example' => 'false'],
+ 'Remark' => ['description' => '该端口转发规则的备注。', 'type' => 'string', 'example' => 'test-remark'],
+ 'Eip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.107.XX.XX'],
+ 'CurrentIndex' => ['description' => '当前生效的源站类型。取值:'."\n"
+ ."\n"
+ .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n"
+ .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Protocol' => ['description' => '转发协议类型。', 'type' => 'string', 'example' => 'tcp'],
+ 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2ay9b****'],
+ 'BackendPort' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'RealServers' => [
'description' => '源站IP地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '源站IP地址。',
- 'type' => 'string',
- 'example' => '["192.0.XX.XX"]',
- ],
- ],
- 'ProxyEnable' => [
- 'description' => '引流开关。取值:'."\n"
- .'- **0** 关闭。'."\n"
- .'- **1** 开启。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ProxyStatus' => [
- 'description' => '引流状态。取值:'."\n"
- ."\n"
- .'- on:引流生效'."\n"
- .'- off:引流失效',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'PayloadRuleEnable' => [
- 'description' => 'Payload策略模块开关。取值:'."\n"
- ."\n"
- .'- 1:开启'."\n"
- .'- 0:关闭',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
+ 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'example' => '["192.0.XX.XX"]'],
],
+ 'ProxyEnable' => ['description' => '引流开关。取值:'."\n"
+ .'- **0** 关闭。'."\n"
+ .'- **1** 开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ProxyStatus' => ['description' => '引流状态。取值:'."\n"
+ ."\n"
+ .'- on:引流生效'."\n"
+ .'- off:引流失效', 'type' => 'string', 'example' => 'on'],
+ 'PayloadRuleEnable' => ['description' => 'Payload策略模块开关。取值:'."\n"
+ ."\n"
+ .'- 1:开启'."\n"
+ .'- 0:关闭', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UsTimeout' => [
'type' => 'object',
'properties' => [
- 'ConnectTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RsTimeout' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
+ 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -5257,7 +3235,6 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"949919A2-6636-1444-9213-AB27DD88AAA8\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"BakMode\\": 0,\\n \\"IsAutoCreate\\": false,\\n \\"Remark\\": \\"test-remark\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"CurrentIndex\\": 1,\\n \\"Protocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2ay9b****\\",\\n \\"BackendPort\\": 233,\\n \\"RealServers\\": [\\n \\"[\\\\\\"192.0.XX.XX\\\\\\"]\\"\\n ],\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 0,\\n \\"UsTimeout\\": {\\n \\"ConnectTimeout\\": 0,\\n \\"RsTimeout\\": 0\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<DescribeLayer4RulesResponse>\\n\\t<Listeners>\\n\\t\\t<IsAutoCreate>false</IsAutoCreate>\\n\\t\\t<InstanceId>ddoscoo-cn-zvp2ay9b****</InstanceId>\\n\\t\\t<BackendPort>233</BackendPort>\\n\\t\\t<BakMode>0</BakMode>\\n\\t\\t<RealServers>192.0.XX.XX</RealServers>\\n\\t\\t<FrontendPort>233</FrontendPort>\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\n\\t\\t<Protocol>udp</Protocol>\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\n\\t\\t<Remark>test-remark</Remark>\\n\\t</Listeners>\\n\\t<RequestId>949919A2-6636-1444-9213-AB27DD88AAA8</RequestId>\\n\\t<Total>1</Total>\\n</DescribeLayer4RulesResponse>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"BackendPort\\":80,\\n \\"RealServers\\": [\\n \\"1.1.1.1\\",\\n \\"2.2.2.2\\"\\n ],\\n \\"IsAutoCreate\\": true\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的四层转发规则',
- 'summary' => '调用DescribeLayer4Rules查询DDoS高防实例端口转发规则的详细配置。',
'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~91858~~)。'."\n"
."\n"
.'调用API的请求格式,请参见本文**示例**中的请求示例。',
@@ -5265,78 +3242,49 @@
'extraInfo' => ' ',
],
'DescribeLayer7CCRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeLayer7CCRules查询7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105467',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => '开始索引位置,即从第几个结果开始返回。 '."\n"
- ."\n"
- .'> 若不传入该参数,则从第0个结果开始返回。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '开始索引位置,即从第几个结果开始返回。 '."\n"
+ ."\n"
+ .'> 若不传入该参数,则从第0个结果开始返回。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,即每页显示过少个结果。最大值**10**。 ',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,即每页显示过少个结果。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -5344,67 +3292,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7CCRules' => [
'description' => 'CC规则数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Ttl' => [
- 'description' => '若规则触发后动作指定为封禁,设置封禁时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'Act' => [
- 'description' => '规则触发后的操作,取值:'."\n"
- ."\n"
- .'- **close**:封禁'."\n"
- .'- **captcha**:人机识别',
- 'type' => 'string',
- 'example' => 'close',
- ],
- 'Interval' => [
- 'description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Mode' => [
- 'description' => 'URI匹配模式,取值:'."\n"
- ."\n"
- .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
- .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。',
- 'type' => 'string',
- 'example' => 'match',
- ],
- 'Name' => [
- 'description' => 'CC自定义规则名。',
- 'type' => 'string',
- 'example' => 'testCcRule1',
- ],
- 'Uri' => [
- 'description' => '被防护的URI。',
- 'type' => 'string',
- 'example' => '/a/b/c',
- ],
- 'Count' => [
- 'description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'Ttl' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'Act' => ['description' => '规则触发后的操作,取值:'."\n"
+ ."\n"
+ .'- **close**:封禁'."\n"
+ .'- **captcha**:人机识别', 'type' => 'string', 'example' => 'close'],
+ 'Interval' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Mode' => ['description' => 'URI匹配模式,取值:'."\n"
+ ."\n"
+ .'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
+ .'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'example' => 'match'],
+ 'Name' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'example' => 'testCcRule1'],
+ 'Uri' => ['description' => '被防护的URI。', 'type' => 'string', 'example' => '/a/b/c'],
+ 'Count' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
@@ -5414,130 +3322,78 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7CCRules\\": [\\n {\\n \\"Ttl\\": 1000,\\n \\"Act\\": \\"close\\",\\n \\"Interval\\": 60,\\n \\"Mode\\": \\"match\\",\\n \\"Name\\": \\"testCcRule1\\",\\n \\"Uri\\": \\"/a/b/c\\",\\n \\"Count\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeLayer7CCRulesResponse>\\r\\n <Layer7CCRules>\\r\\n <element>\\r\\n <Act>close</Act>\\r\\n <Count>11</Count>\\r\\n <Interval>5</Interval>\\r\\n <Mode>match</Mode>\\r\\n <Name>XXXX</Name>\\r\\n <Ttl>1</Ttl>\\r\\n <Uri>/a/b/c.htm</Uri>\\r\\n </element>\\r\\n <element>\\r\\n <Act>close</Act>\\r\\n <Count>11</Count>\\r\\n <Interval>5</Interval>\\r\\n <Mode>match</Mode>\\r\\n <Name>XXXX</Name>\\r\\n <Ttl>1</Ttl>\\r\\n <Uri>/a/b/c.htm</Uri>\\r\\n </element>\\r\\n </Layer7CCRules>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n <Total>10</Total>\\r\\n</DescribeLayer7CCRulesResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Total\\": 10,\\n \\"Layer7CCRules\\" :[\\n \\t{\\n\\t\\t\\"Name\\":\\"XXXX\\",\\n\\t\\t\\"Act\\":\\"close\\",\\n\\t\\t\\"Count\\":11,\\n\\t\\t\\"Interval\\":5,\\n\\t\\t\\"Mode\\":\\"match\\",\\n\\t\\t\\"Ttl\\":1,\\n\\t\\t\\"Uri\\":\\"/a/b/c.htm\\"\\n\\t},{\\n\\t\\t\\"Name\\":\\"XXXX\\",\\n\\t\\t\\"Act\\":\\"close\\",\\n\\t\\t\\"Count\\":11,\\n\\t\\t\\"Interval\\":5,\\n\\t\\t\\"Mode\\":\\"match\\",\\n\\t\\t\\"Ttl\\":1,\\n\\t\\t\\"Uri\\":\\"/a/b/c.htm\\"\\n\\t}\\n ]\\n}\\n"}]',
'title' => '查询7层CC规则',
- 'summary' => '调用DescribeLayer7CCRules查询7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeOpEntities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeOpEntities查询操作日志。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105469',
- 'abilityTreeNodes' => [
- 'FEATUREddosHFA00W',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosHFA00W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'EntityType',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤条件对象,取值:'."\n"
- ."\n"
- .'- **1**:表示IP。'."\n"
- .'- **2**:表示抗D包。'."\n"
- .'- **3**:表示ECS。'."\n"
- ."\n"
- .'> 结合**EntityObject**参数,根据指定的过滤条件对象进行精确匹配,筛选操作日志记录。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '过滤条件对象,取值:'."\n"
+ ."\n"
+ .'- **1**:表示IP。'."\n"
+ .'- **2**:表示抗D包。'."\n"
+ .'- **3**:表示ECS。'."\n"
+ ."\n"
+ .'> 结合**EntityObject**参数,根据指定的过滤条件对象进行精确匹配,筛选操作日志记录。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'EntityObject',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤条件内容,仅支持精确匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '过滤条件内容,仅支持精确匹配。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。格式为时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1534123558000',
- ],
+ 'schema' => ['description' => '开始时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1534123558000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。格式为时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1536715558000',
- ],
+ 'schema' => ['description' => '结束时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536715558000'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'description' => '页号,即从第几页开始显示。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页号,即从第几页开始显示。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,即每页显示多少条结果。最大值50。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,即每页显示多少条结果。最大值50。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
[
'name' => 'OpAction',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
],
'responses' => [
@@ -5545,61 +3401,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'OpEntities' => [
'description' => '操作日志。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EntityType' => [
- 'description' => '操作对象类型。取值:**1**(IP类型)。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'EntityObject' => [
- 'description' => '操作对象的值,即操作的IP地址。',
- 'type' => 'string',
- 'example' => '2.2.2.2',
- ],
- 'GmtCreate' => [
- 'description' => '创建日志的时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1536715558000',
- ],
- 'OpAction' => [
- 'description' => '操作类型。取值:**1**(修改弹性带宽)。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'OpAccount' => [
- 'description' => '操作人。',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'OpDesc' => [
- 'description' => '操作详情。OpDesc的JSON字符串,具体结构描述如下:'."\n"
- ."\n"
- .'- **oldValue**,Struct类型,旧值,具体结构描述如下:'."\n"
- .' - **elasticBandwidth**,Integer类型,弹性带宽值。'."\n"
- .'- **newValue**,Struct类型,新值,具体结构描述如下:'."\n"
- .' - **elasticBandwidth**,Integer类型,弹性带宽值。',
- 'type' => 'string',
- 'example' => '{"newEntity":{"elasticBandwidth":30},"oldEntity":{"elasticBandwidth":200}}',
- ],
+ 'EntityType' => ['description' => '操作对象类型。取值:**1**(IP类型)。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'EntityObject' => ['description' => '操作对象的值,即操作的IP地址。', 'type' => 'string', 'example' => '2.2.2.2'],
+ 'GmtCreate' => ['description' => '创建日志的时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1536715558000'],
+ 'OpAction' => ['description' => '操作类型。取值:**1**(修改弹性带宽)。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'OpAccount' => ['description' => '操作人。', 'type' => 'string', 'example' => '123'],
+ 'OpDesc' => ['description' => '操作详情。OpDesc的JSON字符串,具体结构描述如下:'."\n"
+ ."\n"
+ .'- **oldValue**,Struct类型,旧值,具体结构描述如下:'."\n"
+ .' - **elasticBandwidth**,Integer类型,弹性带宽值。'."\n"
+ .'- **newValue**,Struct类型,新值,具体结构描述如下:'."\n"
+ .' - **elasticBandwidth**,Integer类型,弹性带宽值。', 'type' => 'string', 'example' => '{"newEntity":{"elasticBandwidth":30},"oldEntity":{"elasticBandwidth":200}}'],
],
],
],
@@ -5609,63 +3429,43 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"OpEntities\\": [\\n {\\n \\"EntityType\\": 1,\\n \\"EntityObject\\": \\"2.2.2.2\\",\\n \\"GmtCreate\\": 1536715558000,\\n \\"OpAction\\": 1,\\n \\"OpAccount\\": \\"123\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"elasticBandwidth\\\\\\":30},\\\\\\"oldEntity\\\\\\":{\\\\\\"elasticBandwidth\\\\\\":200}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeOpEntitiesResponse>\\n <OpEntities>\\n <element>\\n <entityObject>1.1.1.1</entityObject>\\n <gmtCreate>1120384</gmtCreate>\\n <opAction>2</opAction>\\n <opDesc>\\n <newValue>\\n <elasticBandwidth>30</elasticBandwidth>\\n </newValue>\\n <oldValue>\\n <elasticBandwidth>10</elasticBandwidth>\\n </oldValue>\\n </opDesc>\\n <opResult>1</opResult>\\n </element>\\n </OpEntities>\\n <Total>10</Total>\\n</DescribeOpEntitiesResponse>","errorExample":"{\\n \\"Total\\": 10,\\n \\"OpEntities\\": [\\n {\\n \\"gmtCreate\\": 1120384,\\n \\"entityObject\\": \\"1.1.1.1\\",\\n \\"opAction\\": 2,\\n \\"opDesc\\": {\\n\\t \\"oldValue\\": {\\n\\t\\t \\"elasticBandwidth\\": 10\\n\\t\\t},\\n\\t\\t\\"newValue\\": {\\n\\t\\t \\"elasticBandwidth\\": 30\\n\\t\\t}\\n\\t },\\n \\"opResult\\": 1\\n }\\n ]\\n}\\n"}]',
'title' => '查询操作日志',
- 'summary' => '调用DescribeOpEntities查询操作日志。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSimpleDomains' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeSimpleDomains查询已接入DDoS高防的域名列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105484',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'InstanceIds',
@@ -5676,9 +3476,7 @@
."\n"
.'> 若不指定,则默认查询所有实例。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 100,
@@ -5690,18 +3488,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DomainList' => [
'type' => 'array',
- 'items' => [
- 'description' => '域名列表。',
- 'type' => 'string',
- 'example' => '["1.example.com","2.example.com"]',
- ],
+ 'items' => ['description' => '域名列表。', 'type' => 'string', 'example' => '["1.example.com","2.example.com"]'],
],
],
],
@@ -5709,63 +3499,43 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainList\\": [\\n \\"[\\\\\\"1.example.com\\\\\\",\\\\\\"2.example.com\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DomainList>1.example.com</DomainList>\\n<DomainList>2.example.com</DomainList>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询已接入DDoS高防的域名列表',
- 'summary' => '调用DescribeSimpleDomains查询已接入DDoS高防的域名列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsEmptyCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribeSlsEmptyCount查询剩余日志库清空次数。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105486',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -5773,79 +3543,61 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AvailableCount' => [
- 'description' => '可用的日志库清空次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'AvailableCount' => ['description' => '可用的日志库清空次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 0,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<AvailableCount>0</AvailableCount>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询剩余日志库清空次数',
- 'summary' => '调用DescribeSlsEmptyCount查询剩余日志库清空次数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribleCertList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribleCertList查询所有证书列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105494',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
+ 'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'],
+ ],
+ [
+ 'name' => 'DomainList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '要查询的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.aliyun.com',
+ 'title' => '域名列表',
+ 'type' => 'array',
+ 'items' => ['title' => '列表中的域名', 'type' => 'string'],
+ 'maxItems' => 10,
],
],
],
@@ -5854,56 +3606,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'CertList' => [
'description' => '证书列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EndDate' => [
- 'description' => '证书到期日期。',
- 'type' => 'string',
- 'example' => '2020-09-23',
- ],
- 'DomainRelated' => [
- 'description' => '是否已绑定域名配置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'StartDate' => [
- 'description' => '证书开始日期。',
- 'type' => 'string',
- 'example' => '2019-09-24',
- ],
- 'Issuer' => [
- 'description' => '证书签发者。',
- 'type' => 'string',
- 'example' => 'DigiCert Inc',
- ],
- 'Name' => [
- 'description' => '证书名称。',
- 'type' => 'string',
- 'example' => 'testCertName',
- ],
- 'Common' => [
- 'description' => '证书绑定的域名。',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
- 'Id' => [
- 'description' => '证书ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'CertIdentifier' => [
- 'type' => 'string',
- ],
+ 'EndDate' => ['description' => '证书到期日期。', 'type' => 'string', 'example' => '2020-09-23'],
+ 'DomainRelated' => ['description' => '是否已绑定域名配置。', 'type' => 'boolean', 'example' => 'false'],
+ 'StartDate' => ['description' => '证书开始日期。', 'type' => 'string', 'example' => '2019-09-24'],
+ 'Issuer' => ['description' => '证书签发者。', 'type' => 'string', 'example' => 'DigiCert Inc'],
+ 'Name' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testCertName'],
+ 'Common' => ['description' => '证书绑定的域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
+ 'Id' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'CertIdentifier' => ['type' => 'string'],
],
],
],
@@ -5913,52 +3630,37 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"CertList\\": [\\n {\\n \\"EndDate\\": \\"2020-09-23\\",\\n \\"DomainRelated\\": false,\\n \\"StartDate\\": \\"2019-09-24\\",\\n \\"Issuer\\": \\"DigiCert Inc\\",\\n \\"Name\\": \\"testCertName\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 123\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>1F2AD7D5-EDB6-4E4B-B81F-8AA68B2E3340</RequestId>\\n<CertList>\\n <Name>leidantest</Name>\\n <Issuer>Alibaba</Issuer>\\n <EndDate>2029-06-07</EndDate>\\n <DomainRelated>false</DomainRelated>\\n <StartDate>2019-06-10</StartDate>\\n <Id>2329174</Id>\\n <Common>www.aliyun.com</Common>\\n</CertList>","errorExample":""}]',
'title' => '查询所有证书列表',
- 'summary' => '调用DescribleCertList查询所有证书列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribleLayer7InstanceRelations' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DescribleLayer7InstanceRelations查询七层防护实例和EIP的对应关系。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105495',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'DomainList',
@@ -5967,9 +3669,7 @@
'schema' => [
'description' => '要查询的域名列表。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => 'www.aliyun.com',
'maxItems' => 20,
@@ -5981,54 +3681,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7InstanceRelations' => [
'description' => '七层实例的防护关系列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'www.aliyun.com',
- ],
+ 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
'InstanceDetails' => [
'description' => '实例信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'IpMode' => [
- 'type' => 'string',
- ],
- 'FunctionVersion' => [
- 'description' => '功能版本,取值:'."\n"
- ."\n"
- .'- **default**:标准版'."\n"
- .'- **enhance**:增强版',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
- 'IpVersion' => [
- 'type' => 'string',
- ],
+ 'IpMode' => ['type' => 'string'],
+ 'FunctionVersion' => ['description' => '功能版本,取值:'."\n"
+ ."\n"
+ .'- **default**:标准版'."\n"
+ .'- **enhance**:增强版', 'type' => 'string', 'example' => 'default'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
+ 'IpVersion' => ['type' => 'string'],
'EipList' => [
'type' => 'array',
- 'items' => [
- 'description' => '绑定的EIP列表。',
- 'type' => 'string',
- 'example' => '["203.107.0.0"]',
- ],
+ 'items' => ['description' => '绑定的EIP列表。', 'type' => 'string', 'example' => '["203.107.0.0"]'],
],
],
],
@@ -6042,61 +3718,42 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7InstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"EipList\\": [\\n \\"[\\\\\\"203.107.0.0\\\\\\"]\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribleLayer7InstanceRelationsResponse>\\r\\n <Layer7InstanceRelations>\\r\\n <element>\\r\\n <Domain>1.aliyun.com</Domain>\\r\\n <InstanceDetails>\\r\\n <element>\\r\\n <EipList>\\r\\n <element>203.x.x.0</element>\\r\\n <element>203.x.x.1</element>\\r\\n </EipList>\\r\\n <InstanceId>xxxxxx</InstanceId>\\r\\n </element>\\r\\n <element>\\r\\n <EipList>\\r\\n <element>203.x.x.0</element>\\r\\n <element>203.x.x.1</element>\\r\\n </EipList>\\r\\n <FunctionVersion>default</FunctionVersion>\\r\\n <InstanceId>xxxxxx</InstanceId>\\r\\n </element>\\r\\n </InstanceDetails>\\r\\n </element>\\r\\n </Layer7InstanceRelations>\\r\\n</DescribleLayer7InstanceRelationsResponse>","errorExample":"{\\n \\"Layer7InstanceRelations\\":[\\n {\\n \\"Domain\\":\\"1.aliyun.com\\",\\n \\"InstanceDetails\\":[\\n {\\n \\"EipList\\":[\\n \\"203.x.x.0\\",\\n \\"203.x.x.1\\"\\n ],\\n \\"InstanceId\\":\\"xxxxxx\\"\\n },\\n {\\n \\"EipList\\":[\\n \\"203.x.x.0\\",\\n \\"203.x.x.1\\"\\n ],\\n \\"InstanceId\\":\\"xxxxxx\\"\\n }\\n ]\\n }\\n ]\\n}\\n\\t\\t\\t\\t"}]',
'title' => '查询七层防护实例和EIP的对应关系',
- 'summary' => '调用DescribleLayer7InstanceRelations查询七层防护实例和EIP的对应关系。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DisableLayer7CC' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DisableLayer7CC为指定域名禁用7层CC防护。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105497',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -6104,72 +3761,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DisableLayer7CCResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableLayer7CCResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名禁用7层CC防护',
- 'summary' => '调用DisableLayer7CC为指定域名禁用7层CC防护。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DisableLayer7CCRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用DisableLayer7CCRule为指定域名禁用7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105498',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -6177,72 +3811,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<DisableLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名禁用7层CC规则',
- 'summary' => '调用DisableLayer7CCRule为指定域名禁用7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EnableLayer7CC' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用EnableLayer7CC为指定域名启用7层CC防护。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105503',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -6250,72 +3861,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<EnableLayer7CCResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableLayer7CCResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名启用7层CC防护',
- 'summary' => '调用EnableLayer7CC为指定域名启用7层CC防护。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EnableLayer7CCRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用EnableLayer7CCRule为指定域名启用7层CC规则。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105504',
- 'abilityTreeNodes' => [
- 'FEATUREddosOZ1QOD',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.aliyun.com',
- ],
+ 'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
@@ -6323,74 +3911,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<EnableLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名启用7层CC规则',
- 'summary' => '调用EnableLayer7CCRule为指定域名启用7层CC规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListLayer7CustomPorts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ListLayer7CustomPorts获取7层转发规则中可添加的端口列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105507',
- 'abilityTreeNodes' => [
- 'FEATUREddosN7DYCX',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -6398,32 +3962,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7CustomPorts' => [
'description' => '可添加的端口信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Flag' => [
- 'type' => 'string',
- ],
- 'ProxyType' => [
- 'description' => '协议类型。',
- 'type' => 'string',
- 'example' => 'https',
- ],
+ 'Flag' => ['type' => 'string'],
+ 'ProxyType' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'https'],
'ProxyPorts' => [
'type' => 'array',
- 'items' => [
- 'description' => '端口列表。',
- 'type' => 'string',
- 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]',
- ],
+ 'items' => ['description' => '端口列表。', 'type' => 'string', 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]'],
],
],
],
@@ -6434,83 +3984,52 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7CustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Layer7CustomPorts>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>83</ProxyPorts>\\n <ProxyPorts>84</ProxyPorts>\\n <ProxyPorts>88</ProxyPorts>\\n <ProxyPorts>89</ProxyPorts>\\n <ProxyPorts>800</ProxyPorts>\\n <ProxyPorts>808</ProxyPorts>\\n <ProxyPorts>1000</ProxyPorts>\\n <ProxyPorts>1090</ProxyPorts>\\n <ProxyPorts>3333</ProxyPorts>\\n <ProxyPorts>3501</ProxyPorts>\\n <ProxyPorts>3601</ProxyPorts>\\n <ProxyPorts>5000</ProxyPorts>\\n <ProxyPorts>5222</ProxyPorts>\\n <ProxyPorts>6001</ProxyPorts>\\n <ProxyPorts>6666</ProxyPorts>\\n <ProxyPorts>7000</ProxyPorts>\\n <ProxyPorts>7001</ProxyPorts>\\n <ProxyPorts>7002</ProxyPorts>\\n <ProxyPorts>7003</ProxyPorts>\\n <ProxyPorts>7004</ProxyPorts>\\n <ProxyPorts>7005</ProxyPorts>\\n <ProxyPorts>7006</ProxyPorts>\\n <ProxyPorts>7009</ProxyPorts>\\n <ProxyPorts>7010</ProxyPorts>\\n <ProxyPorts>7011</ProxyPorts>\\n <ProxyPorts>7012</ProxyPorts>\\n <ProxyPorts>7013</ProxyPorts>\\n <ProxyPorts>7014</ProxyPorts>\\n <ProxyPorts>7015</ProxyPorts>\\n <ProxyPorts>7016</ProxyPorts>\\n <ProxyPorts>7018</ProxyPorts>\\n <ProxyPorts>7019</ProxyPorts>\\n <ProxyPorts>7020</ProxyPorts>\\n <ProxyPorts>7021</ProxyPorts>\\n <ProxyPorts>7022</ProxyPorts>\\n <ProxyPorts>7023</ProxyPorts>\\n <ProxyPorts>7024</ProxyPorts>\\n <ProxyPorts>7025</ProxyPorts>\\n <ProxyPorts>7026</ProxyPorts>\\n <ProxyPorts>7060</ProxyPorts>\\n <ProxyPorts>7070</ProxyPorts>\\n <ProxyPorts>7081</ProxyPorts>\\n <ProxyPorts>7082</ProxyPorts>\\n <ProxyPorts>7083</ProxyPorts>\\n <ProxyPorts>7088</ProxyPorts>\\n <ProxyPorts>7097</ProxyPorts>\\n <ProxyPorts>7777</ProxyPorts>\\n <ProxyPorts>7800</ProxyPorts>\\n <ProxyPorts>8000</ProxyPorts>\\n <ProxyPorts>8001</ProxyPorts>\\n <ProxyPorts>8002</ProxyPorts>\\n <ProxyPorts>8003</ProxyPorts>\\n <ProxyPorts>8008</ProxyPorts>\\n <ProxyPorts>8009</ProxyPorts>\\n <ProxyPorts>8020</ProxyPorts>\\n <ProxyPorts>8021</ProxyPorts>\\n <ProxyPorts>8022</ProxyPorts>\\n <ProxyPorts>8025</ProxyPorts>\\n <ProxyPorts>8026</ProxyPorts>\\n <ProxyPorts>8077</ProxyPorts>\\n <ProxyPorts>8078</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n <ProxyPorts>8081</ProxyPorts>\\n <ProxyPorts>8082</ProxyPorts>\\n <ProxyPorts>8083</ProxyPorts>\\n <ProxyPorts>8084</ProxyPorts>\\n <ProxyPorts>8085</ProxyPorts>\\n <ProxyPorts>8086</ProxyPorts>\\n <ProxyPorts>8087</ProxyPorts>\\n <ProxyPorts>8088</ProxyPorts>\\n <ProxyPorts>8089</ProxyPorts>\\n <ProxyPorts>8090</ProxyPorts>\\n <ProxyPorts>8091</ProxyPorts>\\n <ProxyPorts>8106</ProxyPorts>\\n <ProxyPorts>8181</ProxyPorts>\\n <ProxyPorts>8334</ProxyPorts>\\n <ProxyPorts>8336</ProxyPorts>\\n <ProxyPorts>8800</ProxyPorts>\\n <ProxyPorts>8686</ProxyPorts>\\n <ProxyPorts>8787</ProxyPorts>\\n <ProxyPorts>8888</ProxyPorts>\\n <ProxyPorts>8889</ProxyPorts>\\n <ProxyPorts>8999</ProxyPorts>\\n <ProxyPorts>9000</ProxyPorts>\\n <ProxyPorts>9001</ProxyPorts>\\n <ProxyPorts>9002</ProxyPorts>\\n <ProxyPorts>9003</ProxyPorts>\\n <ProxyPorts>9080</ProxyPorts>\\n <ProxyPorts>9200</ProxyPorts>\\n <ProxyPorts>9999</ProxyPorts>\\n <ProxyPorts>10000</ProxyPorts>\\n <ProxyPorts>10001</ProxyPorts>\\n <ProxyPorts>10080</ProxyPorts>\\n <ProxyPorts>12601</ProxyPorts>\\n <ProxyPorts>86</ProxyPorts>\\n <ProxyPorts>9021</ProxyPorts>\\n <ProxyPorts>9023</ProxyPorts>\\n <ProxyPorts>9027</ProxyPorts>\\n <ProxyPorts>9037</ProxyPorts>\\n <ProxyPorts>9081</ProxyPorts>\\n <ProxyPorts>9082</ProxyPorts>\\n <ProxyPorts>9201</ProxyPorts>\\n <ProxyPorts>9205</ProxyPorts>\\n <ProxyPorts>9207</ProxyPorts>\\n <ProxyPorts>9208</ProxyPorts>\\n <ProxyPorts>9209</ProxyPorts>\\n <ProxyPorts>9210</ProxyPorts>\\n <ProxyPorts>9211</ProxyPorts>\\n <ProxyPorts>9212</ProxyPorts>\\n <ProxyPorts>9213</ProxyPorts>\\n <ProxyPorts>48800</ProxyPorts>\\n <ProxyPorts>87</ProxyPorts>\\n <ProxyPorts>97</ProxyPorts>\\n <ProxyPorts>7510</ProxyPorts>\\n <ProxyPorts>9180</ProxyPorts>\\n <ProxyPorts>9898</ProxyPorts>\\n <ProxyPorts>9908</ProxyPorts>\\n <ProxyPorts>9916</ProxyPorts>\\n <ProxyPorts>9918</ProxyPorts>\\n <ProxyPorts>9919</ProxyPorts>\\n <ProxyPorts>9928</ProxyPorts>\\n <ProxyPorts>9929</ProxyPorts>\\n <ProxyPorts>9939</ProxyPorts>\\n <ProxyPorts>28080</ProxyPorts>\\n <ProxyPorts>33702</ProxyPorts>\\n <ProxyType>http</ProxyType>\\n</Layer7CustomPorts>\\n<Layer7CustomPorts>\\n <ProxyPorts>443</ProxyPorts>\\n <ProxyPorts>4443</ProxyPorts>\\n <ProxyPorts>5443</ProxyPorts>\\n <ProxyPorts>6443</ProxyPorts>\\n <ProxyPorts>7443</ProxyPorts>\\n <ProxyPorts>7988</ProxyPorts>\\n <ProxyPorts>8443</ProxyPorts>\\n <ProxyPorts>9443</ProxyPorts>\\n <ProxyPorts>8553</ProxyPorts>\\n <ProxyPorts>8663</ProxyPorts>\\n <ProxyPorts>9553</ProxyPorts>\\n <ProxyPorts>9663</ProxyPorts>\\n <ProxyPorts>10050</ProxyPorts>\\n <ProxyPorts>10443</ProxyPorts>\\n <ProxyPorts>18980</ProxyPorts>\\n <ProxyPorts>30050</ProxyPorts>\\n <ProxyType>https</ProxyType>\\n</Layer7CustomPorts>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '获取7层转发规则中可添加的端口列表',
- 'summary' => '调用ListLayer7CustomPorts获取7层转发规则中可添加的端口列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListAsyncTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ListAsyncTask查询异步任务列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105506',
- 'abilityTreeNodes' => [
- 'FEATUREddos64TBV6',
- ],
+ 'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,从**1**开始。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,从**1**开始。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,最大值**20**。 ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小,最大值**20**。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -6518,79 +4037,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Total' => [
- 'description' => '域名总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'Total' => ['description' => '域名总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'AsyncTasks' => [
'description' => '任务列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '任务结束时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533866201000',
- ],
- 'TaskType' => [
- 'description' => '任务类型,取值:'."\n"
- ."\n"
- .'- **1**:4层转发规则批量导出任务'."\n"
- .'- **2**:7层防护规则批量导出任务'."\n"
- .'- **3**:会话和健康检查配置导出任务'."\n"
- .'- **4**:DDoS防护策略导出任务',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => '任务开始时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533866201000',
- ],
- 'TaskParams' => [
- 'description' => '任务执行参数,为一个JSONObject类型的字符串,具体结构描述如下:'."\n"
- ."\n"
- .'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
- .'- **domain**,String类型,用户域名。',
- 'type' => 'string',
- 'example' => '{"instanceId": "ddoscoo-1234-qrq2134"}',
- ],
- 'TaskStatus' => [
- 'description' => '任务状态,取值:'."\n"
- ."\n"
- .'- **0**:任务初始化'."\n"
- .'- **1**:任务进行中'."\n"
- .'- **2**:任务成功'."\n"
- .'- **3**:任务失败',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskResult' => [
- 'description' => '任务执行结果,JSONObject类型的字符串,具体结构描述如下:'."\n"
- ."\n"
- .'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
- .'- **url**,String类型,文件下载OSS地址。',
- 'type' => 'string',
- 'example' => '{"instanceId": "ddoscoo-1234-qrq2134", "url": "https://oss.xxx.xxx"}',
- ],
- 'TaskId' => [
- 'description' => '任务ID,使用该ID可进行任务的删除操作。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
+ 'EndTime' => ['description' => '任务结束时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'],
+ 'TaskType' => ['description' => '任务类型,取值:'."\n"
+ ."\n"
+ .'- **1**:4层转发规则批量导出任务'."\n"
+ .'- **2**:7层防护规则批量导出任务'."\n"
+ .'- **3**:会话和健康检查配置导出任务'."\n"
+ .'- **4**:DDoS防护策略导出任务', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'StartTime' => ['description' => '任务开始时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'],
+ 'TaskParams' => ['description' => '任务执行参数,为一个JSONObject类型的字符串,具体结构描述如下:'."\n"
+ ."\n"
+ .'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
+ .'- **domain**,String类型,用户域名。', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134"}'],
+ 'TaskStatus' => ['description' => '任务状态,取值:'."\n"
+ ."\n"
+ .'- **0**:任务初始化'."\n"
+ .'- **1**:任务进行中'."\n"
+ .'- **2**:任务成功'."\n"
+ .'- **3**:任务失败', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskResult' => ['description' => '任务执行结果,JSONObject类型的字符串,具体结构描述如下:'."\n"
+ ."\n"
+ .'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
+ .'- **url**,String类型,文件下载OSS地址。', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134", "url": "https://oss.xxx.xxx"}'],
+ 'TaskId' => ['description' => '任务ID,使用该ID可进行任务的删除操作。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
],
],
],
@@ -6600,84 +4077,52 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"AsyncTasks\\": [\\n {\\n \\"EndTime\\": 1533866201000,\\n \\"TaskType\\": 1,\\n \\"StartTime\\": 1533866201000,\\n \\"TaskParams\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-1234-qrq2134\\\\\\"}\\",\\n \\"TaskStatus\\": 1,\\n \\"TaskResult\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-1234-qrq2134\\\\\\", \\\\\\"url\\\\\\": \\\\\\"https://oss.xxx.xxx\\\\\\"}\\",\\n \\"TaskId\\": 123\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListAsyncTaskResponse>\\r\\n <AsyncTasks>\\r\\n <element>\\r\\n <EndTime>156927362</EndTime>\\r\\n <StartTime>156927362</StartTime>\\r\\n <TaskId>1</TaskId>\\r\\n <TaskParams />\\r\\n <TaskResult />\\r\\n <TaskStatus>2</TaskStatus>\\r\\n <TaskType>1</TaskType>\\r\\n </element>\\r\\n </AsyncTasks>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n <Total>2</Total>\\r\\n</ListAsyncTaskResponse>","errorExample":"{\\n \\"Total\\": 2,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"AsyncTasks\\": [\\n \\t{\\n\\t\\t\\"TaskId\\": 1,\\n\\t \\"TaskType\\": 1,\\n\\t \\"TaskStatus\\": 2,\\n\\t \\"StartTime\\": 156927362,\\n\\t \\t\\"EndTime\\": 156927362\\n\\t \\"TaskParams\\": \\"{}\\", // 四层任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\"},七层任务:{\\"domain\\": \\"www.aliyun.com\\"}\\n \\t \\"TaskResult\\": \\"{}\\" // 四层任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"},七层任务:{\\"domain\\": \\"www.aliyun.com\\", \\"url\\": \\"https://oss.xxx.xxx\\"},会话&健康检查任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"},DDoS防护策略任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"}\\n\\t}\\n ]\\n}\\n"}]',
'title' => '查询异步任务列表',
- 'summary' => '调用ListAsyncTask查询异步任务列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListTagKeys' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ListTagKeys接口查询所有标签。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105508',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要查询的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值:**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值为**50**,默认值为**10**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值为**50**,默认值为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '列表的页码,起始值为**1**,默认值为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '列表的页码,起始值为**1**,默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -6685,46 +4130,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '列表的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '97935DF1-0289-4AA2-9DD1-72377838B16B',
- ],
- 'PageSize' => [
- 'description' => '每页的行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '标签的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
+ 'CurrentPage' => ['description' => '列表的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '97935DF1-0289-4AA2-9DD1-72377838B16B'],
+ 'PageSize' => ['description' => '每页的行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '标签的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'TagKeys' => [
'description' => '标签信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagCount' => [
- 'description' => '标签键下标签值的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'a',
- ],
+ 'TagCount' => ['description' => '标签键下标签值的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'a'],
],
],
],
@@ -6734,69 +4151,44 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"97935DF1-0289-4AA2-9DD1-72377838B16B\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 6,\\n \\"TagKeys\\": [\\n {\\n \\"TagCount\\": 1,\\n \\"TagKey\\": \\"a\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListTagKeysResponse>\\r\\n <CurrentPage>1</CurrentPage>\\r\\n <PageSize>20</PageSize>\\r\\n <RequestId>97935DF1-0289-4AA2-9DD1-72377838B16B</RequestId>\\r\\n <TagKeys>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>a</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey1</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey2</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>2</TagCount>\\r\\n <TagKey>testKey3</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey4</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>x</TagKey>\\r\\n </element>\\r\\n </TagKeys>\\r\\n <TotalCount>6</TotalCount>\\r\\n</ListTagKeysResponse>","errorExample":""}]',
'title' => '查询所有标签',
- 'summary' => '调用ListTagKeys接口查询所有标签。',
],
'ListTagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询资源(DDoS高防实例)和标签的对应关系。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105509',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'DDoS高防实例的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值:**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '指定下一个查询开始的Token。如果没有下一个查询,请留空。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr',
- ],
+ 'schema' => ['description' => '指定下一个查询开始的Token。如果没有下一个查询,请留空。', 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'],
],
[
'name' => 'ResourceId',
@@ -6806,9 +4198,7 @@
'description' => '指定要查询的DDoS高防实例ID,查询实例的标签。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。'."\n"
.'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-o4017n9q9004',
'maxItems' => 51,
@@ -6823,18 +4213,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '指定要查询的标签键,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。'."\n"
- .'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。',
- 'type' => 'string',
- 'example' => 'testKey1',
- ],
- 'Value' => [
- 'description' => '指定要查询的标签值,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。'."\n"
- .'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。指定标签值时,必须指定标签键;指定标签键后,标签值可以留空。',
- 'type' => 'string',
- 'example' => 'testValue1',
- ],
+ 'Key' => ['description' => '指定要查询的标签键,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。'."\n"
+ .'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。', 'type' => 'string', 'example' => 'testKey1'],
+ 'Value' => ['description' => '指定要查询的标签值,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。'."\n"
+ .'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。指定标签值时,必须指定标签键;指定标签键后,标签值可以留空。', 'type' => 'string', 'example' => 'testValue1'],
],
],
'required' => false,
@@ -6847,16 +4229,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。没有下一个查询时为空。',
- 'type' => 'string',
- 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr',
- ],
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65',
- ],
+ 'NextToken' => ['description' => '下一个查询开始的Token。没有下一个查询时为空。', 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65'],
'TagResources' => [
'type' => 'object',
'itemNode' => true,
@@ -6867,26 +4241,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'testValue1',
- ],
- 'ResourceType' => [
- 'description' => '资源类型,取值:**INSTANCE**。',
- 'type' => 'string',
- 'example' => 'INSTANCE',
- ],
- 'ResourceId' => [
- 'description' => 'DDoS高防实例ID。',
- 'type' => 'string',
- 'example' => 'ddoscoo-cn-o4017n9q9004',
- ],
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'testKey1',
- ],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'testValue1'],
+ 'ResourceType' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'example' => 'INSTANCE'],
+ 'ResourceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-o4017n9q9004'],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'testKey1'],
],
],
],
@@ -6898,53 +4256,38 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr\\",\\n \\"RequestId\\": \\"C3F7E6AE-43B2-4730-B6A3-FD17552B8F65\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testValue1\\",\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"ResourceId\\": \\"ddoscoo-cn-o4017n9q9004\\",\\n \\"TagKey\\": \\"testKey1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListTagResourcesResponse>\\r\\n <NextToken>RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr</NextToken>\\r\\n <RequestId>C3F7E6AE-43B2-4730-B6A3-FD17552B8F65</RequestId>\\r\\n <TagResources>\\r\\n <TagResource>\\r\\n <element>\\r\\n <ResourceId>ddoscoo-cn-o4017n9q9004</ResourceId>\\r\\n <ResourceType>INSTANCE</ResourceType>\\r\\n <TagKey>testKey4</TagKey>\\r\\n <TagValue>testValue4</TagValue>\\r\\n </element>\\r\\n </TagResource>\\r\\n </TagResources>\\r\\n</ListTagResourcesResponse>","errorExample":""}]',
'title' => '查询资源和标签的对应关系',
- 'summary' => '查询资源(DDoS高防实例)和标签的对应关系。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListValueAdded' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查看DDoS高防增值服务(全量日志分析)信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105510',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -6952,51 +4295,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'ValueAddedList' => [
'description' => 'DDoS高防增值服务信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'LogSize' => [
- 'description' => '日志库容量,单位:Byte(字节)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5497558138880',
- ],
- 'GmtCreate' => [
- 'description' => '服务开通时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1575527305000',
- ],
- 'Status' => [
- 'description' => '开通状态:'."\n"
- .'- **0**:表示未开通'."\n"
- .'- **1**:表示已开通',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => '服务实例ID。',
- 'type' => 'string',
- 'example' => 'ddos_fl_pre-cn-xxxx',
- ],
- 'ExpireTime' => [
- 'description' => '服务到期时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1580918400000',
- ],
- 'StoreRegion' => [
- 'type' => 'string',
- ],
+ 'LogSize' => ['description' => '日志库容量,单位:Byte(字节)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'],
+ 'GmtCreate' => ['description' => '服务开通时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1575527305000'],
+ 'Status' => ['description' => '开通状态:'."\n"
+ .'- **0**:表示未开通'."\n"
+ .'- **1**:表示已开通', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InstanceId' => ['description' => '服务实例ID。', 'type' => 'string', 'example' => 'ddos_fl_pre-cn-xxxx'],
+ 'ExpireTime' => ['description' => '服务到期时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1580918400000'],
+ 'StoreRegion' => ['type' => 'string'],
],
],
],
@@ -7006,62 +4319,43 @@
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ValueAddedList\\": [\\n {\\n \\"LogSize\\": 5497558138880,\\n \\"GmtCreate\\": 1575527305000,\\n \\"Status\\": 1,\\n \\"InstanceId\\": \\"ddos_fl_pre-cn-xxxx\\",\\n \\"ExpireTime\\": 1580918400000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ValueAddedList>\\n <Status>1</Status>\\n <GmtCreate>1575527305000</GmtCreate>\\n <LogSize>5497558138880</LogSize>\\n <InstanceId>ddos_fl_pre-cn-xxxx</InstanceId>\\n <ExpireTime>1580918400000</ExpireTime>\\n</ValueAddedList>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查看增值服务信息',
- 'summary' => '查看DDoS高防增值服务(全量日志分析)信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ModifyInstanceRemark' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用ModifyInstanceRemark修改指定实例的备注信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105515',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要操作的实例ID。单次请求只支持修改一个实例的备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ddoscoo-cn-XXXXX',
- ],
+ 'schema' => ['description' => '要操作的实例ID。单次请求只支持修改一个实例的备注信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-XXXXX'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '新的备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试备注名1',
- ],
+ 'schema' => ['description' => '新的备注信息。', 'type' => 'string', 'required' => false, 'example' => '测试备注名1'],
],
],
'responses' => [
@@ -7069,83 +4363,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', '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<ModifyInstanceRemarkResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyInstanceRemarkResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '修改指定实例的备注信息',
- 'summary' => '调用ModifyInstanceRemark修改指定实例的备注信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'OpenDomainSlsConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '调用OpenDomainSlsConfig为指定域名启用全量日志分析功能。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105519',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '系统语言ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '要启用全量日志分析功能的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '要启用全量日志分析功能的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
@@ -7153,59 +4418,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '为指定域名启用全量日志分析功能',
- 'summary' => '调用OpenDomainSlsConfig为指定域名启用全量日志分析功能。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ReleaseInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '释放实例',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105521',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -7213,9 +4464,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -7223,46 +4472,32 @@
'responseDemo' => '',
],
'ReleaseValueAdded' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '释放DDoS高防增值服务实例(全量日志分析功能)。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105522',
- 'abilityTreeNodes' => [
- 'FEATUREddosVFFSV8',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '增值服务实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ddos_fl_pre-cn-xxxx',
- ],
+ 'schema' => ['description' => '增值服务实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddos_fl_pre-cn-xxxx'],
],
],
'responses' => [
@@ -7270,71 +4505,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '释放增值服务实例',
- 'summary' => '释放DDoS高防增值服务实例(全量日志分析功能)。',
'description' => '> 该接口将释放全量日志分析服务实例,请谨慎调用。',
],
'TagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '为指定资源(DDoS高防实例)绑定标签。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105524',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'DDoS高防实例的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源的类型,取值:**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源的类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
@@ -7343,9 +4554,7 @@
'schema' => [
'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => 'ddoscoo-cn-v0h1fmwbc024',
'maxItems' => 51,
@@ -7360,16 +4569,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '要绑定的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。',
- 'type' => 'string',
- 'example' => 'testKey1',
- ],
- 'Value' => [
- 'description' => '要绑定的标签值。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。',
- 'type' => 'string',
- 'example' => 'testValue1',
- ],
+ 'Key' => ['description' => '要绑定的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。', 'type' => 'string', 'example' => 'testKey1'],
+ 'Value' => ['description' => '要绑定的标签值。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。', 'type' => 'string', 'example' => 'testValue1'],
],
],
'required' => false,
@@ -7382,80 +4583,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7078CD1E-F609-47A4-9C39-B288CC27C686',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7078CD1E-F609-47A4-9C39-B288CC27C686'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7078CD1E-F609-47A4-9C39-B288CC27C686\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<TagResourcesResponse>\\r\\n <requestId>7078CD1E-F609-47A4-9C39-B288CC27C686</requestId>\\r\\n</TagResourcesResponse>","errorExample":""}]',
'title' => '为指定资源绑定标签',
- 'summary' => '为指定资源(DDoS高防实例)绑定标签。',
],
'UntagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '移除指定资源(DDoS高防实例)的标签。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '105526',
- 'abilityTreeNodes' => [
- 'FEATUREddosMHU3MF',
- ],
+ 'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'DDoS高防实例的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值:**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'description' => '是否移除实例上的所有标签。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否移除实例上的所有标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ResourceId',
@@ -7464,9 +4636,7 @@
'schema' => [
'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'example' => 'ddoscoo-cn-v0h1fmwbc024',
'maxItems' => 51,
@@ -7479,9 +4649,7 @@
'schema' => [
'description' => '要移除的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'example' => 'testKey1',
'maxItems' => 21,
@@ -7493,31 +4661,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'F2D86AED-BA27-4584-BADC-B43BDA7EEBCA',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F2D86AED-BA27-4584-BADC-B43BDA7EEBCA'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F2D86AED-BA27-4584-BADC-B43BDA7EEBCA\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<UntagResourcesResponse>\\r\\n <requestId>F2D86AED-BA27-4584-BADC-B43BDA7EEBCA</requestId>\\r\\n</UntagResourcesResponse>","errorExample":""}]',
'title' => '移除指定资源标签',
- 'summary' => '移除指定资源(DDoS高防实例)的标签。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com'],
],
];