tencentcloud-sdk-nodejs 4.1.32 → 4.1.33
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/es/common/sdk_version.js +1 -1
- package/es/services/cynosdb/v20190107/cynosdb_client.js +3 -0
- package/es/services/dsgc/v20190723/dsgc_client.js +5 -2
- package/es/services/waf/v20180125/waf_client.js +5 -2
- package/es/services/wedata/v20210820/wedata_client.js +21 -6
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +7 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +16 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -0
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +2 -4
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +17 -9
- package/tencentcloud/services/clb/v20180317/clb_client.js +17 -9
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +104 -51
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +0 -32
- package/tencentcloud/services/config/v20220802/config_models.d.ts +10 -85
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +32 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +7 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +9 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +105 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -1
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +0 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +48 -4
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +0 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +0 -1
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +47 -6
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +63 -71
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +7 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +9 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +13 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +33 -12
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +45 -14
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +513 -47
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.33";
|
|
@@ -471,6 +471,9 @@ export class Client extends AbstractClient {
|
|
|
471
471
|
async RemoveClusterSlaveZone(req, cb) {
|
|
472
472
|
return this.request("RemoveClusterSlaveZone", req, cb);
|
|
473
473
|
}
|
|
474
|
+
async CloseSSL(req, cb) {
|
|
475
|
+
return this.request("CloseSSL", req, cb);
|
|
476
|
+
}
|
|
474
477
|
async DescribeParamTemplateDetail(req, cb) {
|
|
475
478
|
return this.request("DescribeParamTemplateDetail", req, cb);
|
|
476
479
|
}
|
|
@@ -78,6 +78,9 @@ export class Client extends AbstractClient {
|
|
|
78
78
|
async DescribeReportTaskDownloadUrl(req, cb) {
|
|
79
79
|
return this.request("DescribeReportTaskDownloadUrl", req, cb);
|
|
80
80
|
}
|
|
81
|
+
async ModifyMergeClassification(req, cb) {
|
|
82
|
+
return this.request("ModifyMergeClassification", req, cb);
|
|
83
|
+
}
|
|
81
84
|
async DescribeDSPACOSDiscoveryTaskResult(req, cb) {
|
|
82
85
|
return this.request("DescribeDSPACOSDiscoveryTaskResult", req, cb);
|
|
83
86
|
}
|
|
@@ -240,8 +243,8 @@ export class Client extends AbstractClient {
|
|
|
240
243
|
async DescribeDSPAAssessmentRiskTemplateVulnerableList(req, cb) {
|
|
241
244
|
return this.request("DescribeDSPAAssessmentRiskTemplateVulnerableList", req, cb);
|
|
242
245
|
}
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
246
|
+
async DescribeDSPADiscoveryTasks(req, cb) {
|
|
247
|
+
return this.request("DescribeDSPADiscoveryTasks", req, cb);
|
|
245
248
|
}
|
|
246
249
|
async DeleteDSPAAssessmentTask(req, cb) {
|
|
247
250
|
return this.request("DeleteDSPAAssessmentTask", req, cb);
|
|
@@ -129,8 +129,8 @@ export class Client extends AbstractClient {
|
|
|
129
129
|
async DescribeAreaBanSupportAreas(req, cb) {
|
|
130
130
|
return this.request("DescribeAreaBanSupportAreas", req, cb);
|
|
131
131
|
}
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
132
|
+
async ModifyInstanceAttackLogPost(req, cb) {
|
|
133
|
+
return this.request("ModifyInstanceAttackLogPost", req, cb);
|
|
134
134
|
}
|
|
135
135
|
async DescribeRuleLimit(req, cb) {
|
|
136
136
|
return this.request("DescribeRuleLimit", req, cb);
|
|
@@ -321,6 +321,9 @@ export class Client extends AbstractClient {
|
|
|
321
321
|
async SwitchDomainRules(req, cb) {
|
|
322
322
|
return this.request("SwitchDomainRules", req, cb);
|
|
323
323
|
}
|
|
324
|
+
async UpsertCCAutoStatus(req, cb) {
|
|
325
|
+
return this.request("UpsertCCAutoStatus", req, cb);
|
|
326
|
+
}
|
|
324
327
|
async DestroyPostCLSFlow(req, cb) {
|
|
325
328
|
return this.request("DestroyPostCLSFlow", req, cb);
|
|
326
329
|
}
|
|
@@ -183,6 +183,9 @@ export class Client extends AbstractClient {
|
|
|
183
183
|
async DescribeOpsMakePlanTasks(req, cb) {
|
|
184
184
|
return this.request("DescribeOpsMakePlanTasks", req, cb);
|
|
185
185
|
}
|
|
186
|
+
async UpdateWorkflowInfo(req, cb) {
|
|
187
|
+
return this.request("UpdateWorkflowInfo", req, cb);
|
|
188
|
+
}
|
|
186
189
|
async DescribeTopTableStat(req, cb) {
|
|
187
190
|
return this.request("DescribeTopTableStat", req, cb);
|
|
188
191
|
}
|
|
@@ -192,6 +195,9 @@ export class Client extends AbstractClient {
|
|
|
192
195
|
async RunForceSucScheduleInstances(req, cb) {
|
|
193
196
|
return this.request("RunForceSucScheduleInstances", req, cb);
|
|
194
197
|
}
|
|
198
|
+
async CreateTaskNew(req, cb) {
|
|
199
|
+
return this.request("CreateTaskNew", req, cb);
|
|
200
|
+
}
|
|
195
201
|
async DescribeDsFolderTree(req, cb) {
|
|
196
202
|
return this.request("DescribeDsFolderTree", req, cb);
|
|
197
203
|
}
|
|
@@ -390,8 +396,8 @@ export class Client extends AbstractClient {
|
|
|
390
396
|
async DeleteDsFolder(req, cb) {
|
|
391
397
|
return this.request("DeleteDsFolder", req, cb);
|
|
392
398
|
}
|
|
393
|
-
async
|
|
394
|
-
return this.request("
|
|
399
|
+
async DescribeDutyScheduleList(req, cb) {
|
|
400
|
+
return this.request("DescribeDutyScheduleList", req, cb);
|
|
395
401
|
}
|
|
396
402
|
async DescribeTaskLineage(req, cb) {
|
|
397
403
|
return this.request("DescribeTaskLineage", req, cb);
|
|
@@ -432,8 +438,8 @@ export class Client extends AbstractClient {
|
|
|
432
438
|
async DescribeInstanceDetailInfo(req, cb) {
|
|
433
439
|
return this.request("DescribeInstanceDetailInfo", req, cb);
|
|
434
440
|
}
|
|
435
|
-
async
|
|
436
|
-
return this.request("
|
|
441
|
+
async DescribeBatchOperateTask(req, cb) {
|
|
442
|
+
return this.request("DescribeBatchOperateTask", req, cb);
|
|
437
443
|
}
|
|
438
444
|
async DeleteRule(req, cb) {
|
|
439
445
|
return this.request("DeleteRule", req, cb);
|
|
@@ -513,6 +519,9 @@ export class Client extends AbstractClient {
|
|
|
513
519
|
async DescribeTableLineage(req, cb) {
|
|
514
520
|
return this.request("DescribeTableLineage", req, cb);
|
|
515
521
|
}
|
|
522
|
+
async ModifyTaskLinksDs(req, cb) {
|
|
523
|
+
return this.request("ModifyTaskLinksDs", req, cb);
|
|
524
|
+
}
|
|
516
525
|
async SuspendIntegrationTask(req, cb) {
|
|
517
526
|
return this.request("SuspendIntegrationTask", req, cb);
|
|
518
527
|
}
|
|
@@ -531,8 +540,8 @@ export class Client extends AbstractClient {
|
|
|
531
540
|
async DescribeRules(req, cb) {
|
|
532
541
|
return this.request("DescribeRules", req, cb);
|
|
533
542
|
}
|
|
534
|
-
async
|
|
535
|
-
return this.request("
|
|
543
|
+
async RegisterDsEvent(req, cb) {
|
|
544
|
+
return this.request("RegisterDsEvent", req, cb);
|
|
536
545
|
}
|
|
537
546
|
async StartIntegrationTask(req, cb) {
|
|
538
547
|
return this.request("StartIntegrationTask", req, cb);
|
|
@@ -609,6 +618,9 @@ export class Client extends AbstractClient {
|
|
|
609
618
|
async DescribeIntegrationVersionNodesInfo(req, cb) {
|
|
610
619
|
return this.request("DescribeIntegrationVersionNodesInfo", req, cb);
|
|
611
620
|
}
|
|
621
|
+
async RenewWorkflowOwnerDs(req, cb) {
|
|
622
|
+
return this.request("RenewWorkflowOwnerDs", req, cb);
|
|
623
|
+
}
|
|
612
624
|
async DescribeProjectUsers(req, cb) {
|
|
613
625
|
return this.request("DescribeProjectUsers", req, cb);
|
|
614
626
|
}
|
|
@@ -714,6 +726,9 @@ export class Client extends AbstractClient {
|
|
|
714
726
|
async ModifyIntegrationNode(req, cb) {
|
|
715
727
|
return this.request("ModifyIntegrationNode", req, cb);
|
|
716
728
|
}
|
|
729
|
+
async RobAndLockIntegrationTask(req, cb) {
|
|
730
|
+
return this.request("RobAndLockIntegrationTask", req, cb);
|
|
731
|
+
}
|
|
717
732
|
async DescribeProject(req, cb) {
|
|
718
733
|
return this.request("DescribeProject", req, cb);
|
|
719
734
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.33";
|
|
@@ -39,14 +39,17 @@ export interface RefineImageRequest {
|
|
|
39
39
|
export interface LogoParam {
|
|
40
40
|
/**
|
|
41
41
|
* 水印 Url
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
43
|
*/
|
|
43
44
|
LogoUrl?: string;
|
|
44
45
|
/**
|
|
45
46
|
* 水印 Base64,Url 和 Base64 二选一传入,如果都提供以 Url 为准
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
46
48
|
*/
|
|
47
49
|
LogoImage?: string;
|
|
48
50
|
/**
|
|
49
51
|
* 水印图片位于生成结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
|
|
52
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50
53
|
*/
|
|
51
54
|
LogoRect?: LogoRect;
|
|
52
55
|
}
|
|
@@ -731,18 +734,22 @@ export interface GenerateAvatarRequest {
|
|
|
731
734
|
export interface LogoRect {
|
|
732
735
|
/**
|
|
733
736
|
* 左上角X坐标
|
|
737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
734
738
|
*/
|
|
735
739
|
X?: number;
|
|
736
740
|
/**
|
|
737
741
|
* 左上角Y坐标
|
|
742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
738
743
|
*/
|
|
739
744
|
Y?: number;
|
|
740
745
|
/**
|
|
741
746
|
* 方框宽度
|
|
747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
742
748
|
*/
|
|
743
749
|
Width?: number;
|
|
744
750
|
/**
|
|
745
751
|
* 方框高度
|
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
746
753
|
*/
|
|
747
754
|
Height?: number;
|
|
748
755
|
}
|
|
@@ -113,6 +113,14 @@ export interface ModifyApmInstanceRequest {
|
|
|
113
113
|
* 是否开启组件漏洞检测(0=关,1=开)
|
|
114
114
|
*/
|
|
115
115
|
IsInstrumentationVulnerabilityScan?: number;
|
|
116
|
+
/**
|
|
117
|
+
* 是否开启远程命令攻击检测
|
|
118
|
+
*/
|
|
119
|
+
IsRemoteCommandExecutionAnalysis?: number;
|
|
120
|
+
/**
|
|
121
|
+
* 是否开启内存马检测
|
|
122
|
+
*/
|
|
123
|
+
IsMemoryHijackingAnalysis?: number;
|
|
116
124
|
}
|
|
117
125
|
/**
|
|
118
126
|
* APM 业务系统信息
|
|
@@ -272,6 +280,14 @@ export interface ApmInstanceDetail {
|
|
|
272
280
|
}
|
|
273
281
|
*/
|
|
274
282
|
StopReason?: number;
|
|
283
|
+
/**
|
|
284
|
+
* 是否开远程命令执行检测(0=关, 1=开)
|
|
285
|
+
*/
|
|
286
|
+
IsRemoteCommandExecutionAnalysis?: number;
|
|
287
|
+
/**
|
|
288
|
+
* 是否开内存马执行检测(0=关, 1=开)
|
|
289
|
+
*/
|
|
290
|
+
IsMemoryHijackingAnalysis?: number;
|
|
275
291
|
}
|
|
276
292
|
/**
|
|
277
293
|
* CreateApmInstance请求参数结构体
|
|
@@ -73,7 +73,7 @@ export declare class Client extends AbstractClient {
|
|
|
73
73
|
/**
|
|
74
74
|
* 本接口用于对60秒之内的短音频文件进行识别。
|
|
75
75
|
• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
|
76
|
-
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL
|
|
76
|
+
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(可参考COS预签名指南:[使用预签名 URL 访问 COS](https://cloud.tencent.com/document/product/436/68284) ,获取COS预签名url)
|
|
77
77
|
• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
|
|
78
78
|
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
79
79
|
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
|
@@ -121,7 +121,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
121
121
|
/**
|
|
122
122
|
* 本接口用于对60秒之内的短音频文件进行识别。
|
|
123
123
|
• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
|
124
|
-
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL
|
|
124
|
+
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(可参考COS预签名指南:[使用预签名 URL 访问 COS](https://cloud.tencent.com/document/product/436/68284) ,获取COS预签名url)
|
|
125
125
|
• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
|
|
126
126
|
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
127
127
|
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
|
@@ -642,6 +642,7 @@ export interface ModifyCustomizationResponse {
|
|
|
642
642
|
export interface GetAsrVocabListRequest {
|
|
643
643
|
/**
|
|
644
644
|
* 标签信息,格式为“$TagKey : $TagValue ”,中间分隔符为“空格”+“:”+“空格”
|
|
645
|
+
* @deprecated
|
|
645
646
|
*/
|
|
646
647
|
TagInfos?: Array<string>;
|
|
647
648
|
/**
|
|
@@ -1683,6 +1684,7 @@ export interface Model {
|
|
|
1683
1684
|
/**
|
|
1684
1685
|
* 标签信息
|
|
1685
1686
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1687
|
+
* @deprecated
|
|
1686
1688
|
*/
|
|
1687
1689
|
TagInfos?: Array<string>;
|
|
1688
1690
|
}
|
|
@@ -1009,7 +1009,7 @@ export interface SearchCommandResult {
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
SessionTime?: string;
|
|
1011
1011
|
/**
|
|
1012
|
-
*
|
|
1012
|
+
* 该命令所属会话的会话开始时间(使用SessionTime)
|
|
1013
1013
|
*/
|
|
1014
1014
|
SessTime?: string;
|
|
1015
1015
|
/**
|
|
@@ -2363,9 +2363,7 @@ export interface CreateCmdTemplateRequest {
|
|
|
2363
2363
|
*/
|
|
2364
2364
|
CmdList: string;
|
|
2365
2365
|
/**
|
|
2366
|
-
* 标识
|
|
2367
|
-
0:表示非base64加密
|
|
2368
|
-
1:表示是base64加密
|
|
2366
|
+
* 标识CmdList字段前端是否为base64加密传值.0:表示非base64加密1:表示是base64加密
|
|
2369
2367
|
*/
|
|
2370
2368
|
Encoding?: number;
|
|
2371
2369
|
}
|
|
@@ -47,7 +47,11 @@ export declare class Client extends AbstractClient {
|
|
|
47
47
|
DescribeLoadBalancersDetail(req: DescribeLoadBalancersDetailRequest, cb?: (error: string, rep: DescribeLoadBalancersDetailResponse) => void): Promise<DescribeLoadBalancersDetailResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
|
|
50
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用
|
|
50
|
+
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
51
|
+
限制说明:
|
|
52
|
+
- 四层监听器绑定旧版目标组需要监听器开启后端目标组。
|
|
53
|
+
- 七层绑定目标组,数据结构 TargetGroupAssosication 中 LocationId 为必填项。
|
|
54
|
+
- 负载均衡的 VPC 需要和目标组的 VPC 一致。
|
|
51
55
|
*/
|
|
52
56
|
AssociateTargetGroups(req: AssociateTargetGroupsRequest, cb?: (error: string, rep: AssociateTargetGroupsResponse) => void): Promise<AssociateTargetGroupsResponse>;
|
|
53
57
|
/**
|
|
@@ -105,13 +109,13 @@ export declare class Client extends AbstractClient {
|
|
|
105
109
|
*/
|
|
106
110
|
DisassociateCustomizedConfig(req: DisassociateCustomizedConfigRequest, cb?: (error: string, rep: DisassociateCustomizedConfigResponse) => void): Promise<DisassociateCustomizedConfigResponse>;
|
|
107
111
|
/**
|
|
108
|
-
* SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 DescribeLoadBalancers 接口。本接口是set语义,
|
|
112
|
+
* SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口。本接口是set语义,
|
|
109
113
|
绑定操作时,入参需要传入负载均衡实例要绑定的所有安全组(已绑定的+新增绑定的)。
|
|
110
114
|
解绑操作时,入参需要传入负载均衡实例执行解绑后所绑定的所有安全组;如果要解绑所有安全组,可不传此参数,或传入空数组。注意:内网 CLB 绑定 EIP 后,CLB 上的安全组对来自 EIP 的流量不生效,对来自内网 CLB 的流量生效。
|
|
111
115
|
*/
|
|
112
116
|
SetLoadBalancerSecurityGroups(req: SetLoadBalancerSecurityGroupsRequest, cb?: (error: string, rep: SetLoadBalancerSecurityGroupsResponse) => void): Promise<SetLoadBalancerSecurityGroupsResponse>;
|
|
113
117
|
/**
|
|
114
|
-
* InquiryPriceRefundLoadBalancer
|
|
118
|
+
* InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格,只支持预付费类型的负载均衡实例。
|
|
115
119
|
*/
|
|
116
120
|
InquiryPriceRefundLoadBalancer(req: InquiryPriceRefundLoadBalancerRequest, cb?: (error: string, rep: InquiryPriceRefundLoadBalancerResponse) => void): Promise<InquiryPriceRefundLoadBalancerResponse>;
|
|
117
121
|
/**
|
|
@@ -120,7 +124,7 @@ export declare class Client extends AbstractClient {
|
|
|
120
124
|
*/
|
|
121
125
|
DeleteListener(req: DeleteListenerRequest, cb?: (error: string, rep: DeleteListenerResponse) => void): Promise<DeleteListenerResponse>;
|
|
122
126
|
/**
|
|
123
|
-
*
|
|
127
|
+
* 绑定或解绑一个安全组到多个公网负载均衡实例。
|
|
124
128
|
*/
|
|
125
129
|
SetSecurityGroupForLoadbalancers(req: SetSecurityGroupForLoadbalancersRequest, cb?: (error: string, rep: SetSecurityGroupForLoadbalancersResponse) => void): Promise<SetSecurityGroupForLoadbalancersResponse>;
|
|
126
130
|
/**
|
|
@@ -167,6 +171,7 @@ export declare class Client extends AbstractClient {
|
|
|
167
171
|
- 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
|
|
168
172
|
- 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
|
|
169
173
|
- CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
|
|
174
|
+
- 一个转发规则只支持绑定一个云函数。
|
|
170
175
|
*/
|
|
171
176
|
RegisterFunctionTargets(req: RegisterFunctionTargetsRequest, cb?: (error: string, rep: RegisterFunctionTargetsResponse) => void): Promise<RegisterFunctionTargetsResponse>;
|
|
172
177
|
/**
|
|
@@ -250,11 +255,13 @@ export declare class Client extends AbstractClient {
|
|
|
250
255
|
ManualRewrite(req: ManualRewriteRequest, cb?: (error: string, rep: ManualRewriteResponse) => void): Promise<ManualRewriteResponse>;
|
|
251
256
|
/**
|
|
252
257
|
* 修改负载均衡转发规则上所绑定的云函数。
|
|
258
|
+
限制说明:
|
|
259
|
+
- 仅支持绑定“Event 函数”类型的云函数。
|
|
253
260
|
*/
|
|
254
261
|
ModifyFunctionTargets(req: ModifyFunctionTargetsRequest, cb?: (error: string, rep: ModifyFunctionTargetsResponse) => void): Promise<ModifyFunctionTargetsResponse>;
|
|
255
262
|
/**
|
|
256
263
|
* 这个接口用于删除SnatPro的负载均衡的SnatIp。
|
|
257
|
-
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用
|
|
264
|
+
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
258
265
|
*/
|
|
259
266
|
DeleteLoadBalancerSnatIps(req: DeleteLoadBalancerSnatIpsRequest, cb?: (error: string, rep: DeleteLoadBalancerSnatIpsResponse) => void): Promise<DeleteLoadBalancerSnatIpsResponse>;
|
|
260
267
|
/**
|
|
@@ -263,7 +270,7 @@ export declare class Client extends AbstractClient {
|
|
|
263
270
|
ModifyLoadBalancerMixIpTarget(req: ModifyLoadBalancerMixIpTargetRequest, cb?: (error: string, rep: ModifyLoadBalancerMixIpTargetResponse) => void): Promise<ModifyLoadBalancerMixIpTargetResponse>;
|
|
264
271
|
/**
|
|
265
272
|
* CreateRule 接口用于在一个已存在的负载均衡七层监听器下创建转发规则,七层监听器中,后端服务必须绑定到规则上而非监听器上。
|
|
266
|
-
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
|
273
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
267
274
|
*/
|
|
268
275
|
CreateRule(req: CreateRuleRequest, cb?: (error: string, rep: CreateRuleResponse) => void): Promise<CreateRuleResponse>;
|
|
269
276
|
/**
|
|
@@ -337,7 +344,7 @@ export declare class Client extends AbstractClient {
|
|
|
337
344
|
DescribeIdleLoadBalancers(req: DescribeIdleLoadBalancersRequest, cb?: (error: string, rep: DescribeIdleLoadBalancersResponse) => void): Promise<DescribeIdleLoadBalancersResponse>;
|
|
338
345
|
/**
|
|
339
346
|
* RegisterTargets 接口用来将一台或多台后端服务绑定到负载均衡的监听器(或7层转发规则),在此之前您需要先行创建相关的4层监听器或7层转发规则。对于四层监听器(TCP、UDP),只需指定监听器ID即可,对于七层监听器(HTTP、HTTPS),还需通过LocationId或者Domain+Url指定转发规则。
|
|
340
|
-
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
|
347
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
341
348
|
*/
|
|
342
349
|
RegisterTargets(req: RegisterTargetsRequest, cb?: (error: string, rep: RegisterTargetsResponse) => void): Promise<RegisterTargetsResponse>;
|
|
343
350
|
/**
|
|
@@ -357,7 +364,7 @@ export declare class Client extends AbstractClient {
|
|
|
357
364
|
*/
|
|
358
365
|
DeleteLoadBalancerListeners(req: DeleteLoadBalancerListenersRequest, cb?: (error: string, rep: DeleteLoadBalancerListenersResponse) => void): Promise<DeleteLoadBalancerListenersResponse>;
|
|
359
366
|
/**
|
|
360
|
-
*
|
|
367
|
+
* 删除目标组,支持批量删除目标组,单次最多批量删除 20 个目标组。
|
|
361
368
|
*/
|
|
362
369
|
DeleteTargetGroups(req: DeleteTargetGroupsRequest, cb?: (error: string, rep: DeleteTargetGroupsResponse) => void): Promise<DeleteTargetGroupsResponse>;
|
|
363
370
|
/**
|
|
@@ -372,6 +379,7 @@ export declare class Client extends AbstractClient {
|
|
|
372
379
|
/**
|
|
373
380
|
* 解除规则的目标组关联关系。
|
|
374
381
|
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
|
382
|
+
当解绑七层转发规则时,LocationId 为必填项。
|
|
375
383
|
*/
|
|
376
384
|
DisassociateTargetGroups(req: DisassociateTargetGroupsRequest, cb?: (error: string, rep: DisassociateTargetGroupsResponse) => void): Promise<DisassociateTargetGroupsResponse>;
|
|
377
385
|
/**
|
|
@@ -419,7 +427,7 @@ export declare class Client extends AbstractClient {
|
|
|
419
427
|
DescribeClassicalLBHealthStatus(req: DescribeClassicalLBHealthStatusRequest, cb?: (error: string, rep: DescribeClassicalLBHealthStatusResponse) => void): Promise<DescribeClassicalLBHealthStatusResponse>;
|
|
420
428
|
/**
|
|
421
429
|
* 针对SnatPro负载均衡,这个接口用于添加SnatIp,如果负载均衡没有开启SnatPro,添加SnatIp后会自动开启。
|
|
422
|
-
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用
|
|
430
|
+
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
423
431
|
*/
|
|
424
432
|
CreateLoadBalancerSnatIps(req: CreateLoadBalancerSnatIpsRequest, cb?: (error: string, rep: CreateLoadBalancerSnatIpsResponse) => void): Promise<CreateLoadBalancerSnatIpsResponse>;
|
|
425
433
|
/**
|
|
@@ -85,7 +85,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
|
|
88
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用
|
|
88
|
+
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
89
|
+
限制说明:
|
|
90
|
+
- 四层监听器绑定旧版目标组需要监听器开启后端目标组。
|
|
91
|
+
- 七层绑定目标组,数据结构 TargetGroupAssosication 中 LocationId 为必填项。
|
|
92
|
+
- 负载均衡的 VPC 需要和目标组的 VPC 一致。
|
|
89
93
|
*/
|
|
90
94
|
async AssociateTargetGroups(req, cb) {
|
|
91
95
|
return this.request("AssociateTargetGroups", req, cb);
|
|
@@ -169,7 +173,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
169
173
|
return this.request("DisassociateCustomizedConfig", req, cb);
|
|
170
174
|
}
|
|
171
175
|
/**
|
|
172
|
-
* SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 DescribeLoadBalancers 接口。本接口是set语义,
|
|
176
|
+
* SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口。本接口是set语义,
|
|
173
177
|
绑定操作时,入参需要传入负载均衡实例要绑定的所有安全组(已绑定的+新增绑定的)。
|
|
174
178
|
解绑操作时,入参需要传入负载均衡实例执行解绑后所绑定的所有安全组;如果要解绑所有安全组,可不传此参数,或传入空数组。注意:内网 CLB 绑定 EIP 后,CLB 上的安全组对来自 EIP 的流量不生效,对来自内网 CLB 的流量生效。
|
|
175
179
|
*/
|
|
@@ -177,7 +181,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
177
181
|
return this.request("SetLoadBalancerSecurityGroups", req, cb);
|
|
178
182
|
}
|
|
179
183
|
/**
|
|
180
|
-
* InquiryPriceRefundLoadBalancer
|
|
184
|
+
* InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格,只支持预付费类型的负载均衡实例。
|
|
181
185
|
*/
|
|
182
186
|
async InquiryPriceRefundLoadBalancer(req, cb) {
|
|
183
187
|
return this.request("InquiryPriceRefundLoadBalancer", req, cb);
|
|
@@ -190,7 +194,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
194
|
return this.request("DeleteListener", req, cb);
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
|
-
*
|
|
197
|
+
* 绑定或解绑一个安全组到多个公网负载均衡实例。
|
|
194
198
|
*/
|
|
195
199
|
async SetSecurityGroupForLoadbalancers(req, cb) {
|
|
196
200
|
return this.request("SetSecurityGroupForLoadbalancers", req, cb);
|
|
@@ -253,6 +257,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
253
257
|
- 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
|
|
254
258
|
- 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
|
|
255
259
|
- CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
|
|
260
|
+
- 一个转发规则只支持绑定一个云函数。
|
|
256
261
|
*/
|
|
257
262
|
async RegisterFunctionTargets(req, cb) {
|
|
258
263
|
return this.request("RegisterFunctionTargets", req, cb);
|
|
@@ -368,13 +373,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
368
373
|
}
|
|
369
374
|
/**
|
|
370
375
|
* 修改负载均衡转发规则上所绑定的云函数。
|
|
376
|
+
限制说明:
|
|
377
|
+
- 仅支持绑定“Event 函数”类型的云函数。
|
|
371
378
|
*/
|
|
372
379
|
async ModifyFunctionTargets(req, cb) {
|
|
373
380
|
return this.request("ModifyFunctionTargets", req, cb);
|
|
374
381
|
}
|
|
375
382
|
/**
|
|
376
383
|
* 这个接口用于删除SnatPro的负载均衡的SnatIp。
|
|
377
|
-
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用
|
|
384
|
+
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
378
385
|
*/
|
|
379
386
|
async DeleteLoadBalancerSnatIps(req, cb) {
|
|
380
387
|
return this.request("DeleteLoadBalancerSnatIps", req, cb);
|
|
@@ -387,7 +394,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
387
394
|
}
|
|
388
395
|
/**
|
|
389
396
|
* CreateRule 接口用于在一个已存在的负载均衡七层监听器下创建转发规则,七层监听器中,后端服务必须绑定到规则上而非监听器上。
|
|
390
|
-
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
|
397
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
391
398
|
*/
|
|
392
399
|
async CreateRule(req, cb) {
|
|
393
400
|
return this.request("CreateRule", req, cb);
|
|
@@ -495,7 +502,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
495
502
|
}
|
|
496
503
|
/**
|
|
497
504
|
* RegisterTargets 接口用来将一台或多台后端服务绑定到负载均衡的监听器(或7层转发规则),在此之前您需要先行创建相关的4层监听器或7层转发规则。对于四层监听器(TCP、UDP),只需指定监听器ID即可,对于七层监听器(HTTP、HTTPS),还需通过LocationId或者Domain+Url指定转发规则。
|
|
498
|
-
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
|
505
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
499
506
|
*/
|
|
500
507
|
async RegisterTargets(req, cb) {
|
|
501
508
|
return this.request("RegisterTargets", req, cb);
|
|
@@ -523,7 +530,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
523
530
|
return this.request("DeleteLoadBalancerListeners", req, cb);
|
|
524
531
|
}
|
|
525
532
|
/**
|
|
526
|
-
*
|
|
533
|
+
* 删除目标组,支持批量删除目标组,单次最多批量删除 20 个目标组。
|
|
527
534
|
*/
|
|
528
535
|
async DeleteTargetGroups(req, cb) {
|
|
529
536
|
return this.request("DeleteTargetGroups", req, cb);
|
|
@@ -544,6 +551,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
544
551
|
/**
|
|
545
552
|
* 解除规则的目标组关联关系。
|
|
546
553
|
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
|
554
|
+
当解绑七层转发规则时,LocationId 为必填项。
|
|
547
555
|
*/
|
|
548
556
|
async DisassociateTargetGroups(req, cb) {
|
|
549
557
|
return this.request("DisassociateTargetGroups", req, cb);
|
|
@@ -613,7 +621,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
613
621
|
}
|
|
614
622
|
/**
|
|
615
623
|
* 针对SnatPro负载均衡,这个接口用于添加SnatIp,如果负载均衡没有开启SnatPro,添加SnatIp后会自动开启。
|
|
616
|
-
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用
|
|
624
|
+
本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
617
625
|
*/
|
|
618
626
|
async CreateLoadBalancerSnatIps(req, cb) {
|
|
619
627
|
return this.request("CreateLoadBalancerSnatIps", req, cb);
|