tencentcloud-sdk-nodejs 4.0.268 → 4.0.272
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 +842 -0
- package/SERVICE_CHANGELOG.md +885 -225
- package/package.json +1 -1
- package/products.md +39 -39
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
- package/src/services/as/v20180419/as_models.ts +3 -3
- package/src/services/billing/v20180709/billing_models.ts +18 -0
- package/src/services/cbs/v20170312/cbs_client.ts +27 -11
- package/src/services/cbs/v20170312/cbs_models.ts +44 -14
- package/src/services/cdb/v20170320/cdb_client.ts +3 -3
- package/src/services/cdb/v20170320/cdb_models.ts +46 -11
- package/src/services/cfw/v20190904/cfw_models.ts +19 -2
- package/src/services/clb/v20180317/clb_client.ts +3 -0
- package/src/services/cvm/v20170312/cvm_client.ts +2 -1
- package/src/services/cvm/v20170312/cvm_models.ts +10 -0
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +44 -2
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +51 -5
- package/src/services/dlc/v20210125/dlc_models.ts +2 -2
- package/src/services/eiam/v20210420/eiam_client.ts +1 -1
- package/src/services/eiam/v20210420/eiam_models.ts +31 -31
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -19
- package/src/services/essbasic/v20210526/essbasic_models.ts +12 -7
- package/src/services/gaap/v20180529/gaap_models.ts +115 -1
- package/src/services/gs/v20191118/gs_client.ts +24 -0
- package/src/services/gs/v20191118/gs_models.ts +45 -0
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +41 -2
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +334 -28
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -0
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +25 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +188 -26
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ocr/v20181119/ocr_models.ts +3 -2
- package/src/services/postgres/v20170312/postgres_client.ts +87 -13
- package/src/services/postgres/v20170312/postgres_models.ts +370 -13
- package/src/services/rce/v20201103/rce_models.ts +5 -0
- package/src/services/scf/v20180416/scf_models.ts +9 -3
- package/src/services/ses/v20201002/ses_models.ts +8 -3
- package/src/services/sms/v20190711/sms_client.ts +2 -1
- package/src/services/sms/v20190711/sms_models.ts +19 -15
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
- package/src/services/ssm/v20190923/ssm_client.ts +3 -2
- package/src/services/ssm/v20190923/ssm_models.ts +36 -14
- package/src/services/tat/v20201028/tat_models.ts +3 -3
- package/src/services/tcb/v20180608/tcb_client.ts +14 -0
- package/src/services/tcb/v20180608/tcb_models.ts +115 -0
- package/src/services/tcss/v20201101/tcss_models.ts +9 -4
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +37 -3
- package/src/services/tms/v20201229/tms_client.ts +1 -1
- package/src/services/tms/v20201229/tms_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +18 -1
- package/src/services/wav/v20210129/wav_client.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
- package/tencentcloud/services/as/v20180419/as_models.d.ts +3 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +17 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +14 -6
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +16 -6
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +39 -13
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +40 -11
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +16 -2
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +3 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +3 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +44 -5
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -2
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +27 -27
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -7
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +102 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +9 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +12 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +40 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +13 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +18 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +282 -27
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +462 -59
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +17 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +156 -21
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +313 -12
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +8 -3
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +7 -3
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +2 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +2 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +19 -15
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.js +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +33 -14
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +3 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +96 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +7 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +31 -3
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +1 -1
- package/tencentcloud/services/tms/v20201229/tms_client.js +1 -1
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
- package/test/cbs.v20170312.test.js +12 -2
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/gs.v20191118.test.js +20 -0
- package/test/iotcloud.v20180614.test.js +30 -0
- package/test/iotexplorer.v20190423.test.js +240 -150
- package/test/mariadb.v20170312.test.js +20 -0
- package/test/postgres.v20170312.test.js +64 -4
- package/test/tcb.v20180608.test.js +10 -0
|
@@ -22,7 +22,7 @@ export interface RestoreSecretResponse {
|
|
|
22
22
|
/**
|
|
23
23
|
* 凭据名称。
|
|
24
24
|
*/
|
|
25
|
-
SecretName
|
|
25
|
+
SecretName: string;
|
|
26
26
|
/**
|
|
27
27
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
28
28
|
*/
|
|
@@ -35,7 +35,7 @@ export interface UpdateDescriptionResponse {
|
|
|
35
35
|
/**
|
|
36
36
|
* 凭据名称。
|
|
37
37
|
*/
|
|
38
|
-
SecretName
|
|
38
|
+
SecretName: string;
|
|
39
39
|
/**
|
|
40
40
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
41
41
|
*/
|
|
@@ -89,7 +89,7 @@ export interface DescribeSecretResponse {
|
|
|
89
89
|
*/
|
|
90
90
|
ResourceID: string;
|
|
91
91
|
/**
|
|
92
|
-
* 是否开启轮转:True -- 开启轮转;False --
|
|
92
|
+
* 是否开启轮转:True -- 开启轮转;False -- 关闭轮转。
|
|
93
93
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
94
94
|
*/
|
|
95
95
|
RotationStatus: boolean;
|
|
@@ -113,6 +113,11 @@ export interface DescribeSecretResponse {
|
|
|
113
113
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
114
114
|
*/
|
|
115
115
|
AssociatedInstanceIDs: Array<string>;
|
|
116
|
+
/**
|
|
117
|
+
* 当凭据类型为云API密钥对凭据时,此字段有效,用于表示此云API密钥对所属的用户UIN。
|
|
118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
119
|
+
*/
|
|
120
|
+
TargetUin: number;
|
|
116
121
|
/**
|
|
117
122
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
118
123
|
*/
|
|
@@ -297,7 +302,7 @@ export interface GetRegionsResponse {
|
|
|
297
302
|
/**
|
|
298
303
|
* region列表。
|
|
299
304
|
*/
|
|
300
|
-
Regions
|
|
305
|
+
Regions: Array<string>;
|
|
301
306
|
/**
|
|
302
307
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
303
308
|
*/
|
|
@@ -380,7 +385,10 @@ export interface SecretMetadata {
|
|
|
380
385
|
*/
|
|
381
386
|
NextRotationTime: number;
|
|
382
387
|
/**
|
|
383
|
-
* 0 -- 用户自定义凭据;
|
|
388
|
+
* 0 -- 用户自定义凭据;
|
|
389
|
+
1 -- 云产品凭据;
|
|
390
|
+
2 -- SSH密钥对凭据;
|
|
391
|
+
3 -- 云API密钥对凭据;
|
|
384
392
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
385
393
|
*/
|
|
386
394
|
SecretType: number;
|
|
@@ -404,6 +412,11 @@ export interface SecretMetadata {
|
|
|
404
412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
405
413
|
*/
|
|
406
414
|
AssociatedInstanceIDs: Array<string>;
|
|
415
|
+
/**
|
|
416
|
+
* 当凭据类型为云API密钥对凭据时,此字段有效,用于表示云API密钥对所属的用户UIN。
|
|
417
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
418
|
+
*/
|
|
419
|
+
TargetUin: number;
|
|
407
420
|
}
|
|
408
421
|
/**
|
|
409
422
|
* ListSecretVersionIds请求参数结构体
|
|
@@ -470,21 +483,21 @@ export interface CreateSecretResponse {
|
|
|
470
483
|
/**
|
|
471
484
|
* 新创建的凭据名称。
|
|
472
485
|
*/
|
|
473
|
-
SecretName
|
|
486
|
+
SecretName: string;
|
|
474
487
|
/**
|
|
475
488
|
* 新创建的凭据版本。
|
|
476
489
|
*/
|
|
477
|
-
VersionId
|
|
490
|
+
VersionId: string;
|
|
478
491
|
/**
|
|
479
492
|
* 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
|
|
480
493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
481
494
|
*/
|
|
482
|
-
TagCode
|
|
495
|
+
TagCode: number;
|
|
483
496
|
/**
|
|
484
497
|
* 标签操作的返回信息
|
|
485
498
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
499
|
*/
|
|
487
|
-
TagMsg
|
|
500
|
+
TagMsg: string;
|
|
488
501
|
/**
|
|
489
502
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
490
503
|
*/
|
|
@@ -576,6 +589,7 @@ export interface ListSecretsRequest {
|
|
|
576
589
|
* 0 -- 表示用户自定义凭据,默认为0。
|
|
577
590
|
1 -- 表示用户云产品凭据。
|
|
578
591
|
2 -- 表示SSH密钥对凭据。
|
|
592
|
+
3 -- 表示云API密钥对凭据。
|
|
579
593
|
*/
|
|
580
594
|
SecretType?: number;
|
|
581
595
|
/**
|
|
@@ -717,7 +731,7 @@ export interface RestoreSecretRequest {
|
|
|
717
731
|
*/
|
|
718
732
|
export interface RotateProductSecretResponse {
|
|
719
733
|
/**
|
|
720
|
-
*
|
|
734
|
+
* 当凭据类型为云产品凭据时(即SecretType为1,如Mysq、Tdsql等托管凭据)此字段有效,返回轮转异步任务ID号。
|
|
721
735
|
*/
|
|
722
736
|
FlowID: number;
|
|
723
737
|
/**
|
|
@@ -836,11 +850,16 @@ export interface GetServiceStatusResponse {
|
|
|
836
850
|
/**
|
|
837
851
|
* true表示服务已开通,false 表示服务尚未开通。
|
|
838
852
|
*/
|
|
839
|
-
ServiceEnabled
|
|
853
|
+
ServiceEnabled: boolean;
|
|
840
854
|
/**
|
|
841
855
|
* 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放。
|
|
842
856
|
*/
|
|
843
|
-
InvalidType
|
|
857
|
+
InvalidType: number;
|
|
858
|
+
/**
|
|
859
|
+
* true表示用户已经可以使用云API密钥安全托管功能,
|
|
860
|
+
false表示用户暂时不能使用云API密钥安全托管功能。
|
|
861
|
+
*/
|
|
862
|
+
AccessKeyEscrowEnabled: boolean;
|
|
844
863
|
/**
|
|
845
864
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
846
865
|
*/
|
|
@@ -1068,12 +1087,12 @@ export interface ListSecretVersionIdsResponse {
|
|
|
1068
1087
|
/**
|
|
1069
1088
|
* 凭据名称。
|
|
1070
1089
|
*/
|
|
1071
|
-
SecretName
|
|
1090
|
+
SecretName: string;
|
|
1072
1091
|
/**
|
|
1073
1092
|
* VersionId列表。
|
|
1074
1093
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
1094
|
*/
|
|
1076
|
-
Versions
|
|
1095
|
+
Versions: Array<VersionInfo>;
|
|
1077
1096
|
/**
|
|
1078
1097
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1079
1098
|
*/
|
|
@@ -180,7 +180,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
180
180
|
Tags?: Array<Tag>;
|
|
181
181
|
/**
|
|
182
182
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
183
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root
|
|
183
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。
|
|
184
184
|
*/
|
|
185
185
|
Username?: string;
|
|
186
186
|
/**
|
|
@@ -692,7 +692,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
692
692
|
DefaultParameters?: string;
|
|
693
693
|
/**
|
|
694
694
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
695
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
695
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
696
696
|
*/
|
|
697
697
|
Username?: string;
|
|
698
698
|
/**
|
|
@@ -1274,7 +1274,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
1274
1274
|
Tags?: Array<Tag>;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
1277
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root
|
|
1277
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。
|
|
1278
1278
|
*/
|
|
1279
1279
|
Username?: string;
|
|
1280
1280
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunServerDomainNameResponse, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeWxCloudBaseRunSubNetsRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeCloudBaseRunOneClickTaskExternalRequest, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, DescribeCloudBaseRunOneClickTaskExternalResponse, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerDomainNameRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, DescribeEndUserStatisticRequest, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeCloudBaseRunVersionRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, ModifyCloudBaseRunServerVersionResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, ModifyCloudBaseRunServerVersionRequest, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
|
|
3
|
+
import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, SearchClsLogResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunServerDomainNameResponse, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeWxCloudBaseRunSubNetsRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeCloudBaseRunOneClickTaskExternalRequest, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, DescribeCloudBaseRunOneClickTaskExternalResponse, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerDomainNameRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, DescribeEndUserStatisticRequest, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeCloudBaseRunVersionRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, SearchClsLogRequest, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, ModifyCloudBaseRunServerVersionResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, ModifyCloudBaseRunServerVersionRequest, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
|
|
4
4
|
/**
|
|
5
5
|
* tcb client
|
|
6
6
|
* @class
|
|
@@ -150,6 +150,10 @@ export declare class Client extends AbstractClient {
|
|
|
150
150
|
* 修改容器内的版本流量配置
|
|
151
151
|
*/
|
|
152
152
|
ModifyCloudBaseRunServerFlowConf(req: ModifyCloudBaseRunServerFlowConfRequest, cb?: (error: string, rep: ModifyCloudBaseRunServerFlowConfResponse) => void): Promise<ModifyCloudBaseRunServerFlowConfResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 搜索CLS日志,TCB角色秘钥访问
|
|
155
|
+
*/
|
|
156
|
+
SearchClsLog(req: SearchClsLogRequest, cb?: (error: string, rep: SearchClsLogResponse) => void): Promise<SearchClsLogResponse>;
|
|
153
157
|
/**
|
|
154
158
|
* 查看容器托管的集群状态扩展使用
|
|
155
159
|
*/
|
|
@@ -240,6 +240,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
240
240
|
async ModifyCloudBaseRunServerFlowConf(req, cb) {
|
|
241
241
|
return this.request("ModifyCloudBaseRunServerFlowConf", req, cb);
|
|
242
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* 搜索CLS日志,TCB角色秘钥访问
|
|
245
|
+
*/
|
|
246
|
+
async SearchClsLog(req, cb) {
|
|
247
|
+
return this.request("SearchClsLog", req, cb);
|
|
248
|
+
}
|
|
243
249
|
/**
|
|
244
250
|
* 查看容器托管的集群状态扩展使用
|
|
245
251
|
*/
|
|
@@ -243,6 +243,19 @@ export interface DeleteCloudBaseRunServerVersionResponse {
|
|
|
243
243
|
*/
|
|
244
244
|
RequestId?: string;
|
|
245
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* SearchClsLog返回参数结构体
|
|
248
|
+
*/
|
|
249
|
+
export interface SearchClsLogResponse {
|
|
250
|
+
/**
|
|
251
|
+
* 日志内容结果
|
|
252
|
+
*/
|
|
253
|
+
LogResults?: LogResObject;
|
|
254
|
+
/**
|
|
255
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
256
|
+
*/
|
|
257
|
+
RequestId?: string;
|
|
258
|
+
}
|
|
246
259
|
/**
|
|
247
260
|
* 独立网关信息
|
|
248
261
|
*/
|
|
@@ -524,6 +537,23 @@ export interface DescribeCloudBaseRunServerDomainNameResponse {
|
|
|
524
537
|
*/
|
|
525
538
|
RequestId?: string;
|
|
526
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* CLS日志结果
|
|
542
|
+
*/
|
|
543
|
+
export interface LogResObject {
|
|
544
|
+
/**
|
|
545
|
+
* 获取更多检索结果的游标
|
|
546
|
+
*/
|
|
547
|
+
Context: string;
|
|
548
|
+
/**
|
|
549
|
+
* 搜索结果是否已经全部返回
|
|
550
|
+
*/
|
|
551
|
+
ListOver: boolean;
|
|
552
|
+
/**
|
|
553
|
+
* 日志内容信息
|
|
554
|
+
*/
|
|
555
|
+
Results: Array<LogObject>;
|
|
556
|
+
}
|
|
527
557
|
/**
|
|
528
558
|
* DestroyStandaloneGateway请求参数结构体
|
|
529
559
|
*/
|
|
@@ -1854,6 +1884,35 @@ export interface DescribeStandaloneGatewayPackageResponse {
|
|
|
1854
1884
|
*/
|
|
1855
1885
|
RequestId?: string;
|
|
1856
1886
|
}
|
|
1887
|
+
/**
|
|
1888
|
+
* CLS日志单条信息
|
|
1889
|
+
*/
|
|
1890
|
+
export interface LogObject {
|
|
1891
|
+
/**
|
|
1892
|
+
* 日志属于的 topic ID
|
|
1893
|
+
*/
|
|
1894
|
+
TopicId: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* 日志主题的名字
|
|
1897
|
+
*/
|
|
1898
|
+
TopicName: string;
|
|
1899
|
+
/**
|
|
1900
|
+
* 日志时间
|
|
1901
|
+
*/
|
|
1902
|
+
Timestamp: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* 日志内容
|
|
1905
|
+
*/
|
|
1906
|
+
Content: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* 采集路径
|
|
1909
|
+
*/
|
|
1910
|
+
FileName: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* 日志来源设备
|
|
1913
|
+
*/
|
|
1914
|
+
Source: string;
|
|
1915
|
+
}
|
|
1857
1916
|
/**
|
|
1858
1917
|
* DestroyStaticStore返回参数结构体
|
|
1859
1918
|
*/
|
|
@@ -4389,6 +4448,43 @@ export interface DescribeCloudBaseRunPodListResponse {
|
|
|
4389
4448
|
*/
|
|
4390
4449
|
RequestId?: string;
|
|
4391
4450
|
}
|
|
4451
|
+
/**
|
|
4452
|
+
* SearchClsLog请求参数结构体
|
|
4453
|
+
*/
|
|
4454
|
+
export interface SearchClsLogRequest {
|
|
4455
|
+
/**
|
|
4456
|
+
* 环境唯一ID
|
|
4457
|
+
*/
|
|
4458
|
+
EnvId: string;
|
|
4459
|
+
/**
|
|
4460
|
+
* 查询起始时间条件
|
|
4461
|
+
*/
|
|
4462
|
+
StartTime: string;
|
|
4463
|
+
/**
|
|
4464
|
+
* 查询结束时间条件
|
|
4465
|
+
*/
|
|
4466
|
+
EndTime: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
|
|
4469
|
+
*/
|
|
4470
|
+
QueryString: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* 单次要返回的日志条数,单次返回的最大条数为100
|
|
4473
|
+
*/
|
|
4474
|
+
Limit: number;
|
|
4475
|
+
/**
|
|
4476
|
+
* 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
|
|
4477
|
+
*/
|
|
4478
|
+
Context?: string;
|
|
4479
|
+
/**
|
|
4480
|
+
* 按时间排序 asc(升序)或者 desc(降序),默认为 desc
|
|
4481
|
+
*/
|
|
4482
|
+
Sort?: string;
|
|
4483
|
+
/**
|
|
4484
|
+
* 是否使用Lucene语法,默认为false
|
|
4485
|
+
*/
|
|
4486
|
+
UseLucene?: boolean;
|
|
4487
|
+
}
|
|
4392
4488
|
/**
|
|
4393
4489
|
* 代码仓库里 Repo的信息描述
|
|
4394
4490
|
*/
|
|
@@ -400,6 +400,10 @@ export interface AddEditAbnormalProcessRuleRequest {
|
|
|
400
400
|
export interface DescribeComplianceTaskAssetSummaryRequest {
|
|
401
401
|
/**
|
|
402
402
|
* 资产类型列表。
|
|
403
|
+
ASSET_CONTAINER, 容器
|
|
404
|
+
ASSET_IMAGE, 镜像
|
|
405
|
+
ASSET_HOST, 主机
|
|
406
|
+
ASSET_K8S, K8S资产
|
|
403
407
|
*/
|
|
404
408
|
AssetTypeSet: Array<string>;
|
|
405
409
|
}
|
|
@@ -3603,6 +3607,7 @@ ASSET_CONTAINER, 容器
|
|
|
3603
3607
|
ASSET_IMAGE, 镜像
|
|
3604
3608
|
ASSET_HOST, 主机
|
|
3605
3609
|
ASSET_K8S, K8S资产
|
|
3610
|
+
AssetTypeSet, PolicySetId, PeriodTaskId三个参数,必须要给其中一个参数填写有效的值。
|
|
3606
3611
|
*/
|
|
3607
3612
|
AssetTypeSet?: Array<string>;
|
|
3608
3613
|
/**
|
|
@@ -9405,11 +9410,11 @@ export interface ServiceInfo {
|
|
|
9405
9410
|
*/
|
|
9406
9411
|
export interface AddEditReverseShellWhiteListRequest {
|
|
9407
9412
|
/**
|
|
9408
|
-
*
|
|
9413
|
+
* 增加或编辑白名单信息。新增白名单时WhiteListInfo.id为空,编辑白名单WhiteListInfo.id不能为空。
|
|
9409
9414
|
*/
|
|
9410
9415
|
WhiteListInfo: ReverseShellWhiteListInfo;
|
|
9411
9416
|
/**
|
|
9412
|
-
*
|
|
9417
|
+
* 仅在添加事件白名单时候使用
|
|
9413
9418
|
*/
|
|
9414
9419
|
EventId?: string;
|
|
9415
9420
|
}
|
|
@@ -551,8 +551,10 @@ export interface DeployApplicationRequest {
|
|
|
551
551
|
PkgName?: string;
|
|
552
552
|
/**
|
|
553
553
|
* JDK 版本。
|
|
554
|
-
- KONA:使用 kona jdk。
|
|
555
|
-
- OPEN:使用 open jdk。
|
|
554
|
+
- KONA:8:使用 kona jdk 8。
|
|
555
|
+
- OPEN:8:使用 open jdk 8。
|
|
556
|
+
- KONA:11:使用 kona jdk 11。
|
|
557
|
+
- OPEN:11:使用 open jdk 11。
|
|
556
558
|
*/
|
|
557
559
|
JdkVersion?: string;
|
|
558
560
|
/**
|
|
@@ -627,6 +629,18 @@ export interface DeployApplicationRequest {
|
|
|
627
629
|
* 是否启用log,1为启用,0为不启用
|
|
628
630
|
*/
|
|
629
631
|
LogEnable?: number;
|
|
632
|
+
/**
|
|
633
|
+
* (除开镜像配置)配置是否修改
|
|
634
|
+
*/
|
|
635
|
+
ConfEdited?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 是否开启应用加速
|
|
638
|
+
*/
|
|
639
|
+
SpeedUp?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* 启动探针配置
|
|
642
|
+
*/
|
|
643
|
+
StartupProbe?: HealthCheckConfig;
|
|
630
644
|
}
|
|
631
645
|
/**
|
|
632
646
|
* Ingress 配置
|
|
@@ -1559,6 +1573,10 @@ export interface DeployStrategyConf {
|
|
|
1559
1573
|
* 每批暂停间隔
|
|
1560
1574
|
*/
|
|
1561
1575
|
BatchInterval?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* 最小可用实例数
|
|
1578
|
+
*/
|
|
1579
|
+
MinAvailable?: number;
|
|
1562
1580
|
}
|
|
1563
1581
|
/**
|
|
1564
1582
|
* DescribeIngress请求参数结构体
|
|
@@ -1794,11 +1812,21 @@ export interface CreateEnvironmentRequest {
|
|
|
1794
1812
|
*/
|
|
1795
1813
|
export interface Pair {
|
|
1796
1814
|
/**
|
|
1797
|
-
*
|
|
1815
|
+
* 键
|
|
1798
1816
|
*/
|
|
1799
1817
|
Key: string;
|
|
1800
1818
|
/**
|
|
1801
1819
|
* 值
|
|
1802
1820
|
*/
|
|
1803
1821
|
Value: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* 类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项
|
|
1824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1825
|
+
*/
|
|
1826
|
+
Type?: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 配置名称
|
|
1829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1830
|
+
*/
|
|
1831
|
+
Config?: string;
|
|
1804
1832
|
}
|
|
@@ -22,7 +22,7 @@ export declare class Client extends AbstractClient {
|
|
|
22
22
|
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备。
|
|
23
23
|
|
|
24
24
|
### 接口调用说明:
|
|
25
|
-
-
|
|
25
|
+
- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;
|
|
26
26
|
- 文本审核语言支持:目前支持中文、英文、阿拉伯数字的检测;
|
|
27
27
|
- 默认接口请求频率限制:**1000次/秒**,超过该频率限制则接口会报错。
|
|
28
28
|
|
|
@@ -42,7 +42,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
42
42
|
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备。
|
|
43
43
|
|
|
44
44
|
### 接口调用说明:
|
|
45
|
-
-
|
|
45
|
+
- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;
|
|
46
46
|
- 文本审核语言支持:目前支持中文、英文、阿拉伯数字的检测;
|
|
47
47
|
- 默认接口请求频率限制:**1000次/秒**,超过该频率限制则接口会报错。
|
|
48
48
|
|
|
@@ -16,7 +16,7 @@ export interface RiskDetails {
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TextModerationRequest {
|
|
18
18
|
/**
|
|
19
|
-
* 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000
|
|
19
|
+
* 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密
|
|
20
20
|
*/
|
|
21
21
|
Content: string;
|
|
22
22
|
/**
|
|
@@ -1963,6 +1963,7 @@ export interface DescribeMediaProcessUsageDataRequest {
|
|
|
1963
1963
|
<li> Editing: 视频编辑</li>
|
|
1964
1964
|
<li> AdaptiveBitrateStreaming: 自适应码流</li>
|
|
1965
1965
|
<li> ContentAudit: 内容审核</li>
|
|
1966
|
+
<li> RemoveWatermark: 去除水印</li>
|
|
1966
1967
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
|
1967
1968
|
*/
|
|
1968
1969
|
Type?: string;
|
|
@@ -3013,6 +3014,7 @@ export interface TaskStatData {
|
|
|
3013
3014
|
<li> Editing: 视频编辑</li>
|
|
3014
3015
|
<li> AdaptiveBitrateStreaming: 自适应码流</li>
|
|
3015
3016
|
<li> ContentAudit: 智能识别</li>
|
|
3017
|
+
<li> RemoveWatermark: 去水印</li>
|
|
3016
3018
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
|
3017
3019
|
*/
|
|
3018
3020
|
TaskType: string;
|
|
@@ -3056,6 +3058,13 @@ export interface TaskStatData {
|
|
|
3056
3058
|
<li>Edit.H265.FHD: H.265编码方式全高清视频编辑</li>
|
|
3057
3059
|
<li>Edit.H265.2K: H.265编码方式2K视频编辑</li>
|
|
3058
3060
|
<li>Edit.H265.4K: H.265编码方式4K视频编辑</li>
|
|
3061
|
+
去水印规格:
|
|
3062
|
+
<li>480P: 分辨率640*480及以下</li>
|
|
3063
|
+
<li>720P: 分辨率1280*720及以下</li>
|
|
3064
|
+
<li>1080P: 分辨率1920*1080及以下</li>
|
|
3065
|
+
<li>2K: 分辨率2560*1440及以下</li>
|
|
3066
|
+
<li>4K: 分辨率3840*2160及以下</li>
|
|
3067
|
+
<li>8K: 分辨率7680*4320及以下</li>
|
|
3059
3068
|
*/
|
|
3060
3069
|
Details: Array<SpecificationDataItem>;
|
|
3061
3070
|
}
|
|
@@ -9674,6 +9683,13 @@ export interface AdaptiveDynamicStreamingInfoItem {
|
|
|
9674
9683
|
* 播放地址。
|
|
9675
9684
|
*/
|
|
9676
9685
|
Url: string;
|
|
9686
|
+
/**
|
|
9687
|
+
* 媒体文件大小,单位:字节。
|
|
9688
|
+
<li>当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和;</li>
|
|
9689
|
+
<li>当媒体文件为 DASH 时,大小是 mpd 和分片文件大小的总和;</li>
|
|
9690
|
+
<li><font color=red>注意</font>:在 2022-01-10T16:00:00Z 前处理生成的自适应码流文件此字段为0。</li>
|
|
9691
|
+
*/
|
|
9692
|
+
Size?: number;
|
|
9677
9693
|
}
|
|
9678
9694
|
/**
|
|
9679
9695
|
* 文本违禁任务控制参数
|
|
@@ -10282,7 +10298,7 @@ export interface DescribeMediaProcessUsageDataResponse {
|
|
|
10282
10298
|
/**
|
|
10283
10299
|
* 视频处理统计数据概览,展示所查询任务的概览以及详细数据。
|
|
10284
10300
|
*/
|
|
10285
|
-
MediaProcessDataSet
|
|
10301
|
+
MediaProcessDataSet: Array<TaskStatData>;
|
|
10286
10302
|
/**
|
|
10287
10303
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10288
10304
|
*/
|
|
@@ -16,7 +16,7 @@ export declare class Client extends AbstractClient {
|
|
|
16
16
|
*/
|
|
17
17
|
QueryActivityLiveCodeList(req: QueryActivityLiveCodeListRequest, cb?: (error: string, rep: QueryActivityLiveCodeListResponse) => void): Promise<QueryActivityLiveCodeListResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* 企业可通过此接口,根据外部联系人的userid
|
|
19
|
+
* 企业可通过此接口,根据外部联系人的userid,拉取外部联系人详情
|
|
20
20
|
*/
|
|
21
21
|
QueryExternalContactDetail(req: QueryExternalContactDetailRequest, cb?: (error: string, rep: QueryExternalContactDetailResponse) => void): Promise<QueryExternalContactDetailResponse>;
|
|
22
22
|
/**
|
|
@@ -44,7 +44,7 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
*/
|
|
45
45
|
QueryChatArchivingList(req: QueryChatArchivingListRequest, cb?: (error: string, rep: QueryChatArchivingListResponse) => void): Promise<QueryChatArchivingListResponse>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* 企业可通过此接口基于外部联系人获取指定成员添加的客户列表。客户是指配置了客户联系功能的成员所添加的外部联系人。没有配置客户联系功能的成员,所添加的外部联系人将不会作为客户返回。
|
|
48
48
|
*/
|
|
49
49
|
QueryExternalContactList(req: QueryExternalContactListRequest, cb?: (error: string, rep: QueryExternalContactListResponse) => void): Promise<QueryExternalContactListResponse>;
|
|
50
50
|
/**
|
|
@@ -40,7 +40,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
40
|
return this.request("QueryActivityLiveCodeList", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* 企业可通过此接口,根据外部联系人的userid
|
|
43
|
+
* 企业可通过此接口,根据外部联系人的userid,拉取外部联系人详情
|
|
44
44
|
*/
|
|
45
45
|
async QueryExternalContactDetail(req, cb) {
|
|
46
46
|
return this.request("QueryExternalContactDetail", req, cb);
|
|
@@ -82,7 +82,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
return this.request("QueryChatArchivingList", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 企业可通过此接口基于外部联系人获取指定成员添加的客户列表。客户是指配置了客户联系功能的成员所添加的外部联系人。没有配置客户联系功能的成员,所添加的外部联系人将不会作为客户返回。
|
|
86
86
|
*/
|
|
87
87
|
async QueryExternalContactList(req, cb) {
|
|
88
88
|
return this.request("QueryExternalContactList", req, cb);
|
|
@@ -138,6 +138,16 @@ it("cbs.v20170312.DeleteAutoSnapshotPolicies", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("cbs.v20170312.CreateAutoSnapshotPolicy", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateAutoSnapshotPolicy({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("cbs.v20170312.DescribeDisks", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DescribeDisks({})
|
|
@@ -228,9 +238,9 @@ it("cbs.v20170312.DescribeSnapshotSharePermission", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
231
|
-
it("cbs.v20170312.
|
|
241
|
+
it("cbs.v20170312.InitializeDisks", async function () {
|
|
232
242
|
try {
|
|
233
|
-
const data = await client.
|
|
243
|
+
const data = await client.InitializeDisks({})
|
|
234
244
|
expect(data).to.be.ok
|
|
235
245
|
} catch(error) {
|
|
236
246
|
expect(error.requestId).to.be.ok
|
|
@@ -68,6 +68,16 @@ it("dbbrain.v20210527.DescribeMySqlProcessList", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("dbbrain.v20210527.CreateProxySessionKillTask", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateProxySessionKillTask({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeDBDiagReportTasks({})
|
|
@@ -268,6 +278,16 @@ it("dbbrain.v20210527.DescribeTopSpaceSchemaTimeSeries", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("dbbrain.v20210527.CreateKillTask", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateKillTask({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
271
291
|
it("dbbrain.v20210527.DescribeUserSqlAdvice", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.DescribeUserSqlAdvice({})
|
|
@@ -168,6 +168,16 @@ it("dcdb.v20180411.DescribeFlow", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("dcdb.v20180411.SwitchDBInstanceHA", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.SwitchDBInstanceHA({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
171
181
|
it("dcdb.v20180411.InitDCDBInstances", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.InitDCDBInstances({})
|