tencentcloud-sdk-nodejs 4.0.1052 → 4.0.1053
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +0 -123
- package/src/services/captcha/v20190722/captcha_models.ts +31 -40
- package/src/services/cdc/v20201214/cdc_models.ts +0 -6
- package/src/services/cvm/v20170312/cvm_client.ts +19 -5
- package/src/services/cvm/v20170312/cvm_models.ts +95 -38
- package/src/services/cwp/v20180228/cwp_models.ts +32 -12
- package/src/services/domain/v20180808/domain_models.ts +8 -12
- package/src/services/ess/v20201111/ess_client.ts +1 -0
- package/src/services/ess/v20201111/ess_models.ts +23 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +25 -3
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +2 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +33 -11
- package/src/services/lke/v20231130/lke_client.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +4 -16
- package/src/services/mongodb/v20190725/mongodb_models.ts +3 -3
- package/src/services/redis/v20180412/redis_models.ts +4 -4
- package/src/services/ses/v20201002/ses_models.ts +1 -2
- package/src/services/tat/v20201028/tat_models.ts +5 -4
- package/src/services/tcb/v20180608/tcb_models.ts +1 -116
- package/src/services/tdmq/v20200217/tdmq_models.ts +19 -114
- package/src/services/teo/v20220901/teo_client.ts +17 -10
- package/src/services/teo/v20220901/teo_models.ts +77 -15
- package/src/services/trocket/v20230308/trocket_client.ts +12 -0
- package/src/services/trocket/v20230308/trocket_models.ts +32 -0
- package/src/services/trro/v20220325/trro_client.ts +14 -0
- package/src/services/trro/v20220325/trro_models.ts +44 -0
- package/src/services/waf/v20180125/waf_client.ts +40 -3
- package/src/services/waf/v20180125/waf_models.ts +120 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -123
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +31 -40
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +0 -6
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +91 -38
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -12
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +8 -12
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +22 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +24 -3
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +32 -11
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +4 -16
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +3 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -4
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -3
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +5 -4
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -116
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +19 -114
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -5
- package/tencentcloud/services/teo/v20220901/teo_client.js +8 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +74 -15
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +5 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +6 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +30 -0
- package/tencentcloud/services/trro/v20220325/trro_client.d.ts +7 -1
- package/tencentcloud/services/trro/v20220325/trro_client.js +8 -0
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +42 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +113 -6
|
@@ -109,6 +109,7 @@ import {
|
|
|
109
109
|
DownloadL4LogsRequest,
|
|
110
110
|
StatusCodeCacheParam,
|
|
111
111
|
ModifyZoneSettingRequest,
|
|
112
|
+
DetectLengthLimitRule,
|
|
112
113
|
OriginGroupHealthStatus,
|
|
113
114
|
ModifyDnsRecordsResponse,
|
|
114
115
|
BillingDataFilter,
|
|
@@ -216,6 +217,7 @@ import {
|
|
|
216
217
|
DescribeHostsSettingRequest,
|
|
217
218
|
DestroyPlanRequest,
|
|
218
219
|
CreatePlanRequest,
|
|
220
|
+
DetectLengthLimitConfig,
|
|
219
221
|
DescribeFunctionRuntimeEnvironmentRequest,
|
|
220
222
|
IPGroup,
|
|
221
223
|
DescribeDnsRecordsRequest,
|
|
@@ -443,6 +445,7 @@ import {
|
|
|
443
445
|
DescribeAvailablePlansRequest,
|
|
444
446
|
DnsVerification,
|
|
445
447
|
AlgDetectSession,
|
|
448
|
+
ModifyZoneStatusResponse,
|
|
446
449
|
DeleteContentIdentifierRequest,
|
|
447
450
|
CreateContentIdentifierRequest,
|
|
448
451
|
OriginProtectionInfo,
|
|
@@ -459,7 +462,7 @@ import {
|
|
|
459
462
|
Quic,
|
|
460
463
|
CreateCLSIndexRequest,
|
|
461
464
|
DescribeRulesRequest,
|
|
462
|
-
|
|
465
|
+
DetectLengthLimitCondition,
|
|
463
466
|
ModifyZoneSettingResponse,
|
|
464
467
|
DownloadL7LogsResponse,
|
|
465
468
|
AccelerationDomain,
|
|
@@ -526,7 +529,7 @@ import {
|
|
|
526
529
|
Function,
|
|
527
530
|
Quota,
|
|
528
531
|
CheckCnameStatusRequest,
|
|
529
|
-
|
|
532
|
+
DescribeContentQuotaResponse,
|
|
530
533
|
DescribeSecurityIPGroupResponse,
|
|
531
534
|
UpgradePlanRequest,
|
|
532
535
|
CreatePurgeTaskRequest,
|
|
@@ -1141,8 +1144,9 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1141
1144
|
}
|
|
1142
1145
|
|
|
1143
1146
|
/**
|
|
1144
|
-
|
|
1145
|
-
|
|
1147
|
+
* 本接口为旧版本修改规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本修改七层加速规则接口详情请参考 [ModifyL7AccRule](https://cloud.tencent.com/document/product/1552/115818)。
|
|
1148
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
|
1149
|
+
*/
|
|
1146
1150
|
async ModifyRule(
|
|
1147
1151
|
req: ModifyRuleRequest,
|
|
1148
1152
|
cb?: (error: string, rep: ModifyRuleResponse) => void
|
|
@@ -1322,8 +1326,9 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1322
1326
|
}
|
|
1323
1327
|
|
|
1324
1328
|
/**
|
|
1325
|
-
|
|
1326
|
-
|
|
1329
|
+
* 本接口为旧版本创建规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本创建七层加速规则接口详情请参考 [CreateL7AccRules](https://cloud.tencent.com/document/product/1552/115822)。
|
|
1330
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
|
1331
|
+
*/
|
|
1327
1332
|
async CreateRule(
|
|
1328
1333
|
req: CreateRuleRequest,
|
|
1329
1334
|
cb?: (error: string, rep: CreateRuleResponse) => void
|
|
@@ -1515,8 +1520,9 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1515
1520
|
}
|
|
1516
1521
|
|
|
1517
1522
|
/**
|
|
1518
|
-
|
|
1519
|
-
|
|
1523
|
+
* 本接口为旧版本删除规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本删除七层加速规则接口详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
|
|
1524
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
|
1525
|
+
*/
|
|
1520
1526
|
async DeleteRules(
|
|
1521
1527
|
req: DeleteRulesRequest,
|
|
1522
1528
|
cb?: (error: string, rep: DeleteRulesResponse) => void
|
|
@@ -1609,8 +1615,9 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
1609
1615
|
}
|
|
1610
1616
|
|
|
1611
1617
|
/**
|
|
1612
|
-
|
|
1613
|
-
|
|
1618
|
+
* 本接口为旧版本查询规则引擎规则接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本查询七层加速规则接口详情请参考 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820)。
|
|
1619
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
|
1620
|
+
*/
|
|
1614
1621
|
async DescribeRules(
|
|
1615
1622
|
req: DescribeRulesRequest,
|
|
1616
1623
|
cb?: (error: string, rep: DescribeRulesResponse) => void
|
|
@@ -2401,6 +2401,34 @@ export interface ModifyZoneSettingRequest {
|
|
|
2401
2401
|
JITVideoProcess?: JITVideoProcess
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
|
+
/**
|
|
2405
|
+
* 检测长度限制规则详情
|
|
2406
|
+
*/
|
|
2407
|
+
export interface DetectLengthLimitRule {
|
|
2408
|
+
/**
|
|
2409
|
+
* 规则Id。仅出参使用。
|
|
2410
|
+
*/
|
|
2411
|
+
RuleId: number
|
|
2412
|
+
/**
|
|
2413
|
+
* 规则名称。仅出参使用。
|
|
2414
|
+
*/
|
|
2415
|
+
RuleName: string
|
|
2416
|
+
/**
|
|
2417
|
+
* 规则描述,仅出参使用。
|
|
2418
|
+
*/
|
|
2419
|
+
Description: string
|
|
2420
|
+
/**
|
|
2421
|
+
* 规则配置条件。仅出参使用。
|
|
2422
|
+
*/
|
|
2423
|
+
Conditions: Array<DetectLengthLimitCondition>
|
|
2424
|
+
/**
|
|
2425
|
+
* 处置方式,取值有:
|
|
2426
|
+
<li>skip:当请求正文数据超过 Conditions 出参中 body_depth 设置的检测深度时,跳过所有请求正文内容的检测;</li>
|
|
2427
|
+
<li>scan:仅检测 Conditions 出参中 body_depth 设置的检测深度,对超出部分的请求正文内容直接截断处理,超出部分的请求正文不会经过安全检测。</li>仅出参使用。
|
|
2428
|
+
*/
|
|
2429
|
+
Action: string
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2404
2432
|
/**
|
|
2405
2433
|
* 源站组健康状态。
|
|
2406
2434
|
*/
|
|
@@ -2637,7 +2665,7 @@ export interface BotManagedRule {
|
|
|
2637
2665
|
}
|
|
2638
2666
|
|
|
2639
2667
|
/**
|
|
2640
|
-
* 安全配置
|
|
2668
|
+
* Web安全配置
|
|
2641
2669
|
*/
|
|
2642
2670
|
export interface SecurityConfig {
|
|
2643
2671
|
/**
|
|
@@ -2690,6 +2718,11 @@ export interface SecurityConfig {
|
|
|
2690
2718
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2691
2719
|
*/
|
|
2692
2720
|
SlowPostConfig?: SlowPostConfig
|
|
2721
|
+
/**
|
|
2722
|
+
* 检测长度限制配置。仅出参使用。
|
|
2723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2724
|
+
*/
|
|
2725
|
+
DetectLengthLimitConfig?: DetectLengthLimitConfig
|
|
2693
2726
|
}
|
|
2694
2727
|
|
|
2695
2728
|
/**
|
|
@@ -4958,6 +4991,16 @@ export interface CreatePlanRequest {
|
|
|
4958
4991
|
PrepaidPlanParam?: PrepaidPlanParam
|
|
4959
4992
|
}
|
|
4960
4993
|
|
|
4994
|
+
/**
|
|
4995
|
+
* 检测长度限制
|
|
4996
|
+
*/
|
|
4997
|
+
export interface DetectLengthLimitConfig {
|
|
4998
|
+
/**
|
|
4999
|
+
* 检测长度限制的规则列表。
|
|
5000
|
+
*/
|
|
5001
|
+
DetectLengthLimitRules: Array<DetectLengthLimitRule>
|
|
5002
|
+
}
|
|
5003
|
+
|
|
4961
5004
|
/**
|
|
4962
5005
|
* DescribeFunctionRuntimeEnvironment请求参数结构体
|
|
4963
5006
|
*/
|
|
@@ -10402,6 +10445,16 @@ export interface AlgDetectSession {
|
|
|
10402
10445
|
SessionBehaviors?: Array<AlgDetectResult>
|
|
10403
10446
|
}
|
|
10404
10447
|
|
|
10448
|
+
/**
|
|
10449
|
+
* ModifyZoneStatus返回参数结构体
|
|
10450
|
+
*/
|
|
10451
|
+
export interface ModifyZoneStatusResponse {
|
|
10452
|
+
/**
|
|
10453
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10454
|
+
*/
|
|
10455
|
+
RequestId?: string
|
|
10456
|
+
}
|
|
10457
|
+
|
|
10405
10458
|
/**
|
|
10406
10459
|
* DeleteContentIdentifier请求参数结构体
|
|
10407
10460
|
*/
|
|
@@ -10844,23 +10897,22 @@ export interface DescribeRulesRequest {
|
|
|
10844
10897
|
}
|
|
10845
10898
|
|
|
10846
10899
|
/**
|
|
10847
|
-
*
|
|
10900
|
+
* 检测长度限制配置条件。
|
|
10848
10901
|
*/
|
|
10849
|
-
export interface
|
|
10850
|
-
/**
|
|
10851
|
-
* 刷新相关配额。
|
|
10852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10853
|
-
*/
|
|
10854
|
-
PurgeQuota?: Array<Quota>
|
|
10902
|
+
export interface DetectLengthLimitCondition {
|
|
10855
10903
|
/**
|
|
10856
|
-
*
|
|
10857
|
-
|
|
10904
|
+
* 匹配条件的参数名称,取值有:
|
|
10905
|
+
<li>body_depth:请求正文包部分的检测深度。</li>
|
|
10858
10906
|
*/
|
|
10859
|
-
|
|
10907
|
+
Name: string
|
|
10860
10908
|
/**
|
|
10861
|
-
*
|
|
10909
|
+
* 匹配条件的参数值,取值与 Name 成对使用。
|
|
10910
|
+
当 Name 值为 body_depth 时, Values 只支持传入单个值,取值有:
|
|
10911
|
+
<li>8KB;</li>
|
|
10912
|
+
<li>64KB;</li>
|
|
10913
|
+
<li>128KB。</li>
|
|
10862
10914
|
*/
|
|
10863
|
-
|
|
10915
|
+
Values: Array<string>
|
|
10864
10916
|
}
|
|
10865
10917
|
|
|
10866
10918
|
/**
|
|
@@ -12413,9 +12465,19 @@ export interface CheckCnameStatusRequest {
|
|
|
12413
12465
|
}
|
|
12414
12466
|
|
|
12415
12467
|
/**
|
|
12416
|
-
*
|
|
12468
|
+
* DescribeContentQuota返回参数结构体
|
|
12417
12469
|
*/
|
|
12418
|
-
export interface
|
|
12470
|
+
export interface DescribeContentQuotaResponse {
|
|
12471
|
+
/**
|
|
12472
|
+
* 刷新相关配额。
|
|
12473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12474
|
+
*/
|
|
12475
|
+
PurgeQuota?: Array<Quota>
|
|
12476
|
+
/**
|
|
12477
|
+
* 预热相关配额。
|
|
12478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12479
|
+
*/
|
|
12480
|
+
PrefetchQuota?: Array<Quota>
|
|
12419
12481
|
/**
|
|
12420
12482
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12421
12483
|
*/
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DetailedRolePerm,
|
|
22
22
|
DescribeProductSKUsRequest,
|
|
23
|
+
ResetConsumerGroupOffsetResponse,
|
|
23
24
|
ProductSKU,
|
|
24
25
|
DescribeRoleListResponse,
|
|
25
26
|
DeleteMQTTTopicRequest,
|
|
@@ -164,6 +165,7 @@ import {
|
|
|
164
165
|
DescribeInstanceRequest,
|
|
165
166
|
DescribeProductSKUsResponse,
|
|
166
167
|
DescribeMQTTMessageListRequest,
|
|
168
|
+
ResetConsumerGroupOffsetRequest,
|
|
167
169
|
} from "./trocket_models"
|
|
168
170
|
|
|
169
171
|
/**
|
|
@@ -513,6 +515,16 @@ TopicName,主题名称过滤
|
|
|
513
515
|
return this.request("DescribeMessageList", req, cb)
|
|
514
516
|
}
|
|
515
517
|
|
|
518
|
+
/**
|
|
519
|
+
* 重置消费位点
|
|
520
|
+
*/
|
|
521
|
+
async ResetConsumerGroupOffset(
|
|
522
|
+
req: ResetConsumerGroupOffsetRequest,
|
|
523
|
+
cb?: (error: string, rep: ResetConsumerGroupOffsetResponse) => void
|
|
524
|
+
): Promise<ResetConsumerGroupOffsetResponse> {
|
|
525
|
+
return this.request("ResetConsumerGroupOffset", req, cb)
|
|
526
|
+
}
|
|
527
|
+
|
|
516
528
|
/**
|
|
517
529
|
* 获取主题列表,Filter参数使用说明如下:
|
|
518
530
|
|
|
@@ -46,6 +46,16 @@ export interface DetailedRolePerm {
|
|
|
46
46
|
*/
|
|
47
47
|
export type DescribeProductSKUsRequest = null
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* ResetConsumerGroupOffset返回参数结构体
|
|
51
|
+
*/
|
|
52
|
+
export interface ResetConsumerGroupOffsetResponse {
|
|
53
|
+
/**
|
|
54
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
55
|
+
*/
|
|
56
|
+
RequestId?: string
|
|
57
|
+
}
|
|
58
|
+
|
|
49
59
|
/**
|
|
50
60
|
* 商品售卖信息
|
|
51
61
|
*/
|
|
@@ -3844,3 +3854,25 @@ export interface DescribeMQTTMessageListRequest {
|
|
|
3844
3854
|
*/
|
|
3845
3855
|
Limit?: number
|
|
3846
3856
|
}
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* ResetConsumerGroupOffset请求参数结构体
|
|
3860
|
+
*/
|
|
3861
|
+
export interface ResetConsumerGroupOffsetRequest {
|
|
3862
|
+
/**
|
|
3863
|
+
* 集群ID
|
|
3864
|
+
*/
|
|
3865
|
+
InstanceId: string
|
|
3866
|
+
/**
|
|
3867
|
+
* 主题名称
|
|
3868
|
+
*/
|
|
3869
|
+
Topic: string
|
|
3870
|
+
/**
|
|
3871
|
+
* 重置位点时间(单位:毫秒)-1表示重置到最新位点
|
|
3872
|
+
*/
|
|
3873
|
+
ResetTimestamp: number
|
|
3874
|
+
/**
|
|
3875
|
+
* 消费组名称
|
|
3876
|
+
*/
|
|
3877
|
+
ConsumerGroup?: string
|
|
3878
|
+
}
|
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
ModifyPolicyResponse,
|
|
44
44
|
Device,
|
|
45
45
|
DescribeSessionStatisticsRequest,
|
|
46
|
+
ModifyProjectSecModeResponse,
|
|
46
47
|
BatchDeleteDevicesResponse,
|
|
47
48
|
ModifyProjectRequest,
|
|
48
49
|
DescribeRecentSessionListResponse,
|
|
@@ -69,6 +70,7 @@ import {
|
|
|
69
70
|
GetLicensesResponse,
|
|
70
71
|
DeviceInfo,
|
|
71
72
|
DescribeDeviceSessionListRequest,
|
|
73
|
+
ModifyProjectSecModeRequest,
|
|
72
74
|
GetDevicesRequest,
|
|
73
75
|
CreateProjectResponse,
|
|
74
76
|
SessionIntervalStatistic,
|
|
@@ -255,6 +257,18 @@ export class Client extends AbstractClient {
|
|
|
255
257
|
return this.request("DescribeDeviceInfo", req, cb)
|
|
256
258
|
}
|
|
257
259
|
|
|
260
|
+
/**
|
|
261
|
+
* 使用项目共享密钥可动态生成设备登录密钥,登录前无需对设备进行提前注册,适合希望简化业务流程的客户。由于是公共密钥,请务必注意保护项目共享密钥,并及时更新。建议项目共享密钥保存在服务器侧。由服务器生成设备登录密码下发给设备,避免密钥保存在客户端侧产生的密钥泄露风险。
|
|
262
|
+
|
|
263
|
+
开启项目共享密钥后,对于已注册的设备,仍可使用原设备密码登录。若希望仅能通过共享密钥生成密码登录,请通过云 API 将设备密码更新为"USEPROJECTKEYPWD"。
|
|
264
|
+
*/
|
|
265
|
+
async ModifyProjectSecMode(
|
|
266
|
+
req: ModifyProjectSecModeRequest,
|
|
267
|
+
cb?: (error: string, rep: ModifyProjectSecModeResponse) => void
|
|
268
|
+
): Promise<ModifyProjectSecModeResponse> {
|
|
269
|
+
return this.request("ModifyProjectSecMode", req, cb)
|
|
270
|
+
}
|
|
271
|
+
|
|
258
272
|
/**
|
|
259
273
|
* 获取设备会话列表
|
|
260
274
|
*/
|
|
@@ -548,6 +548,16 @@ export interface DescribeSessionStatisticsRequest {
|
|
|
548
548
|
EndTime?: number
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
+
/**
|
|
552
|
+
* ModifyProjectSecMode返回参数结构体
|
|
553
|
+
*/
|
|
554
|
+
export interface ModifyProjectSecModeResponse {
|
|
555
|
+
/**
|
|
556
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
557
|
+
*/
|
|
558
|
+
RequestId?: string
|
|
559
|
+
}
|
|
560
|
+
|
|
551
561
|
/**
|
|
552
562
|
* BatchDeleteDevices返回参数结构体
|
|
553
563
|
*/
|
|
@@ -1222,6 +1232,40 @@ export interface DescribeDeviceSessionListRequest {
|
|
|
1222
1232
|
EndTime?: number
|
|
1223
1233
|
}
|
|
1224
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* ModifyProjectSecMode请求参数结构体
|
|
1237
|
+
*/
|
|
1238
|
+
export interface ModifyProjectSecModeRequest {
|
|
1239
|
+
/**
|
|
1240
|
+
* 项目ID
|
|
1241
|
+
*/
|
|
1242
|
+
ProjectId: string
|
|
1243
|
+
/**
|
|
1244
|
+
* 安全模式
|
|
1245
|
+
0:关闭项目共享密钥
|
|
1246
|
+
1:开启项目共享密钥
|
|
1247
|
+
*/
|
|
1248
|
+
Mode: number
|
|
1249
|
+
/**
|
|
1250
|
+
* 项目密钥 32位 小写英文+数字; 项目密钥模式必填
|
|
1251
|
+
*/
|
|
1252
|
+
Key?: string
|
|
1253
|
+
/**
|
|
1254
|
+
* 自动注册方式
|
|
1255
|
+
0:关闭自动注册
|
|
1256
|
+
1:仅允许现场设备自动注册
|
|
1257
|
+
2:仅允许远端设备自动注册
|
|
1258
|
+
3:允许现场和远端设备均自动注册
|
|
1259
|
+
*/
|
|
1260
|
+
AutoRegister?: number
|
|
1261
|
+
/**
|
|
1262
|
+
* 是否允许远端获取现场设备列表(getGwList)
|
|
1263
|
+
0:不允许
|
|
1264
|
+
1:允许
|
|
1265
|
+
*/
|
|
1266
|
+
FieldListEnable?: number
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1225
1269
|
/**
|
|
1226
1270
|
* GetDevices请求参数结构体
|
|
1227
1271
|
*/
|
|
@@ -91,6 +91,7 @@ import {
|
|
|
91
91
|
DeleteCustomRuleRequest,
|
|
92
92
|
DescribeUserSignatureRuleV2Request,
|
|
93
93
|
ModifyApiSecEventChangeRequest,
|
|
94
|
+
DescribePostCLSFlowsRequest,
|
|
94
95
|
JobDateTime,
|
|
95
96
|
DescribeHostsRequest,
|
|
96
97
|
ModifyCustomWhiteRuleStatusRequest,
|
|
@@ -98,6 +99,7 @@ import {
|
|
|
98
99
|
ClbWafRegionItem,
|
|
99
100
|
DescribeFindDomainListRequest,
|
|
100
101
|
ModifyInstanceElasticModeResponse,
|
|
102
|
+
DescribePostCLSFlowsResponse,
|
|
101
103
|
TargetEntity,
|
|
102
104
|
DeleteHostRequest,
|
|
103
105
|
DescribeDomainCountInfoRequest,
|
|
@@ -115,6 +117,7 @@ import {
|
|
|
115
117
|
DescribeUserDomainInfoResponse,
|
|
116
118
|
TLSVersion,
|
|
117
119
|
LoadBalancer,
|
|
120
|
+
PostCLSFlowInfo,
|
|
118
121
|
CdcCluster,
|
|
119
122
|
DescribeCustomRulesRspRuleListItem,
|
|
120
123
|
ModifyAntiInfoLeakRulesResponse,
|
|
@@ -124,6 +127,7 @@ import {
|
|
|
124
127
|
HostDel,
|
|
125
128
|
DescribeModuleStatusRequest,
|
|
126
129
|
DeleteAttackWhiteRuleRequest,
|
|
130
|
+
CreatePostCLSFlowResponse,
|
|
127
131
|
DescribeHostsResponse,
|
|
128
132
|
DescribeAccessIndexRequest,
|
|
129
133
|
DomainInfo,
|
|
@@ -193,7 +197,7 @@ import {
|
|
|
193
197
|
GoodNews,
|
|
194
198
|
ScanIpInfo,
|
|
195
199
|
DescribeUserSignatureRuleRequest,
|
|
196
|
-
|
|
200
|
+
ModifyProtectionStatusResponse,
|
|
197
201
|
DescribeUserClbWafRegionsRequest,
|
|
198
202
|
AddAntiInfoLeakRulesResponse,
|
|
199
203
|
DescribeWafThreatenIntelligenceResponse,
|
|
@@ -227,6 +231,7 @@ import {
|
|
|
227
231
|
DescribeInstancesResponse,
|
|
228
232
|
AccessRuleTagInfo,
|
|
229
233
|
IpAccessControlItem,
|
|
234
|
+
DestroyPostCLSFlowResponse,
|
|
230
235
|
UpsertCCAutoStatusResponse,
|
|
231
236
|
ModifyGenerateDealsResponse,
|
|
232
237
|
UpsertSessionResponse,
|
|
@@ -326,7 +331,7 @@ import {
|
|
|
326
331
|
DeleteCCRuleResponse,
|
|
327
332
|
DescribeAreaBanAreasRsp,
|
|
328
333
|
UpsertCCRuleRequest,
|
|
329
|
-
|
|
334
|
+
ModifyAreaBanRuleResponse,
|
|
330
335
|
DescribeDomainsRequest,
|
|
331
336
|
ModifyDomainPostActionRequest,
|
|
332
337
|
BotPkg,
|
|
@@ -349,7 +354,7 @@ import {
|
|
|
349
354
|
DescribeAntiInfoLeakRulesStrategyItem,
|
|
350
355
|
ApiParameterType,
|
|
351
356
|
BotStatPointItem,
|
|
352
|
-
|
|
357
|
+
CreatePostCLSFlowRequest,
|
|
353
358
|
CCRuleItems,
|
|
354
359
|
ModifyDomainIpv6StatusRequest,
|
|
355
360
|
DescribeAntiInfoLeakageRulesResponse,
|
|
@@ -385,6 +390,7 @@ import {
|
|
|
385
390
|
BatchIpAccessControlData,
|
|
386
391
|
DescribePeakValueRequest,
|
|
387
392
|
BotQPS,
|
|
393
|
+
DestroyPostCLSFlowRequest,
|
|
388
394
|
DescribeApiDetailRequest,
|
|
389
395
|
DescribePolicyStatusResponse,
|
|
390
396
|
CdcRegion,
|
|
@@ -392,6 +398,7 @@ import {
|
|
|
392
398
|
DescribeDomainRulesResponse,
|
|
393
399
|
CreateDealsResponse,
|
|
394
400
|
TLSCiphers,
|
|
401
|
+
DescribeCiphersDetailRequest,
|
|
395
402
|
DescribeDomainVerifyResultResponse,
|
|
396
403
|
AddCustomRuleRequest,
|
|
397
404
|
DeleteCCRuleRequest,
|
|
@@ -902,6 +909,16 @@ export class Client extends AbstractClient {
|
|
|
902
909
|
return this.request("UpsertIpAccessControl", req, cb)
|
|
903
910
|
}
|
|
904
911
|
|
|
912
|
+
/**
|
|
913
|
+
* 创建CLS投递流任务
|
|
914
|
+
*/
|
|
915
|
+
async CreatePostCLSFlow(
|
|
916
|
+
req: CreatePostCLSFlowRequest,
|
|
917
|
+
cb?: (error: string, rep: CreatePostCLSFlowResponse) => void
|
|
918
|
+
): Promise<CreatePostCLSFlowResponse> {
|
|
919
|
+
return this.request("CreatePostCLSFlow", req, cb)
|
|
920
|
+
}
|
|
921
|
+
|
|
905
922
|
/**
|
|
906
923
|
* 生成攻击日志的产生时间柱状图
|
|
907
924
|
*/
|
|
@@ -1252,6 +1269,16 @@ export class Client extends AbstractClient {
|
|
|
1252
1269
|
return this.request("DescribeFindDomainList", req, cb)
|
|
1253
1270
|
}
|
|
1254
1271
|
|
|
1272
|
+
/**
|
|
1273
|
+
* 获取CLS投递流任务列表
|
|
1274
|
+
*/
|
|
1275
|
+
async DescribePostCLSFlows(
|
|
1276
|
+
req: DescribePostCLSFlowsRequest,
|
|
1277
|
+
cb?: (error: string, rep: DescribePostCLSFlowsResponse) => void
|
|
1278
|
+
): Promise<DescribePostCLSFlowsResponse> {
|
|
1279
|
+
return this.request("DescribePostCLSFlows", req, cb)
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1255
1282
|
/**
|
|
1256
1283
|
* 切换防篡改开关
|
|
1257
1284
|
*/
|
|
@@ -1422,6 +1449,16 @@ export class Client extends AbstractClient {
|
|
|
1422
1449
|
return this.request("SwitchDomainRules", req, cb)
|
|
1423
1450
|
}
|
|
1424
1451
|
|
|
1452
|
+
/**
|
|
1453
|
+
* 销毁CLS投递流任务
|
|
1454
|
+
*/
|
|
1455
|
+
async DestroyPostCLSFlow(
|
|
1456
|
+
req: DestroyPostCLSFlowRequest,
|
|
1457
|
+
cb?: (error: string, rep: DestroyPostCLSFlowResponse) => void
|
|
1458
|
+
): Promise<DestroyPostCLSFlowResponse> {
|
|
1459
|
+
return this.request("DestroyPostCLSFlow", req, cb)
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1425
1462
|
/**
|
|
1426
1463
|
* Waf 批量防护IP黑白名单查询
|
|
1427
1464
|
*/
|