'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2017-12-28', ], 'directories' => [ [ 'id' => 60475, 'title' => 'DDoS高防新BGP&国际', 'type' => 'directory', 'children' => [ [ 'id' => 60476, 'title' => '实例', 'type' => 'directory', 'children' => [ 'ModifyElasticBandWidth', 'DescribeInstances', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeElasticBandwidthSpec', 'DescribeDefenseCountStatistics', ], ], [ 'id' => 60483, 'title' => '监控报表', 'type' => 'directory', 'children' => [ 'DescribeDDoSEvents', 'DescribeDomainQpsWithCache', ], ], [ 'id' => 60487, 'title' => '全量日志分析', 'type' => 'directory', 'children' => [ 'ModifyFullLogTtl', 'DescribeSlsOpenStatus', 'DescribeSlsAuthStatus', 'DescribeLogStoreExistStatus', 'DescribeSlsLogstoreInfo', 'EmptySlsLogstore', ], ], [ 'id' => 60494, 'title' => '系统配置与日志', 'type' => 'directory', 'children' => [ 'DeleteAsyncTask', 'DescribeBackSourceCidr', ], ], ], ], [ 'id' => 0, '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', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ModifyElasticBandWidth' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105512', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ElasticBandwidth', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\n\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => '修改指定实例的弹性防护带宽', 'summary' => '调用ModifyElasticBandWidth修改指定实例的弹性防护带宽。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeInstances' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105460', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ '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"]', ], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'description' => '分页页号,即从几页开始显示。最小值是**1**。 ', 'type' => 'string', 'required' => true, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', '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', ], ], [ 'name' => 'Remark', 'in' => 'query', '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', ], ], [ 'name' => 'Enabled', 'in' => 'query', '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', ], ], [ 'name' => 'ExpireEndTime', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000', ], ], [ 'name' => 'Status', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '实例售卖状态,取值:'."\n" ."\n" .'- **1**:正常'."\n" .'- **2**:过期'."\n" .'- **3**:释放', 'type' => 'array', 'items' => [ 'type' => 'integer', 'format' => 'int32', ], 'required' => false, 'example' => '1', 'maxItems' => 10, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', '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', ], ], ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"1\\n\\n 1\\n 9\\n 1578931200000\\n ddoscoo-cn-xxxxxxx\\n 0\\n 1576236360000\\n\\n0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","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', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105461', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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"]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\n\\n \\n \\n 100\\n 20\\n 10\\n 20\\n 10\\n default\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n 10\\n 10\\n 1000\\n \\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105462', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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"}]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n \\r\\n \\r\\n 10\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n 20\\r\\n \\r\\n \\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105455', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', ], 'ElasticBandwidthSpec' => [ 'type' => 'array', 'items' => [ 'description' => '弹性带宽规格。', 'type' => 'string', 'example' => '[5, 10, 20, 30]', ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"[5, 10, 20, 30]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\n \\n 5\\n 10\\n 20\\n 30\\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105427', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], '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":"\\n 0\\n 10\\n 0\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询抗D包防护次数统计信息', 'summary' => '查询DDoS高防的抗D包防护次数统计信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDDoSEvents' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105424', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'description' => '流量查询的开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398', ], ], [ 'name' => 'EndTime', 'in' => 'query', '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', ], ], [ 'name' => 'Offset', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"1\\n\\n 3289457324\\n 3289457398\\n 12\\n blackhole_start\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询指定IP的DDoS攻击事件', 'summary' => '调用DescribeDDoSEvents查询指定IP的DDoS攻击事件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDomainQpsWithCache' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105442', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'description' => '结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577796336', ], ], ], 'responses' => [ 200 => [ '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', ], 'Blocks' => [ 'type' => 'array', 'items' => [ 'description' => '拦截的攻击请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'CcBlockQps' => [ 'type' => 'array', 'items' => [ 'description' => '频率控制拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'PreciseJsQps' => [ 'type' => 'array', 'items' => [ 'description' => '命中精准防护规则的挑战校验的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'CcJsQps' => [ 'type' => 'array', 'items' => [ 'description' => '命中频率控制规则触发人机识别的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'RegionBlocks' => [ 'type' => 'array', 'items' => [ 'description' => '地域封禁拦截的QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'PreciseBlocks' => [ 'type' => 'array', 'items' => [ 'description' => '精准防护规则拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'CacheHits' => [ 'type' => 'array', 'items' => [ 'description' => '命中页面缓存加速规则的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], 'Totals' => [ 'type' => 'array', 'items' => [ 'description' => '总的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[10,40,20]', ], ], 'IpBlockQps' => [ 'type' => 'array', 'items' => [ 'description' => 'IP封禁拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]', ], ], ], ], ], ], '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":"60\\n1577794500\\n10\\n40\\n20\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\n0\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询QPS次数信息以及缓存命中次数', 'summary' => '查询指定域名的QPS次数信息以及缓存命中次数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ModifyFullLogTtl' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105513', 'abilityTreeNodes' => [ 'FEATUREddosAUMQ7C', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'Ttl', 'in' => 'query', 'schema' => [ 'description' => '日志存储时长,单位:天。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"CF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '修改日志存储时长', 'summary' => '调用ModifyFullLogTtl修改日志存储时长。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeSlsOpenStatus' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105488', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询是否已开通日志服务', 'summary' => '调用DescribeSlsOpenStatus查询是否已开通日志服务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeSlsAuthStatus' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105485', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"true\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询是否授权将日志存储至日志服务的专属日志库中', 'summary' => '查询是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeLogStoreExistStatus' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105468', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"true\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询是否已存在日志库', 'summary' => '调用DescribeLogStoreExistStatus查询是否已存在日志库。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeSlsLogstoreInfo' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105487', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], '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":"ddoscoo-project-xxxx-cn-hangzhou\\n5497558138880\\n0\\nddoscoo-logstore\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询对应的日志服务日志库信息', 'summary' => '调用DescribeSlsLogstoreInfo查询对应的日志服务日志库信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'EmptySlsLogstore' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105502', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"CF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '清空日志库', 'summary' => '调用EmptySlsLogstore清空日志库。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DeleteAsyncTask' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105405', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '要删除的任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => '删除指定的异步任务', 'summary' => '调用DeleteAsyncTask删除指定的异步任务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeBackSourceCidr' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '105418', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Line', 'in' => 'query', 'schema' => [ 'description' => '要查询的防护线路。', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001', ], ], [ 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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"]', ], ], ], ], ], ], '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":"\\r\\n\\r\\n \\r\\n 47.xx.xx.0/25\\r\\n 47.xx.xx.128/25\\r\\n \\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], [ 'name' => 'Name', 'in' => 'query', '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', ], ], [ 'name' => 'Count', 'in' => 'query', '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', ], ], [ 'name' => 'Mode', 'in' => 'query', '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', ], ], [ 'name' => 'Uri', 'in' => 'query', 'schema' => [ 'description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105375', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '已启用全量日志分析功能的网站域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","errorExample":""}]', 'title' => '关闭指定域名的全量日志分析功能', 'summary' => '调用CloseDomainSlsConfig接口关闭指定域名的全量日志分析功能。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ConfigHealthCheck' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105390', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', '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', ], ], [ 'name' => 'FrontendPort', 'in' => 'query', '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}"}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => '配置四层或七层健康检查', 'summary' => '调用ConfigHealthCheck配置四层或七层健康检查。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ConfigLayer4Rule' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105392', '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"}]', ], ], [ 'name' => 'ProxyEnable', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', ], ], [ 'name' => 'UsTimeout', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'ConnectTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], 'RsTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\n\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105393', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '要操作的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX', ], ], [ 'name' => 'Module', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'sla', ], ], ], [ 'name' => 'ForwardProtocol', 'in' => 'query', 'schema' => [ 'description' => '转发协议,取值:**TCP**、**UDP**。 ', 'type' => 'string', 'required' => true, 'example' => 'TCP', ], ], [ 'name' => 'FrontendPort', 'in' => 'query', '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}}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要配置的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], [ 'name' => 'BlackList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '黑名单列表。若有多个加黑地址,依次传入BlackList.1, BlackList.2, BlackList.3, ...', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => '1.1.1.1', 'maxItems' => 2000, ], ], [ 'name' => 'WhiteList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '白名单列表。若有多个加白地址,依次传入WhiteList.1, WhiteList.2, WhiteList.3, ...', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => '1.1.1.1', 'maxItems' => 2000, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\n\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n\\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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105395', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], [ 'name' => 'Name', 'in' => 'query', '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', ], ], [ 'name' => 'Count', 'in' => 'query', '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', ], ], [ 'name' => 'Mode', 'in' => 'query', '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', ], ], [ 'name' => 'Uri', 'in' => 'query', 'schema' => [ 'description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105396', 'abilityTreeNodes' => [ 'FEATUREddosM9SQC1', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105397', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], [ 'name' => 'CertName', 'in' => 'query', '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', ], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => [ 'description' => '证书私钥。 '."\n" ."\n" .'> 若传入此参数,则必须同时传入**CertName**和**Cert**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'CertIdentifier', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'CertRegion', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\n\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105398', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', '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\\"}]', ], ], [ 'name' => 'RsType', 'in' => 'query', 'schema' => [ 'description' => '源站类型,取值:'."\n" ."\n" .'- **0**:IP'."\n" .'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', ], ], [ 'name' => 'ProxyTypes', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]', 'maxItems' => 20, ], ], [ 'name' => 'RealServers', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '源站IP。若有多个源站IP,依次传入RealServers.1, RealServers.2, RealServers.3, ...', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => true, 'example' => '1.1.1.1', 'maxItems' => 20, ], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要绑定的实例Id。若有多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...'."\n" ."\n" .'> 若不传入该参数,则只添加域名,不绑定到具体IP。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105401', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', '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', ], ], [ '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"}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105402', '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"}]', ], ], [ 'name' => 'ProxyEnable', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'enum' => [ '0', '1', ], ], ], [ 'name' => 'UsTimeout', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'ConnectTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], 'RsTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105403', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], [ '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"}]', ], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要绑定的实例ID。若有多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ..'."\n" ."\n" .'> 若不传入该参数,则只添加域名,不绑定到具体IP。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'ddoscoo-cn-XXXXX', 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105410', '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}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105411', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '要删除的CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105412', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105419', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'PageNo', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlsConfigStatusList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n www.example.com\\n true\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80\\n1","errorExample":""}]', 'title' => '分页查询域名的全量日志分析启用状态', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDDoSTraffic' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105426', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'StartTime', 'in' => 'query', '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', ], ], [ 'name' => 'EndTime', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ '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', ], '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', ], ], ], ], ], ], ], ], '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":"23482234\\n19284762\\n\\n \\n 129867\\n 129867\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询指定IP的DDoS攻击流量信息', 'summary' => '调用DescribeDDoSTraffic查询指定IP的DDoS攻击流量信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDomainAccessMode' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105429', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'DomainList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要查询的域名。所有多个域名,依次传入DomainList.1, DomainList.2, DomainList.3, ...', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => true, 'example' => 'www.aliyun.com', 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\n\\n \\n \\n 1\\n www.alibaba.com\\n \\n \\n 2\\n www.aliyun.com\\n \\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105444', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要查询的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], '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":"ddoscoo-project-xxxx-cn-hangzhou\\ntrue\\nddoscoo-logstore\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询全量日志分析的状态和对应日志库', 'summary' => '查询指定域名的全量日志分析的状态和对应日志库。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDomains' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105443', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], [ 'name' => 'Offset', 'in' => 'query', 'schema' => [ 'description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,即每页显示多少条记录。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10', ], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'DDoS高防实例ID。若指定多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ProxyTypeList' => [ 'description' => '协议类型列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ProxyType' => [ 'description' => '协议类型。取值:'."\n" ."\n" .'- **http**'."\n" .'- **https**'."\n" .'- **websocket**'."\n" .'- **websockets**', 'type' => 'string', 'example' => 'http', ], 'ProxyPorts' => [ 'type' => 'array', 'items' => [ 'description' => '协议端口。', 'type' => 'string', 'example' => '111', ], ], ], ], ], 'RealServers' => [ 'description' => '源站列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RsType' => [ 'description' => '源站类型。取值:'."\n" ."\n" .'- **0**:IP'."\n" .'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'RealServer' => [ 'description' => '源站地址。', 'type' => 'string', 'example' => '1.1.1.1', ], ], ], ], 'BlackList' => [ 'type' => 'array', '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', ], ], ], ], ], ], ], ], '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":"2\\n0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n\\n www.alibaba.com\\n \\n http\\n 80\\n 8080\\n \\n \\n 1.1.1.1\\n 0\\n \\n \\n 1.1.1.2\\n 1\\n \\n false\\n xxxxxxx.aliyunddos1006.com\\n true\\n default\\n 1.1.1.1/1\\n 1.1.1.2/2\\n 1.1.1.1/1\\n 1.1.1.2/2\\n www_alibaba_com.pem\\n\\n\\n www.alibaba.com\\n \\n http\\n 80\\n 8080\\n \\n \\n 1.1.1.1\\n 0\\n \\n \\n 1.1.1.2\\n 1\\n \\n false\\n xxxxxxx.aliyunddos1006.com\\n true\\n default\\n 1.1.1.1/1\\n 1.1.1.2/2\\n 1.1.1.1/1\\n 1.1.1.2/2\\n www_alibaba_com.pem\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105456', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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}]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], ], ], ], ], ], ], ], ], ], '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":"\\n\\n \\n \\n 80\\n \\n 20\\n 10\\n 80\\n 10\\n tcp\\n 10\\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n tcp\\n \\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105457', 'abilityTreeNodes' => [ 'FEATUREddosN7DYCX', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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}]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], ], ], ], ], ], ], ], ], ], ], '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":"\\n\\n \\n \\n 80\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n tcp\\n \\n
1.1.1.1
\\n normal\\n
\\n normal\\n
\\n
\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n
","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105458', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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"]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], ], ], ], ], ], ], ], ], ], ], '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":"\\n \\n \\n \\n \\n 1.1.1.1\\n normal\\n \\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n coop-line-001\\n \\n \\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105463', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'StartTime', 'in' => 'query', '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', ], ], [ 'name' => 'EndTime', 'in' => 'query', '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', ], ], [ 'name' => 'Port', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ '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', ], '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', ], ], ], ], ], ], ], ], '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":"10000\\n10000\\n10000\\n10000\\n\\n \\n 10000\\n 10000\\n 100\\n 100\\n 100\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询指定IP的业务流量信息', 'summary' => '调用DescribeIpTraffic查询指定IP的业务流量信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeLayer4RuleAttributes' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105465', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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}]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], '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', ], ], ], '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', ], ], ], 'PayloadLen' => [ 'description' => '包过滤配置。', 'type' => 'object', 'properties' => [ 'Min' => [ 'description' => 'DDoS防护策略/包长度过滤,包长度的最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Max' => [ 'description' => 'DDoS防护策略/包长度过滤,包长度的最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2', ], ], ], 'Cc' => [ 'description' => '源连接配置。', 'type' => 'object', 'properties' => [ 'Sblack' => [ 'description' => '源连接IP黑名单配置。', 'type' => 'array', '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', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], '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":"\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n tcp\\n 80\\n \\n \\n \\n 1\\n 5\\n 1800\\n 60\\n \\n \\n 80\\n off\\n on\\n \\n 10\\n 10\\n 1\\n 1\\n \\n \\n 0\\n 10\\n 10\\n 1\\n 1\\n 0\\n \\n \\n 1\\n 2\\n \\n \\n\\n0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105466', 'abilityTreeNodes' => [ 'FEATUREddosRTUJBH', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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****', ], ], [ 'name' => 'ForwardProtocol', 'in' => 'query', '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', ], ], [ 'name' => 'Offset', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], 'UsTimeout' => [ 'type' => 'object', 'properties' => [ 'ConnectTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], 'RsTimeout' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"949919A2-6636-1444-9213-AB27DD88AAA8\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"BakMode\\": 0,\\n \\"IsAutoCreate\\": false,\\n \\"Remark\\": \\"test-remark\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"CurrentIndex\\": 1,\\n \\"Protocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2ay9b****\\",\\n \\"BackendPort\\": 233,\\n \\"RealServers\\": [\\n \\"[\\\\\\"192.0.XX.XX\\\\\\"]\\"\\n ],\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 0,\\n \\"UsTimeout\\": {\\n \\"ConnectTimeout\\": 0,\\n \\"RsTimeout\\": 0\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\t\\n\\t\\tfalse\\n\\t\\tddoscoo-cn-zvp2ay9b****\\n\\t\\t233\\n\\t\\t0\\n\\t\\t192.0.XX.XX\\n\\t\\t233\\n\\t\\t1\\n\\t\\tudp\\n\\t\\t203.107.XX.XX\\n\\t\\ttest-remark\\n\\t\\n\\t949919A2-6636-1444-9213-AB27DD88AAA8\\n\\t1\\n","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"BackendPort\\":80,\\n \\"RealServers\\": [\\n \\"1.1.1.1\\",\\n \\"2.2.2.2\\"\\n ],\\n \\"IsAutoCreate\\": true\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => '查询指定实例的四层转发规则', 'summary' => '调用DescribeLayer4Rules查询DDoS高防实例端口转发规则的详细配置。', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~91858~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeLayer7CCRules' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105467', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', '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', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,即每页显示过少个结果。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n \\r\\n \\r\\n close\\r\\n 11\\r\\n 5\\r\\n match\\r\\n XXXX\\r\\n 1\\r\\n /a/b/c.htm\\r\\n \\r\\n \\r\\n close\\r\\n 11\\r\\n 5\\r\\n match\\r\\n XXXX\\r\\n 1\\r\\n /a/b/c.htm\\r\\n \\r\\n \\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n 10\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105469', 'abilityTreeNodes' => [ 'FEATUREddosHFA00W', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'EntityObject', 'in' => 'query', 'schema' => [ 'description' => '过滤条件内容,仅支持精确匹配。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'description' => '开始时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1534123558000', ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'description' => '结束时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536715558000', ], ], [ 'name' => 'PageNo', 'in' => 'query', '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', ], ], [ 'name' => 'OpAction', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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}}', ], ], ], ], ], ], ], ], '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":"\\n\\n \\n \\n 1.1.1.1\\n 1120384\\n 2\\n \\n \\n 30\\n \\n \\n 10\\n \\n \\n 1\\n \\n \\n 10\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '105484', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'DDoS高防实例ID。若指定多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...'."\n" ."\n" .'> 若不指定,则默认查询所有实例。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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"]', ], ], ], ], ], ], '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":"1.example.com\\n2.example.com\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询已接入DDoS高防的域名列表', 'summary' => '调用DescribeSimpleDomains查询已接入DDoS高防的域名列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeSlsEmptyCount' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105486', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"0\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查询剩余日志库清空次数', 'summary' => '调用DescribeSlsEmptyCount查询剩余日志库清空次数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribleCertList' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '105494', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要查询的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"1F2AD7D5-EDB6-4E4B-B81F-8AA68B2E3340\\n\\n leidantest\\n Alibaba\\n 2029-06-07\\n false\\n 2019-06-10\\n 2329174\\n www.aliyun.com\\n","errorExample":""}]', 'title' => '查询所有证书列表', 'summary' => '调用DescribleCertList查询所有证书列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribleLayer7InstanceRelations' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '105495', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'DomainList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要查询的域名列表。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => true, 'example' => 'www.aliyun.com', 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], 'EipList' => [ 'type' => 'array', 'items' => [ 'description' => '绑定的EIP列表。', 'type' => 'string', 'example' => '["203.107.0.0"]', ], ], ], ], ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n \\r\\n \\r\\n 1.aliyun.com\\r\\n \\r\\n \\r\\n \\r\\n 203.x.x.0\\r\\n 203.x.x.1\\r\\n \\r\\n xxxxxx\\r\\n \\r\\n \\r\\n \\r\\n 203.x.x.0\\r\\n 203.x.x.1\\r\\n \\r\\n default\\r\\n xxxxxx\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105497', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105498', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105503', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105504', 'abilityTreeNodes' => [ 'FEATUREddosOZ1QOD', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105507', 'abilityTreeNodes' => [ 'FEATUREddosN7DYCX', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ProxyPorts' => [ 'type' => 'array', 'items' => [ 'description' => '端口列表。', 'type' => 'string', 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]', ], ], ], ], ], ], ], ], ], '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":"\\n 80\\n 83\\n 84\\n 88\\n 89\\n 800\\n 808\\n 1000\\n 1090\\n 3333\\n 3501\\n 3601\\n 5000\\n 5222\\n 6001\\n 6666\\n 7000\\n 7001\\n 7002\\n 7003\\n 7004\\n 7005\\n 7006\\n 7009\\n 7010\\n 7011\\n 7012\\n 7013\\n 7014\\n 7015\\n 7016\\n 7018\\n 7019\\n 7020\\n 7021\\n 7022\\n 7023\\n 7024\\n 7025\\n 7026\\n 7060\\n 7070\\n 7081\\n 7082\\n 7083\\n 7088\\n 7097\\n 7777\\n 7800\\n 8000\\n 8001\\n 8002\\n 8003\\n 8008\\n 8009\\n 8020\\n 8021\\n 8022\\n 8025\\n 8026\\n 8077\\n 8078\\n 8080\\n 8081\\n 8082\\n 8083\\n 8084\\n 8085\\n 8086\\n 8087\\n 8088\\n 8089\\n 8090\\n 8091\\n 8106\\n 8181\\n 8334\\n 8336\\n 8800\\n 8686\\n 8787\\n 8888\\n 8889\\n 8999\\n 9000\\n 9001\\n 9002\\n 9003\\n 9080\\n 9200\\n 9999\\n 10000\\n 10001\\n 10080\\n 12601\\n 86\\n 9021\\n 9023\\n 9027\\n 9037\\n 9081\\n 9082\\n 9201\\n 9205\\n 9207\\n 9208\\n 9209\\n 9210\\n 9211\\n 9212\\n 9213\\n 48800\\n 87\\n 97\\n 7510\\n 9180\\n 9898\\n 9908\\n 9916\\n 9918\\n 9919\\n 9928\\n 9929\\n 9939\\n 28080\\n 33702\\n http\\n\\n\\n 443\\n 4443\\n 5443\\n 6443\\n 7443\\n 7988\\n 8443\\n 9443\\n 8553\\n 8663\\n 9553\\n 9663\\n 10050\\n 10443\\n 18980\\n 30050\\n https\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '获取7层转发规则中可添加的端口列表', 'summary' => '调用ListLayer7CustomPorts获取7层转发规则中可添加的端口列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ListAsyncTask' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'abilityTreeCode' => '105506', 'abilityTreeNodes' => [ 'FEATUREddos64TBV6', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'PageNo', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n \\r\\n \\r\\n 156927362\\r\\n 156927362\\r\\n 1\\r\\n \\r\\n \\r\\n 2\\r\\n 1\\r\\n \\r\\n \\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n 2\\r\\n","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', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105508', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => '要查询的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'ResourceType', 'in' => 'query', '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', ], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => [ 'description' => '列表的页码,起始值为**1**,默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ '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', ], 'TagKeys' => [ 'description' => '标签信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagCount' => [ 'description' => '标签键下标签值的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'a', ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n 1\\r\\n 20\\r\\n 97935DF1-0289-4AA2-9DD1-72377838B16B\\r\\n \\r\\n \\r\\n 1\\r\\n a\\r\\n \\r\\n \\r\\n 1\\r\\n testKey1\\r\\n \\r\\n \\r\\n 1\\r\\n testKey2\\r\\n \\r\\n \\r\\n 2\\r\\n testKey3\\r\\n \\r\\n \\r\\n 1\\r\\n testKey4\\r\\n \\r\\n \\r\\n 1\\r\\n x\\r\\n \\r\\n \\r\\n 6\\r\\n","errorExample":""}]', 'title' => '查询所有标签', 'summary' => '调用ListTagKeys接口查询所有标签。', ], 'ListTagResources' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105509', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '指定下一个查询开始的Token。如果没有下一个查询,请留空。', 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '指定要查询的DDoS高防实例ID,查询实例的标签。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。'."\n" .'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'ddoscoo-cn-o4017n9q9004', 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', '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', ], ], ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => [ 'description' => '下一个查询开始的Token。没有下一个查询时为空。', 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr', ], 'RequestId' => [ 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65', ], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagResource' => [ 'description' => '资源和标签的关系列表。', 'type' => 'array', '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', ], ], ], ], ], ], ], ], ], ], '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":"\\r\\n\\r\\n RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr\\r\\n C3F7E6AE-43B2-4730-B6A3-FD17552B8F65\\r\\n \\r\\n \\r\\n \\r\\n ddoscoo-cn-o4017n9q9004\\r\\n INSTANCE\\r\\n testKey4\\r\\n testValue4\\r\\n \\r\\n \\r\\n \\r\\n","errorExample":""}]', 'title' => '查询资源和标签的对应关系', 'summary' => '查询资源(DDoS高防实例)和标签的对应关系。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ListValueAdded' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '105510', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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":"\\n 1\\n 1575527305000\\n 5497558138880\\n ddos_fl_pre-cn-xxxx\\n 1580918400000\\n\\nCF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '查看增值服务信息', 'summary' => '查看DDoS高防增值服务(全量日志分析)信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ModifyInstanceRemark' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'abilityTreeCode' => '105515', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => [ 'description' => '新的备注信息。', 'type' => 'string', 'required' => false, 'example' => '测试备注名1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => '修改指定实例的备注信息', 'summary' => '调用ModifyInstanceRemark修改指定实例的备注信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'OpenDomainSlsConfig' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105519', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx', ], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => [ 'description' => '要启用全量日志分析功能的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"CF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '为指定域名启用全量日志分析功能', 'summary' => '调用OpenDomainSlsConfig为指定域名启用全量日志分析功能。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ReleaseInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'abilityTreeCode' => '105521', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'responseDemo' => '', ], 'ReleaseValueAdded' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105522', 'abilityTreeNodes' => [ 'FEATUREddosVFFSV8', ], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"CF33B4C3-196E-4015-AADD-5CAD00057B80","errorExample":""}]', 'title' => '释放增值服务实例', 'summary' => '释放DDoS高防增值服务实例(全量日志分析功能)。', 'description' => '> 该接口将释放全量日志分析服务实例,请谨慎调用。', ], 'TagResources' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105524', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源的类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => true, 'example' => 'ddoscoo-cn-v0h1fmwbc024', 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', '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', ], ], ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n 7078CD1E-F609-47A4-9C39-B288CC27C686\\r\\n","errorExample":""}]', 'title' => '为指定资源绑定标签', 'summary' => '为指定资源(DDoS高防实例)绑定标签。', ], 'UntagResources' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '105526', 'abilityTreeNodes' => [ 'FEATUREddosMHU3MF', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', ], ], [ 'name' => 'All', 'in' => 'query', 'schema' => [ 'description' => '是否移除实例上的所有标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => true, 'example' => 'ddoscoo-cn-v0h1fmwbc024', 'maxItems' => 51, ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要移除的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。', 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'example' => 'testKey1', 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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":"\\r\\n\\r\\n F2D86AED-BA27-4584-BADC-B43BDA7EEBCA\\r\\n","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', ], ], ];