tencentcloud-sdk-nodejs 4.0.673 → 4.0.674
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/CHANGELOG.md +145 -0
- package/SERVICE_CHANGELOG.md +452 -729
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +17 -17
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +22 -17
- package/src/services/iss/v20230517/iss_client.ts +64 -11
- package/src/services/iss/v20230517/iss_models.ts +381 -86
- package/src/services/live/v20180801/live_models.ts +4 -4
- package/src/services/tione/v20211111/tione_client.ts +2 -1
- package/src/services/tione/v20211111/tione_models.ts +94 -54
- package/src/services/trtc/v20190722/trtc_client.ts +84 -6
- package/src/services/trtc/v20190722/trtc_models.ts +292 -92
- package/src/services/waf/v20180125/waf_client.ts +42 -6
- package/src/services/waf/v20180125/waf_models.ts +191 -56
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -17
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +19 -3
- package/tencentcloud/services/iss/v20230517/iss_client.js +27 -3
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +368 -86
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -4
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +93 -54
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +44 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +51 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +281 -92
- 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 +184 -55
- package/test/iss.v20230517.test.js +42 -2
- package/test/trtc.v20190722.test.js +40 -0
- package/test/waf.v20180125.test.js +30 -0
|
@@ -457,6 +457,24 @@ export interface AddDomainWhiteRuleResponse {
|
|
|
457
457
|
RequestId?: string
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
+
/**
|
|
461
|
+
* DescribeHostLimit请求参数结构体
|
|
462
|
+
*/
|
|
463
|
+
export interface DescribeHostLimitRequest {
|
|
464
|
+
/**
|
|
465
|
+
* 添加的域名
|
|
466
|
+
*/
|
|
467
|
+
Domain: string
|
|
468
|
+
/**
|
|
469
|
+
* 实例id
|
|
470
|
+
*/
|
|
471
|
+
InstanceID?: string
|
|
472
|
+
/**
|
|
473
|
+
* 流量来源
|
|
474
|
+
*/
|
|
475
|
+
AlbType?: string
|
|
476
|
+
}
|
|
477
|
+
|
|
460
478
|
/**
|
|
461
479
|
* DescribeIpAccessControl返回参数结构体
|
|
462
480
|
*/
|
|
@@ -1224,9 +1242,9 @@ export interface DescribeUserClbWafRegionsResponse {
|
|
|
1224
1242
|
}
|
|
1225
1243
|
|
|
1226
1244
|
/**
|
|
1227
|
-
*
|
|
1245
|
+
* ModifyCustomRule请求参数结构体
|
|
1228
1246
|
*/
|
|
1229
|
-
export interface
|
|
1247
|
+
export interface ModifyCustomRuleRequest {
|
|
1230
1248
|
/**
|
|
1231
1249
|
* 编辑的域名
|
|
1232
1250
|
*/
|
|
@@ -1240,21 +1258,36 @@ export interface ModifyCustomWhiteRuleRequest {
|
|
|
1240
1258
|
*/
|
|
1241
1259
|
RuleName: string
|
|
1242
1260
|
/**
|
|
1243
|
-
*
|
|
1261
|
+
* 执行动作,0:放行、1:阻断、2:人机识别、3:观察、4:重定向
|
|
1244
1262
|
*/
|
|
1245
|
-
|
|
1263
|
+
RuleAction: string
|
|
1246
1264
|
/**
|
|
1247
|
-
*
|
|
1265
|
+
* 匹配条件数组
|
|
1248
1266
|
*/
|
|
1249
|
-
|
|
1267
|
+
Strategies: Array<Strategy>
|
|
1250
1268
|
/**
|
|
1251
|
-
*
|
|
1269
|
+
* WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
|
1252
1270
|
*/
|
|
1253
|
-
|
|
1271
|
+
Edition?: string
|
|
1254
1272
|
/**
|
|
1255
|
-
*
|
|
1273
|
+
* 动作为重定向的时候重定向URL,默认为"/"
|
|
1256
1274
|
*/
|
|
1257
|
-
|
|
1275
|
+
Redirect?: string
|
|
1276
|
+
/**
|
|
1277
|
+
* 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。
|
|
1278
|
+
默认是"geoip,cc,owasp,ai,antileakage"
|
|
1279
|
+
*/
|
|
1280
|
+
Bypass?: string
|
|
1281
|
+
/**
|
|
1282
|
+
* 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
|
|
1283
|
+
默认是100
|
|
1284
|
+
*/
|
|
1285
|
+
SortId?: number
|
|
1286
|
+
/**
|
|
1287
|
+
* 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。
|
|
1288
|
+
默认是0
|
|
1289
|
+
*/
|
|
1290
|
+
ExpireTime?: number
|
|
1258
1291
|
}
|
|
1259
1292
|
|
|
1260
1293
|
/**
|
|
@@ -1318,6 +1351,16 @@ export interface ModifyProtectionStatusResponse {
|
|
|
1318
1351
|
RequestId?: string
|
|
1319
1352
|
}
|
|
1320
1353
|
|
|
1354
|
+
/**
|
|
1355
|
+
* AddSpartaProtectionAuto返回参数结构体
|
|
1356
|
+
*/
|
|
1357
|
+
export interface AddSpartaProtectionAutoResponse {
|
|
1358
|
+
/**
|
|
1359
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1360
|
+
*/
|
|
1361
|
+
RequestId?: string
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1321
1364
|
/**
|
|
1322
1365
|
* ModifyWafAutoDenyStatus请求参数结构体
|
|
1323
1366
|
*/
|
|
@@ -1328,6 +1371,24 @@ export interface ModifyWafAutoDenyStatusRequest {
|
|
|
1328
1371
|
WafAutoDenyDetails: AutoDenyDetail
|
|
1329
1372
|
}
|
|
1330
1373
|
|
|
1374
|
+
/**
|
|
1375
|
+
* DescribeCustomRuleList返回参数结构体
|
|
1376
|
+
*/
|
|
1377
|
+
export interface DescribeCustomRuleListResponse {
|
|
1378
|
+
/**
|
|
1379
|
+
* 规则详情
|
|
1380
|
+
*/
|
|
1381
|
+
RuleList: Array<DescribeCustomRulesRspRuleListItem>
|
|
1382
|
+
/**
|
|
1383
|
+
* 规则条数
|
|
1384
|
+
*/
|
|
1385
|
+
TotalCount: string
|
|
1386
|
+
/**
|
|
1387
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1388
|
+
*/
|
|
1389
|
+
RequestId?: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1331
1392
|
/**
|
|
1332
1393
|
* bot的趋势图对象
|
|
1333
1394
|
*/
|
|
@@ -1350,6 +1411,16 @@ export interface BotStatPointItem {
|
|
|
1350
1411
|
Label: string
|
|
1351
1412
|
}
|
|
1352
1413
|
|
|
1414
|
+
/**
|
|
1415
|
+
* ModifyDomainsCLSStatus返回参数结构体
|
|
1416
|
+
*/
|
|
1417
|
+
export interface ModifyDomainsCLSStatusResponse {
|
|
1418
|
+
/**
|
|
1419
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1420
|
+
*/
|
|
1421
|
+
RequestId?: string
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1353
1424
|
/**
|
|
1354
1425
|
* ModifyAccessPeriod返回参数结构体
|
|
1355
1426
|
*/
|
|
@@ -2664,13 +2735,33 @@ export interface DescribeCiphersDetailResponse {
|
|
|
2664
2735
|
}
|
|
2665
2736
|
|
|
2666
2737
|
/**
|
|
2667
|
-
*
|
|
2738
|
+
* DescribeCustomRuleList请求参数结构体
|
|
2668
2739
|
*/
|
|
2669
|
-
export interface
|
|
2740
|
+
export interface DescribeCustomRuleListRequest {
|
|
2670
2741
|
/**
|
|
2671
|
-
*
|
|
2742
|
+
* 域名
|
|
2672
2743
|
*/
|
|
2673
|
-
|
|
2744
|
+
Domain: string
|
|
2745
|
+
/**
|
|
2746
|
+
* 偏移
|
|
2747
|
+
*/
|
|
2748
|
+
Offset: number
|
|
2749
|
+
/**
|
|
2750
|
+
* 容量
|
|
2751
|
+
*/
|
|
2752
|
+
Limit: number
|
|
2753
|
+
/**
|
|
2754
|
+
* 过滤数组,name可以是如下的值: RuleID,RuleName,Match
|
|
2755
|
+
*/
|
|
2756
|
+
Filters?: Array<FiltersItemNew>
|
|
2757
|
+
/**
|
|
2758
|
+
* asc或者desc
|
|
2759
|
+
*/
|
|
2760
|
+
Order?: string
|
|
2761
|
+
/**
|
|
2762
|
+
* exp_ts或者mod_ts
|
|
2763
|
+
*/
|
|
2764
|
+
By?: string
|
|
2674
2765
|
}
|
|
2675
2766
|
|
|
2676
2767
|
/**
|
|
@@ -2834,6 +2925,20 @@ export interface WafThreatenIntelligenceDetails {
|
|
|
2834
2925
|
LastUpdateTime?: string
|
|
2835
2926
|
}
|
|
2836
2927
|
|
|
2928
|
+
/**
|
|
2929
|
+
* CreateAccessExport返回参数结构体
|
|
2930
|
+
*/
|
|
2931
|
+
export interface CreateAccessExportResponse {
|
|
2932
|
+
/**
|
|
2933
|
+
* 日志导出ID。
|
|
2934
|
+
*/
|
|
2935
|
+
ExportId: string
|
|
2936
|
+
/**
|
|
2937
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2938
|
+
*/
|
|
2939
|
+
RequestId?: string
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2837
2942
|
/**
|
|
2838
2943
|
* DescribeDomainWhiteRules请求参数结构体
|
|
2839
2944
|
*/
|
|
@@ -3298,6 +3403,40 @@ export interface DeleteIpAccessControlResponse {
|
|
|
3298
3403
|
RequestId?: string
|
|
3299
3404
|
}
|
|
3300
3405
|
|
|
3406
|
+
/**
|
|
3407
|
+
* ModifyCustomWhiteRule请求参数结构体
|
|
3408
|
+
*/
|
|
3409
|
+
export interface ModifyCustomWhiteRuleRequest {
|
|
3410
|
+
/**
|
|
3411
|
+
* 编辑的域名
|
|
3412
|
+
*/
|
|
3413
|
+
Domain: string
|
|
3414
|
+
/**
|
|
3415
|
+
* 编辑的规则ID
|
|
3416
|
+
*/
|
|
3417
|
+
RuleId: number
|
|
3418
|
+
/**
|
|
3419
|
+
* 编辑的规则名称
|
|
3420
|
+
*/
|
|
3421
|
+
RuleName: string
|
|
3422
|
+
/**
|
|
3423
|
+
* 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。
|
|
3424
|
+
*/
|
|
3425
|
+
Bypass: string
|
|
3426
|
+
/**
|
|
3427
|
+
* 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
|
|
3428
|
+
*/
|
|
3429
|
+
SortId: number
|
|
3430
|
+
/**
|
|
3431
|
+
* 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。
|
|
3432
|
+
*/
|
|
3433
|
+
ExpireTime: number
|
|
3434
|
+
/**
|
|
3435
|
+
* 匹配条件数组
|
|
3436
|
+
*/
|
|
3437
|
+
Strategies: Array<Strategy>
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3301
3440
|
/**
|
|
3302
3441
|
* DescribeWafInfo返回参数结构体
|
|
3303
3442
|
*/
|
|
@@ -3777,13 +3916,21 @@ export interface FindAllDomainDetail {
|
|
|
3777
3916
|
}
|
|
3778
3917
|
|
|
3779
3918
|
/**
|
|
3780
|
-
*
|
|
3919
|
+
* DeleteCustomRule请求参数结构体
|
|
3781
3920
|
*/
|
|
3782
|
-
export interface
|
|
3921
|
+
export interface DeleteCustomRuleRequest {
|
|
3783
3922
|
/**
|
|
3784
|
-
*
|
|
3923
|
+
* 删除的域名
|
|
3785
3924
|
*/
|
|
3786
|
-
|
|
3925
|
+
Domain: string
|
|
3926
|
+
/**
|
|
3927
|
+
* 删除的规则ID
|
|
3928
|
+
*/
|
|
3929
|
+
RuleId: string
|
|
3930
|
+
/**
|
|
3931
|
+
* WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
|
3932
|
+
*/
|
|
3933
|
+
Edition?: string
|
|
3787
3934
|
}
|
|
3788
3935
|
|
|
3789
3936
|
/**
|
|
@@ -4484,30 +4631,6 @@ export interface DeleteAttackDownloadRecordRequest {
|
|
|
4484
4631
|
Id: number
|
|
4485
4632
|
}
|
|
4486
4633
|
|
|
4487
|
-
/**
|
|
4488
|
-
* DescribeAccessIndex返回参数结构体
|
|
4489
|
-
*/
|
|
4490
|
-
export interface DescribeAccessIndexResponse {
|
|
4491
|
-
/**
|
|
4492
|
-
* 是否生效,true表示生效,false表示未生效
|
|
4493
|
-
*/
|
|
4494
|
-
Status?: boolean
|
|
4495
|
-
/**
|
|
4496
|
-
* 索引配置信息
|
|
4497
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4498
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4499
|
-
*/
|
|
4500
|
-
Rule?: AccessRuleInfo
|
|
4501
|
-
/**
|
|
4502
|
-
* 索引修改时间,初始值为索引创建时间。
|
|
4503
|
-
*/
|
|
4504
|
-
ModifyTime?: string
|
|
4505
|
-
/**
|
|
4506
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4507
|
-
*/
|
|
4508
|
-
RequestId?: string
|
|
4509
|
-
}
|
|
4510
|
-
|
|
4511
4634
|
/**
|
|
4512
4635
|
* AddCustomWhiteRule请求参数结构体
|
|
4513
4636
|
*/
|
|
@@ -4713,21 +4836,27 @@ export interface DescribeRuleLimitResponse {
|
|
|
4713
4836
|
export type DescribeWafThreatenIntelligenceRequest = null
|
|
4714
4837
|
|
|
4715
4838
|
/**
|
|
4716
|
-
*
|
|
4839
|
+
* DescribeAccessIndex返回参数结构体
|
|
4717
4840
|
*/
|
|
4718
|
-
export interface
|
|
4841
|
+
export interface DescribeAccessIndexResponse {
|
|
4719
4842
|
/**
|
|
4720
|
-
*
|
|
4843
|
+
* 是否生效,true表示生效,false表示未生效
|
|
4721
4844
|
*/
|
|
4722
|
-
|
|
4845
|
+
Status?: boolean
|
|
4723
4846
|
/**
|
|
4724
|
-
*
|
|
4847
|
+
* 索引配置信息
|
|
4848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4849
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4725
4850
|
*/
|
|
4726
|
-
|
|
4851
|
+
Rule?: AccessRuleInfo
|
|
4727
4852
|
/**
|
|
4728
|
-
*
|
|
4853
|
+
* 索引修改时间,初始值为索引创建时间。
|
|
4729
4854
|
*/
|
|
4730
|
-
|
|
4855
|
+
ModifyTime?: string
|
|
4856
|
+
/**
|
|
4857
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4858
|
+
*/
|
|
4859
|
+
RequestId?: string
|
|
4731
4860
|
}
|
|
4732
4861
|
|
|
4733
4862
|
/**
|
|
@@ -4750,13 +4879,9 @@ export interface DescribeAccessExportsResponse {
|
|
|
4750
4879
|
}
|
|
4751
4880
|
|
|
4752
4881
|
/**
|
|
4753
|
-
*
|
|
4882
|
+
* DeleteCustomRule返回参数结构体
|
|
4754
4883
|
*/
|
|
4755
|
-
export interface
|
|
4756
|
-
/**
|
|
4757
|
-
* 日志导出ID。
|
|
4758
|
-
*/
|
|
4759
|
-
ExportId: string
|
|
4884
|
+
export interface DeleteCustomRuleResponse {
|
|
4760
4885
|
/**
|
|
4761
4886
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4762
4887
|
*/
|
|
@@ -5080,6 +5205,16 @@ export interface TLSVersion {
|
|
|
5080
5205
|
VersionName: string
|
|
5081
5206
|
}
|
|
5082
5207
|
|
|
5208
|
+
/**
|
|
5209
|
+
* ModifyCustomRule返回参数结构体
|
|
5210
|
+
*/
|
|
5211
|
+
export interface ModifyCustomRuleResponse {
|
|
5212
|
+
/**
|
|
5213
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5214
|
+
*/
|
|
5215
|
+
RequestId?: string
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5083
5218
|
/**
|
|
5084
5219
|
* 负载均衡的监听器
|
|
5085
5220
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.674";
|
|
@@ -36,7 +36,7 @@ export declare class Client extends AbstractClient {
|
|
|
36
36
|
*/
|
|
37
37
|
GrantAccountPrivileges(req: GrantAccountPrivilegesRequest, cb?: (error: string, rep: GrantAccountPrivilegesResponse) => void): Promise<GrantAccountPrivilegesResponse>;
|
|
38
38
|
/**
|
|
39
|
-
* 本接口(DescribeClusterParamLogs
|
|
39
|
+
* 本接口(DescribeClusterParamLogs)查询参数修改记录
|
|
40
40
|
*/
|
|
41
41
|
DescribeClusterParamLogs(req: DescribeClusterParamLogsRequest, cb?: (error: string, rep: DescribeClusterParamLogsResponse) => void): Promise<DescribeClusterParamLogsResponse>;
|
|
42
42
|
/**
|
|
@@ -84,7 +84,7 @@ export declare class Client extends AbstractClient {
|
|
|
84
84
|
*/
|
|
85
85
|
DescribeBinlogDownloadUrl(req: DescribeBinlogDownloadUrlRequest, cb?: (error: string, rep: DescribeBinlogDownloadUrlResponse) => void): Promise<DescribeBinlogDownloadUrlResponse>;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* 查询订单关联实例
|
|
88
88
|
*/
|
|
89
89
|
DescribeResourcesByDealName(req: DescribeResourcesByDealNameRequest, cb?: (error: string, rep: DescribeResourcesByDealNameResponse) => void): Promise<DescribeResourcesByDealNameResponse>;
|
|
90
90
|
/**
|
|
@@ -116,7 +116,7 @@ export declare class Client extends AbstractClient {
|
|
|
116
116
|
*/
|
|
117
117
|
CloseClusterPasswordComplexity(req: CloseClusterPasswordComplexityRequest, cb?: (error: string, rep: CloseClusterPasswordComplexityResponse) => void): Promise<CloseClusterPasswordComplexityResponse>;
|
|
118
118
|
/**
|
|
119
|
-
* 本接口(RollBackCluster
|
|
119
|
+
* 本接口(RollBackCluster)用于集群回档
|
|
120
120
|
*/
|
|
121
121
|
RollBackCluster(req: RollBackClusterRequest, cb?: (error: string, rep: RollBackClusterResponse) => void): Promise<RollBackClusterResponse>;
|
|
122
122
|
/**
|
|
@@ -156,11 +156,11 @@ export declare class Client extends AbstractClient {
|
|
|
156
156
|
*/
|
|
157
157
|
CreateParamTemplate(req: CreateParamTemplateRequest, cb?: (error: string, rep: CreateParamTemplateResponse) => void): Promise<CreateParamTemplateResponse>;
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* 变更备可用区
|
|
160
160
|
*/
|
|
161
161
|
ModifyClusterSlaveZone(req: ModifyClusterSlaveZoneRequest, cb?: (error: string, rep: ModifyClusterSlaveZoneResponse) => void): Promise<ModifyClusterSlaveZoneResponse>;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* 修改账号配置
|
|
164
164
|
*/
|
|
165
165
|
ModifyAccountParams(req: ModifyAccountParamsRequest, cb?: (error: string, rep: ModifyAccountParamsResponse) => void): Promise<ModifyAccountParamsResponse>;
|
|
166
166
|
/**
|
|
@@ -208,11 +208,11 @@ export declare class Client extends AbstractClient {
|
|
|
208
208
|
*/
|
|
209
209
|
ModifyParamTemplate(req: ModifyParamTemplateRequest, cb?: (error: string, rep: ModifyParamTemplateResponse) => void): Promise<ModifyParamTemplateResponse>;
|
|
210
210
|
/**
|
|
211
|
-
* 该接口(DescribeInstanceParams)
|
|
211
|
+
* 该接口(DescribeInstanceParams)查询实例参数
|
|
212
212
|
*/
|
|
213
213
|
DescribeInstanceParams(req: DescribeInstanceParamsRequest, cb?: (error: string, rep: DescribeInstanceParamsResponse) => void): Promise<DescribeInstanceParamsResponse>;
|
|
214
214
|
/**
|
|
215
|
-
* 此接口(DescribeInstanceSlowQueries
|
|
215
|
+
* 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
|
|
216
216
|
*/
|
|
217
217
|
DescribeInstanceSlowQueries(req: DescribeInstanceSlowQueriesRequest, cb?: (error: string, rep: DescribeInstanceSlowQueriesResponse) => void): Promise<DescribeInstanceSlowQueriesResponse>;
|
|
218
218
|
/**
|
|
@@ -224,7 +224,7 @@ export declare class Client extends AbstractClient {
|
|
|
224
224
|
*/
|
|
225
225
|
CreateClusters(req: CreateClustersRequest, cb?: (error: string, rep: CreateClustersResponse) => void): Promise<CreateClustersResponse>;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* 创建用户账号
|
|
228
228
|
*/
|
|
229
229
|
CreateAccounts(req: CreateAccountsRequest, cb?: (error: string, rep: CreateAccountsResponse) => void): Promise<CreateAccountsResponse>;
|
|
230
230
|
/**
|
|
@@ -240,7 +240,7 @@ export declare class Client extends AbstractClient {
|
|
|
240
240
|
*/
|
|
241
241
|
DeleteClusterDatabase(req: DeleteClusterDatabaseRequest, cb?: (error: string, rep: DeleteClusterDatabaseResponse) => void): Promise<DeleteClusterDatabaseResponse>;
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* 主备可用区切换
|
|
244
244
|
*/
|
|
245
245
|
SwitchClusterZone(req: SwitchClusterZoneRequest, cb?: (error: string, rep: SwitchClusterZoneResponse) => void): Promise<SwitchClusterZoneResponse>;
|
|
246
246
|
/**
|
|
@@ -248,7 +248,7 @@ export declare class Client extends AbstractClient {
|
|
|
248
248
|
*/
|
|
249
249
|
AddInstances(req: AddInstancesRequest, cb?: (error: string, rep: AddInstancesResponse) => void): Promise<AddInstancesResponse>;
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* 删除用户账号
|
|
252
252
|
*/
|
|
253
253
|
DeleteAccounts(req: DeleteAccountsRequest, cb?: (error: string, rep: DeleteAccountsResponse) => void): Promise<DeleteAccountsResponse>;
|
|
254
254
|
/**
|
|
@@ -280,7 +280,7 @@ export declare class Client extends AbstractClient {
|
|
|
280
280
|
*/
|
|
281
281
|
ModifyAccountHost(req: ModifyAccountHostRequest, cb?: (error: string, rep: ModifyAccountHostResponse) => void): Promise<ModifyAccountHostResponse>;
|
|
282
282
|
/**
|
|
283
|
-
* 本接口(ResetAccountPassword)
|
|
283
|
+
* 本接口(ResetAccountPassword)用于修改数据库账号密码
|
|
284
284
|
*/
|
|
285
285
|
ResetAccountPassword(req: ResetAccountPasswordRequest, cb?: (error: string, rep: ResetAccountPasswordResponse) => void): Promise<ResetAccountPasswordResponse>;
|
|
286
286
|
/**
|
|
@@ -288,7 +288,7 @@ export declare class Client extends AbstractClient {
|
|
|
288
288
|
*/
|
|
289
289
|
DescribeInstanceDetail(req: DescribeInstanceDetailRequest, cb?: (error: string, rep: DescribeInstanceDetailResponse) => void): Promise<DescribeInstanceDetailResponse>;
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* 查询回档时间范围
|
|
292
292
|
*/
|
|
293
293
|
DescribeRollbackTimeRange(req: DescribeRollbackTimeRangeRequest, cb?: (error: string, rep: DescribeRollbackTimeRangeResponse) => void): Promise<DescribeRollbackTimeRangeResponse>;
|
|
294
294
|
/**
|
|
@@ -332,7 +332,7 @@ export declare class Client extends AbstractClient {
|
|
|
332
332
|
*/
|
|
333
333
|
DescribeResourcePackageSaleSpec(req: DescribeResourcePackageSaleSpecRequest, cb?: (error: string, rep: DescribeResourcePackageSaleSpecResponse) => void): Promise<DescribeResourcePackageSaleSpecResponse>;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* 修改账号库表权限
|
|
336
336
|
*/
|
|
337
337
|
ModifyAccountPrivileges(req: ModifyAccountPrivilegesRequest, cb?: (error: string, rep: ModifyAccountPrivilegesResponse) => void): Promise<ModifyAccountPrivilegesResponse>;
|
|
338
338
|
/**
|
|
@@ -344,7 +344,7 @@ export declare class Client extends AbstractClient {
|
|
|
344
344
|
*/
|
|
345
345
|
IsolateInstance(req: IsolateInstanceRequest, cb?: (error: string, rep: IsolateInstanceResponse) => void): Promise<IsolateInstanceResponse>;
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* 开启多可用区部署
|
|
348
348
|
*/
|
|
349
349
|
AddClusterSlaveZone(req: AddClusterSlaveZoneRequest, cb?: (error: string, rep: AddClusterSlaveZoneResponse) => void): Promise<AddClusterSlaveZoneResponse>;
|
|
350
350
|
/**
|
|
@@ -352,7 +352,7 @@ export declare class Client extends AbstractClient {
|
|
|
352
352
|
*/
|
|
353
353
|
ModifyBackupName(req: ModifyBackupNameRequest, cb?: (error: string, rep: ModifyBackupNameResponse) => void): Promise<ModifyBackupNameResponse>;
|
|
354
354
|
/**
|
|
355
|
-
* 本接口(DescribeAccounts)
|
|
355
|
+
* 本接口(DescribeAccounts)用于查询数据库账号列表
|
|
356
356
|
*/
|
|
357
357
|
DescribeAccounts(req: DescribeAccountsRequest, cb?: (error: string, rep: DescribeAccountsResponse) => void): Promise<DescribeAccountsResponse>;
|
|
358
358
|
/**
|
|
@@ -472,7 +472,7 @@ export declare class Client extends AbstractClient {
|
|
|
472
472
|
*/
|
|
473
473
|
ModifyBinlogSaveDays(req: ModifyBinlogSaveDaysRequest, cb?: (error: string, rep: ModifyBinlogSaveDaysResponse) => void): Promise<ModifyBinlogSaveDaysResponse>;
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* 查询账号所有可授予权限
|
|
476
476
|
*/
|
|
477
477
|
DescribeAccountAllGrantPrivileges(req: DescribeAccountAllGrantPrivilegesRequest, cb?: (error: string, rep: DescribeAccountAllGrantPrivilegesResponse) => void): Promise<DescribeAccountAllGrantPrivilegesResponse>;
|
|
478
478
|
/**
|
|
@@ -512,7 +512,7 @@ export declare class Client extends AbstractClient {
|
|
|
512
512
|
*/
|
|
513
513
|
ModifyResourcePackageName(req: ModifyResourcePackageNameRequest, cb?: (error: string, rep: ModifyResourcePackageNameResponse) => void): Promise<ModifyResourcePackageNameResponse>;
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* 关闭多可用区部署
|
|
516
516
|
*/
|
|
517
517
|
RemoveClusterSlaveZone(req: RemoveClusterSlaveZoneRequest, cb?: (error: string, rep: RemoveClusterSlaveZoneResponse) => void): Promise<RemoveClusterSlaveZoneResponse>;
|
|
518
518
|
/**
|
|
@@ -70,7 +70,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
70
70
|
return this.request("GrantAccountPrivileges", req, cb);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
* 本接口(DescribeClusterParamLogs
|
|
73
|
+
* 本接口(DescribeClusterParamLogs)查询参数修改记录
|
|
74
74
|
*/
|
|
75
75
|
async DescribeClusterParamLogs(req, cb) {
|
|
76
76
|
return this.request("DescribeClusterParamLogs", req, cb);
|
|
@@ -142,7 +142,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
142
142
|
return this.request("DescribeBinlogDownloadUrl", req, cb);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 查询订单关联实例
|
|
146
146
|
*/
|
|
147
147
|
async DescribeResourcesByDealName(req, cb) {
|
|
148
148
|
return this.request("DescribeResourcesByDealName", req, cb);
|
|
@@ -190,7 +190,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
190
|
return this.request("CloseClusterPasswordComplexity", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* 本接口(RollBackCluster
|
|
193
|
+
* 本接口(RollBackCluster)用于集群回档
|
|
194
194
|
*/
|
|
195
195
|
async RollBackCluster(req, cb) {
|
|
196
196
|
return this.request("RollBackCluster", req, cb);
|
|
@@ -250,13 +250,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
250
250
|
return this.request("CreateParamTemplate", req, cb);
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
|
-
*
|
|
253
|
+
* 变更备可用区
|
|
254
254
|
*/
|
|
255
255
|
async ModifyClusterSlaveZone(req, cb) {
|
|
256
256
|
return this.request("ModifyClusterSlaveZone", req, cb);
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
*
|
|
259
|
+
* 修改账号配置
|
|
260
260
|
*/
|
|
261
261
|
async ModifyAccountParams(req, cb) {
|
|
262
262
|
return this.request("ModifyAccountParams", req, cb);
|
|
@@ -328,13 +328,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
328
328
|
return this.request("ModifyParamTemplate", req, cb);
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
|
-
* 该接口(DescribeInstanceParams)
|
|
331
|
+
* 该接口(DescribeInstanceParams)查询实例参数
|
|
332
332
|
*/
|
|
333
333
|
async DescribeInstanceParams(req, cb) {
|
|
334
334
|
return this.request("DescribeInstanceParams", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* 此接口(DescribeInstanceSlowQueries
|
|
337
|
+
* 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
|
|
338
338
|
*/
|
|
339
339
|
async DescribeInstanceSlowQueries(req, cb) {
|
|
340
340
|
return this.request("DescribeInstanceSlowQueries", req, cb);
|
|
@@ -352,7 +352,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
352
352
|
return this.request("CreateClusters", req, cb);
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* 创建用户账号
|
|
356
356
|
*/
|
|
357
357
|
async CreateAccounts(req, cb) {
|
|
358
358
|
return this.request("CreateAccounts", req, cb);
|
|
@@ -376,7 +376,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
376
376
|
return this.request("DeleteClusterDatabase", req, cb);
|
|
377
377
|
}
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* 主备可用区切换
|
|
380
380
|
*/
|
|
381
381
|
async SwitchClusterZone(req, cb) {
|
|
382
382
|
return this.request("SwitchClusterZone", req, cb);
|
|
@@ -388,7 +388,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
388
388
|
return this.request("AddInstances", req, cb);
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
*
|
|
391
|
+
* 删除用户账号
|
|
392
392
|
*/
|
|
393
393
|
async DeleteAccounts(req, cb) {
|
|
394
394
|
return this.request("DeleteAccounts", req, cb);
|
|
@@ -436,7 +436,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
436
436
|
return this.request("ModifyAccountHost", req, cb);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
|
-
* 本接口(ResetAccountPassword)
|
|
439
|
+
* 本接口(ResetAccountPassword)用于修改数据库账号密码
|
|
440
440
|
*/
|
|
441
441
|
async ResetAccountPassword(req, cb) {
|
|
442
442
|
return this.request("ResetAccountPassword", req, cb);
|
|
@@ -448,7 +448,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
448
448
|
return this.request("DescribeInstanceDetail", req, cb);
|
|
449
449
|
}
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* 查询回档时间范围
|
|
452
452
|
*/
|
|
453
453
|
async DescribeRollbackTimeRange(req, cb) {
|
|
454
454
|
return this.request("DescribeRollbackTimeRange", req, cb);
|
|
@@ -514,7 +514,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
514
514
|
return this.request("DescribeResourcePackageSaleSpec", req, cb);
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
517
|
+
* 修改账号库表权限
|
|
518
518
|
*/
|
|
519
519
|
async ModifyAccountPrivileges(req, cb) {
|
|
520
520
|
return this.request("ModifyAccountPrivileges", req, cb);
|
|
@@ -532,7 +532,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
532
532
|
return this.request("IsolateInstance", req, cb);
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
|
-
*
|
|
535
|
+
* 开启多可用区部署
|
|
536
536
|
*/
|
|
537
537
|
async AddClusterSlaveZone(req, cb) {
|
|
538
538
|
return this.request("AddClusterSlaveZone", req, cb);
|
|
@@ -544,7 +544,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
544
544
|
return this.request("ModifyBackupName", req, cb);
|
|
545
545
|
}
|
|
546
546
|
/**
|
|
547
|
-
* 本接口(DescribeAccounts)
|
|
547
|
+
* 本接口(DescribeAccounts)用于查询数据库账号列表
|
|
548
548
|
*/
|
|
549
549
|
async DescribeAccounts(req, cb) {
|
|
550
550
|
return this.request("DescribeAccounts", req, cb);
|
|
@@ -724,7 +724,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
724
724
|
return this.request("ModifyBinlogSaveDays", req, cb);
|
|
725
725
|
}
|
|
726
726
|
/**
|
|
727
|
-
*
|
|
727
|
+
* 查询账号所有可授予权限
|
|
728
728
|
*/
|
|
729
729
|
async DescribeAccountAllGrantPrivileges(req, cb) {
|
|
730
730
|
return this.request("DescribeAccountAllGrantPrivileges", req, cb);
|
|
@@ -784,7 +784,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
784
784
|
return this.request("ModifyResourcePackageName", req, cb);
|
|
785
785
|
}
|
|
786
786
|
/**
|
|
787
|
-
*
|
|
787
|
+
* 关闭多可用区部署
|
|
788
788
|
*/
|
|
789
789
|
async RemoveClusterSlaveZone(req, cb) {
|
|
790
790
|
return this.request("RemoveClusterSlaveZone", req, cb);
|