tencentcloud-sdk-nodejs 4.0.767 → 4.0.769
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 +244 -0
- package/SERVICE_CHANGELOG.md +270 -130
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +3 -4
- package/src/services/cat/v20180409/cat_models.ts +2 -2
- package/src/services/cfw/v20190904/cfw_models.ts +7 -7
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +17 -13
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_client.ts +9 -6
- package/src/services/ess/v20201111/ess_client.ts +54 -11
- package/src/services/ess/v20201111/ess_models.ts +103 -23
- package/src/services/essbasic/v20210526/essbasic_client.ts +21 -22
- package/src/services/essbasic/v20210526/essbasic_models.ts +43 -24
- package/src/services/ivld/v20210903/ivld_models.ts +3 -3
- package/src/services/oceanus/v20190422/oceanus_client.ts +14 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +71 -13
- package/src/services/omics/v20221128/omics_models.ts +21 -4
- package/src/services/scf/v20180416/scf_models.ts +6 -2
- package/src/services/ssm/v20190923/ssm_models.ts +2 -2
- package/src/services/tcss/v20201101/tcss_models.ts +29 -5
- package/src/services/teo/v20220901/teo_models.ts +5 -5
- package/src/services/tiw/v20190919/tiw_models.ts +101 -10
- package/src/services/trp/v20210515/trp_client.ts +1 -1
- package/src/services/trp/v20210515/trp_models.ts +17 -3
- package/src/services/tse/v20201207/tse_client.ts +76 -16
- package/src/services/tse/v20201207/tse_models.ts +237 -58
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +25 -21
- package/src/services/vod/v20180717/vod_models.ts +6 -6
- package/src/services/wedata/v20210820/wedata_client.ts +55 -16
- package/src/services/wedata/v20210820/wedata_models.ts +552 -71
- 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 +3 -4
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +7 -7
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +17 -13
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +3 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +3 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +47 -12
- package/tencentcloud/services/ess/v20201111/ess_client.js +48 -11
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +101 -23
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +20 -21
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +20 -21
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +42 -23
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +3 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -12
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +21 -4
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +6 -2
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +2 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +29 -5
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +5 -5
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +101 -10
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +17 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +25 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +36 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +227 -58
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +25 -21
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +6 -6
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +17 -5
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +24 -6
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +545 -73
- package/test/ess.v20201111.test.js +10 -0
- package/test/oceanus.v20190422.test.js +10 -0
- package/test/tse.v20201207.test.js +54 -4
- package/test/wedata.v20210820.test.js +34 -4
|
@@ -6149,7 +6149,15 @@ export interface ClusterInfoItem {
|
|
|
6149
6149
|
*/
|
|
6150
6150
|
TaskCreateTime?: string;
|
|
6151
6151
|
/**
|
|
6152
|
-
*
|
|
6152
|
+
* 接入状态:
|
|
6153
|
+
未接入: AccessedNone
|
|
6154
|
+
已防护: AccessedDefended
|
|
6155
|
+
未防护: AccessedInstalled
|
|
6156
|
+
部分防护: AccessedPartialDefence
|
|
6157
|
+
接入异常: AccessedException
|
|
6158
|
+
卸载异常: AccessedUninstallException
|
|
6159
|
+
接入中: AccessedInstalling
|
|
6160
|
+
卸载中: AccessedUninstalling
|
|
6153
6161
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6154
6162
|
*/
|
|
6155
6163
|
AccessedStatus?: string;
|
|
@@ -6173,6 +6181,11 @@ export interface ClusterInfoItem {
|
|
|
6173
6181
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6174
6182
|
*/
|
|
6175
6183
|
UnInstallAgentNodeCount?: number;
|
|
6184
|
+
/**
|
|
6185
|
+
* 计费核数
|
|
6186
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6187
|
+
*/
|
|
6188
|
+
ChargeCoresCnt?: number;
|
|
6176
6189
|
}
|
|
6177
6190
|
/**
|
|
6178
6191
|
* DescribeComplianceScanFailedAssetList返回参数结构体
|
|
@@ -8896,6 +8909,16 @@ export interface HostInfo {
|
|
|
8896
8909
|
* 集群接入状态
|
|
8897
8910
|
*/
|
|
8898
8911
|
ClusterAccessedStatus?: string;
|
|
8912
|
+
/**
|
|
8913
|
+
* 计费核数
|
|
8914
|
+
*/
|
|
8915
|
+
ChargeCoresCnt?: number;
|
|
8916
|
+
/**
|
|
8917
|
+
* 防护状态:
|
|
8918
|
+
已防护: Defended
|
|
8919
|
+
未防护: UnDefended
|
|
8920
|
+
*/
|
|
8921
|
+
DefendStatus?: string;
|
|
8899
8922
|
}
|
|
8900
8923
|
/**
|
|
8901
8924
|
* DescribeVirusScanTimeoutSetting请求参数结构体
|
|
@@ -16062,7 +16085,8 @@ export interface DescribeExportJobManageListRequest {
|
|
|
16062
16085
|
/**
|
|
16063
16086
|
* 过滤条件。
|
|
16064
16087
|
<li>ExportStatus- string -是否必填: 否 - 导出状态 RUNNING: 导出中 SUCCESS:导出完成 FAILURE:失败
|
|
16065
|
-
|
|
16088
|
+
</li>
|
|
16089
|
+
<li>ExportSource- string -是否必填: 否 - 导出来源 LocalImage: 本地镜像 RegistryImage: 仓库镜像
|
|
16066
16090
|
</li>
|
|
16067
16091
|
*/
|
|
16068
16092
|
Filters?: Array<RunTimeFilters>;
|
|
@@ -16964,11 +16988,11 @@ export interface DescribeExportJobManageListResponse {
|
|
|
16964
16988
|
/**
|
|
16965
16989
|
* 总数
|
|
16966
16990
|
*/
|
|
16967
|
-
TotalCount
|
|
16991
|
+
TotalCount?: number;
|
|
16968
16992
|
/**
|
|
16969
16993
|
* 任务列表
|
|
16970
16994
|
*/
|
|
16971
|
-
List
|
|
16995
|
+
List?: Array<ExportJobInfo>;
|
|
16972
16996
|
/**
|
|
16973
16997
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
16974
16998
|
*/
|
|
@@ -20762,7 +20786,7 @@ export interface DescribeAssetImageRegistryListExportResponse {
|
|
|
20762
20786
|
* excel文件下载地址
|
|
20763
20787
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20764
20788
|
*/
|
|
20765
|
-
DownloadUrl
|
|
20789
|
+
DownloadUrl?: string;
|
|
20766
20790
|
/**
|
|
20767
20791
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
20768
20792
|
*/
|
|
@@ -2882,7 +2882,7 @@ export interface CreatePrefetchTaskRequest {
|
|
|
2882
2882
|
ZoneId: string;
|
|
2883
2883
|
/**
|
|
2884
2884
|
* 要预热的资源列表,每个元素格式类似如下:
|
|
2885
|
-
http://www.example.com/example.txt
|
|
2885
|
+
http://www.example.com/example.txt。参数值当前必填。
|
|
2886
2886
|
注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
|
|
2887
2887
|
*/
|
|
2888
2888
|
Targets?: Array<string>;
|
|
@@ -3461,11 +3461,11 @@ export interface DescribePrefetchTasksRequest {
|
|
|
3461
3461
|
*/
|
|
3462
3462
|
ZoneId?: string;
|
|
3463
3463
|
/**
|
|
3464
|
-
*
|
|
3464
|
+
* 查询起始时间,时间与 job-id 必填一个。
|
|
3465
3465
|
*/
|
|
3466
3466
|
StartTime?: string;
|
|
3467
3467
|
/**
|
|
3468
|
-
*
|
|
3468
|
+
* 查询结束时间,时间与 job-id 必填一个。
|
|
3469
3469
|
*/
|
|
3470
3470
|
EndTime?: string;
|
|
3471
3471
|
/**
|
|
@@ -4460,11 +4460,11 @@ export interface DescribePurgeTasksRequest {
|
|
|
4460
4460
|
*/
|
|
4461
4461
|
ZoneId?: string;
|
|
4462
4462
|
/**
|
|
4463
|
-
*
|
|
4463
|
+
* 查询起始时间,时间与job-id必填一个。
|
|
4464
4464
|
*/
|
|
4465
4465
|
StartTime?: string;
|
|
4466
4466
|
/**
|
|
4467
|
-
*
|
|
4467
|
+
* 查询结束时间,时间与job-id必填一个。
|
|
4468
4468
|
*/
|
|
4469
4469
|
EndTime?: string;
|
|
4470
4470
|
/**
|
|
@@ -1886,14 +1886,59 @@ export interface CreatePPTCheckTaskRequest {
|
|
|
1886
1886
|
*/
|
|
1887
1887
|
Url: string;
|
|
1888
1888
|
/**
|
|
1889
|
-
*
|
|
1889
|
+
* 是否对不支持元素开启自动处理的功能,默认不开启。
|
|
1890
|
+
true -- 开启
|
|
1891
|
+
false -- 不开启
|
|
1890
1892
|
|
|
1891
|
-
|
|
1892
|
-
1. 墨迹:移除不支持的墨迹(比如使用WPS画的)
|
|
1893
|
-
2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
|
|
1894
|
-
3. 已损坏音视频:移除PPT上对损坏音视频的引用
|
|
1893
|
+
当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
|
|
1895
1894
|
*/
|
|
1896
1895
|
AutoHandleUnsupportedElement?: boolean;
|
|
1896
|
+
/**
|
|
1897
|
+
* 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
|
|
1898
|
+
|
|
1899
|
+
指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
|
|
1900
|
+
|
|
1901
|
+
目前支持检测的不兼容元素类型及对应的自动处理方式如下:
|
|
1902
|
+
0: 不支持的墨迹类型
|
|
1903
|
+
-- 自动处理方式:移除墨迹
|
|
1904
|
+
|
|
1905
|
+
1: 自动翻页
|
|
1906
|
+
-- 自动处理方式:移除自动翻页设置,并修改为单击切换
|
|
1907
|
+
|
|
1908
|
+
2: 已损坏音视频
|
|
1909
|
+
-- 自动处理方式:移除对损坏音视频的引用
|
|
1910
|
+
|
|
1911
|
+
3: 不可访问资源
|
|
1912
|
+
-- 自动处理方式:移除对不可访问的资源的引用
|
|
1913
|
+
|
|
1914
|
+
4: 只读文件
|
|
1915
|
+
-- 自动处理方式:移除只读设置
|
|
1916
|
+
|
|
1917
|
+
5: 不支持的元素编辑锁定状态
|
|
1918
|
+
-- 自动处理方式:移除锁定状态
|
|
1919
|
+
|
|
1920
|
+
6: 可能有兼容问题的字体
|
|
1921
|
+
-- 自动处理方式: 不支持处理
|
|
1922
|
+
|
|
1923
|
+
7: 设置了柔化边缘的GIF图片
|
|
1924
|
+
-- 自动处理方式:移除柔化边缘设置
|
|
1925
|
+
|
|
1926
|
+
8: 存在不兼容的空格下划线
|
|
1927
|
+
-- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
|
|
1928
|
+
|
|
1929
|
+
9: 存在设置了分段动画的数学公式和文本混合内容
|
|
1930
|
+
-- 自动处理方式: 不支持处理
|
|
1931
|
+
|
|
1932
|
+
10: 存在设置了分段动画的渐变色文本
|
|
1933
|
+
-- 自动处理方式: 不支持处理
|
|
1934
|
+
|
|
1935
|
+
11: 存在不兼容的分散对齐方式
|
|
1936
|
+
-- 自动处理方式: 不支持处理
|
|
1937
|
+
|
|
1938
|
+
12: 存在不兼容的多倍行距设置
|
|
1939
|
+
-- 自动处理方式: 不支持处理
|
|
1940
|
+
*/
|
|
1941
|
+
AutoHandleUnsupportedElementTypes?: Array<number | bigint>;
|
|
1897
1942
|
}
|
|
1898
1943
|
/**
|
|
1899
1944
|
* 视频信息
|
|
@@ -3050,14 +3095,60 @@ export interface CreateTranscodeRequest {
|
|
|
3050
3095
|
MinScaleResolution?: string;
|
|
3051
3096
|
/**
|
|
3052
3097
|
* 此参数仅对动态转码生效。
|
|
3053
|
-
是否对不支持元素开启自动处理的功能。默认不开启。
|
|
3054
3098
|
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3099
|
+
是否对不支持元素开启自动处理的功能,默认不开启。
|
|
3100
|
+
true -- 开启
|
|
3101
|
+
false -- 不开启
|
|
3102
|
+
|
|
3103
|
+
当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
|
|
3059
3104
|
*/
|
|
3060
3105
|
AutoHandleUnsupportedElement?: boolean;
|
|
3106
|
+
/**
|
|
3107
|
+
* 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
|
|
3108
|
+
|
|
3109
|
+
指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
|
|
3110
|
+
|
|
3111
|
+
目前支持检测的不兼容元素类型及对应的自动处理方式如下:
|
|
3112
|
+
0: 不支持的墨迹类型
|
|
3113
|
+
-- 自动处理方式:移除墨迹
|
|
3114
|
+
|
|
3115
|
+
1: 自动翻页
|
|
3116
|
+
-- 自动处理方式:移除自动翻页设置,并修改为单击切换
|
|
3117
|
+
|
|
3118
|
+
2: 已损坏音视频
|
|
3119
|
+
-- 自动处理方式:移除对损坏音视频的引用
|
|
3120
|
+
|
|
3121
|
+
3: 不可访问资源
|
|
3122
|
+
-- 自动处理方式:移除对不可访问的资源的引用
|
|
3123
|
+
|
|
3124
|
+
4: 只读文件
|
|
3125
|
+
-- 自动处理方式:移除只读设置
|
|
3126
|
+
|
|
3127
|
+
5: 不支持的元素编辑锁定状态
|
|
3128
|
+
-- 自动处理方式:移除锁定状态
|
|
3129
|
+
|
|
3130
|
+
6: 可能有兼容问题的字体
|
|
3131
|
+
-- 自动处理方式: 不支持处理
|
|
3132
|
+
|
|
3133
|
+
7: 设置了柔化边缘的GIF图片
|
|
3134
|
+
-- 自动处理方式:移除柔化边缘设置
|
|
3135
|
+
|
|
3136
|
+
8: 存在不兼容的空格下划线
|
|
3137
|
+
-- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
|
|
3138
|
+
|
|
3139
|
+
9: 存在设置了分段动画的数学公式和文本混合内容
|
|
3140
|
+
-- 自动处理方式: 不支持处理
|
|
3141
|
+
|
|
3142
|
+
10: 存在设置了分段动画的渐变色文本
|
|
3143
|
+
-- 自动处理方式: 不支持处理
|
|
3144
|
+
|
|
3145
|
+
11: 存在不兼容的分散对齐方式
|
|
3146
|
+
-- 自动处理方式: 不支持处理
|
|
3147
|
+
|
|
3148
|
+
12: 存在不兼容的多倍行距设置
|
|
3149
|
+
-- 自动处理方式: 不支持处理
|
|
3150
|
+
*/
|
|
3151
|
+
AutoHandleUnsupportedElementTypes?: Array<number | bigint>;
|
|
3061
3152
|
/**
|
|
3062
3153
|
* Excel表格转码参数,可设置转码时表格纸张大小及纸张方向等参数(仅对转码文件为Excel表格文件的静态转码任务生效)
|
|
3063
3154
|
*/
|
|
@@ -152,7 +152,7 @@ export declare class Client extends AbstractClient {
|
|
|
152
152
|
/**
|
|
153
153
|
* 查询批次列表
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
旧版接口已经弃用,新业务请使用新版的接口 DescribeCodeBatches
|
|
156
156
|
*/
|
|
157
157
|
DescribeCodeBatchs(req: DescribeCodeBatchsRequest, cb?: (error: string, rep: DescribeCodeBatchsResponse) => void): Promise<DescribeCodeBatchsResponse>;
|
|
158
158
|
/**
|
|
@@ -242,7 +242,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
242
242
|
/**
|
|
243
243
|
* 查询批次列表
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
旧版接口已经弃用,新业务请使用新版的接口 DescribeCodeBatches
|
|
246
246
|
*/
|
|
247
247
|
async DescribeCodeBatchs(req, cb) {
|
|
248
248
|
return this.request("DescribeCodeBatchs", req, cb);
|
|
@@ -194,6 +194,11 @@ export interface Quota {
|
|
|
194
194
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
195
|
*/
|
|
196
196
|
Version?: string;
|
|
197
|
+
/**
|
|
198
|
+
* 是否开启企业认证
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
ProductCertify?: number;
|
|
197
202
|
}
|
|
198
203
|
/**
|
|
199
204
|
* 安心计划二维码
|
|
@@ -332,6 +337,10 @@ export interface DescribeProductsRequest {
|
|
|
332
337
|
* 企业ID
|
|
333
338
|
*/
|
|
334
339
|
CorpId?: number;
|
|
340
|
+
/**
|
|
341
|
+
* 认证状态
|
|
342
|
+
*/
|
|
343
|
+
CertState?: number;
|
|
335
344
|
}
|
|
336
345
|
/**
|
|
337
346
|
* CreateCorporationOrder返回参数结构体
|
|
@@ -754,12 +763,12 @@ export interface DescribeProductsResponse {
|
|
|
754
763
|
* 商品列表
|
|
755
764
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
756
765
|
*/
|
|
757
|
-
Products
|
|
766
|
+
Products?: Array<Product>;
|
|
758
767
|
/**
|
|
759
768
|
* 总数
|
|
760
769
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
761
770
|
*/
|
|
762
|
-
TotalCount
|
|
771
|
+
TotalCount?: number;
|
|
763
772
|
/**
|
|
764
773
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
765
774
|
*/
|
|
@@ -1740,7 +1749,7 @@ export interface CreateCodeBatchRequest {
|
|
|
1740
1749
|
*/
|
|
1741
1750
|
Remark?: string;
|
|
1742
1751
|
/**
|
|
1743
|
-
*
|
|
1752
|
+
* 模板ID,或者活动ID
|
|
1744
1753
|
*/
|
|
1745
1754
|
MpTpl?: string;
|
|
1746
1755
|
/**
|
|
@@ -2854,6 +2863,11 @@ export interface Product {
|
|
|
2854
2863
|
* 商户名称
|
|
2855
2864
|
*/
|
|
2856
2865
|
MerchantName?: string;
|
|
2866
|
+
/**
|
|
2867
|
+
* 认证状态
|
|
2868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2869
|
+
*/
|
|
2870
|
+
CertState?: number;
|
|
2857
2871
|
}
|
|
2858
2872
|
/**
|
|
2859
2873
|
* DescribeTmpToken请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, ModifyCloudNativeAPIGatewayResponse, CloseWafProtectionRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, OpenWafProtectionResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest,
|
|
3
|
+
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayPublicNetworkResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayResponse, CloseWafProtectionRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, OpenWafProtectionResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, DescribeZookeeperServerInterfacesRequest, DescribeNacosReplicasRequest, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, ModifyCloudNativeAPIGatewayCertificateRequest, CreateWafDomainsResponse, DescribeCloudNativeAPIGatewayServicesRequest, DescribeCloudNativeAPIGatewayUpstreamResponse, DescribeCloudNativeAPIGatewayCertificatesResponse, UpdateEngineInternetAccessRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DescribeSREInstancesRequest, DeleteEngineResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, ModifyNetworkAccessStrategyRequest, DeleteCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayPortsResponse, CreateCloudNativeAPIGatewayRouteRateLimitRequest, DeleteNativeGatewayServerGroupRequest, ModifyCloudNativeAPIGatewayRouteResponse, DescribeNacosReplicasResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayConfigRequest, DescribeCloudNativeAPIGatewaysRequest, DescribeNacosServerInterfacesResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, DeleteCloudNativeAPIGatewayServiceRequest, CreateCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayCanaryRuleRequest, ModifyNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, DescribeOneCloudNativeAPIGatewayServiceRequest, DescribeCloudNativeAPIGatewaysResponse, UpdateEngineInternetAccessResponse, UpdateCloudNativeAPIGatewaySpecRequest, DescribeCloudNativeAPIGatewayServicesResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, DeleteEngineRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, DescribeWafDomainsResponse, ModifyNetworkBasicInfoRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, DescribeSREInstanceAccessAddressRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, UpdateUpstreamTargetsResponse, DeleteCloudNativeAPIGatewayCertificateRequest, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CloseWafProtectionResponse, UpdateUpstreamHealthCheckConfigRequest, UpdateCloudNativeAPIGatewaySpecResponse, DescribeZookeeperServerInterfacesResponse, ModifyNetworkAccessStrategyResponse, DescribeNativeGatewayServerGroupsRequest, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeOneCloudNativeAPIGatewayServiceResponse, ModifyCloudNativeAPIGatewayServiceRequest, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, DescribeWafDomainsRequest, DescribeWafProtectionRequest, ModifyUpstreamNodeStatusResponse, CreateCloudNativeAPIGatewayPublicNetworkRequest, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, OpenWafProtectionRequest, DeleteCloudNativeAPIGatewayPublicNetworkRequest, DeleteCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeNacosServerInterfacesRequest, UpdateUpstreamHealthCheckConfigResponse, DescribeSREInstancesResponse, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateWafDomainsRequest, CreateCloudNativeAPIGatewayRouteRequest, CreateNativeGatewayServerGroupResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, DescribeZookeeperReplicasResponse, CreateEngineRequest, ModifyCloudNativeAPIGatewayCanaryRuleRequest, ModifyConsoleNetworkResponse, DeleteWafDomainsResponse, ModifyCloudNativeAPIGatewayRequest, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, DescribeCloudNativeAPIGatewayPortsRequest, ModifyNativeGatewayServerGroupResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse, ModifyNetworkBasicInfoResponse } from "./tse_models";
|
|
4
4
|
/**
|
|
5
5
|
* tse client
|
|
6
6
|
* @class
|
|
@@ -8,9 +8,13 @@ import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServi
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 修改网关实例Konga网络配置
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
ModifyConsoleNetwork(req: ModifyConsoleNetworkRequest, cb?: (error: string, rep: ModifyConsoleNetworkResponse) => void): Promise<ModifyConsoleNetworkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 创建公网网络配置
|
|
16
|
+
*/
|
|
17
|
+
CreateCloudNativeAPIGatewayPublicNetwork(req: CreateCloudNativeAPIGatewayPublicNetworkRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayPublicNetworkResponse) => void): Promise<CreateCloudNativeAPIGatewayPublicNetworkResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 获取云原生网关服务健康检查配置
|
|
16
20
|
*/
|
|
@@ -43,6 +47,10 @@ export declare class Client extends AbstractClient {
|
|
|
43
47
|
* 获取云原生网关服务详情
|
|
44
48
|
*/
|
|
45
49
|
DescribeOneCloudNativeAPIGatewayService(req: DescribeOneCloudNativeAPIGatewayServiceRequest, cb?: (error: string, rep: DescribeOneCloudNativeAPIGatewayServiceResponse) => void): Promise<DescribeOneCloudNativeAPIGatewayServiceResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 获取云原生网关服务详情下的Upstream列表
|
|
52
|
+
*/
|
|
53
|
+
DescribeCloudNativeAPIGatewayUpstream(req: DescribeCloudNativeAPIGatewayUpstreamRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayUpstreamResponse) => void): Promise<DescribeCloudNativeAPIGatewayUpstreamResponse>;
|
|
46
54
|
/**
|
|
47
55
|
* 查询云原生网关证书列表
|
|
48
56
|
*/
|
|
@@ -59,6 +67,10 @@ export declare class Client extends AbstractClient {
|
|
|
59
67
|
* 修改云原生网关的灰度规则
|
|
60
68
|
*/
|
|
61
69
|
ModifyCloudNativeAPIGatewayCanaryRule(req: ModifyCloudNativeAPIGatewayCanaryRuleRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayCanaryRuleResponse) => void): Promise<ModifyCloudNativeAPIGatewayCanaryRuleResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 删除公网网络配置
|
|
72
|
+
*/
|
|
73
|
+
DeleteCloudNativeAPIGatewayPublicNetwork(req: DeleteCloudNativeAPIGatewayPublicNetworkRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayPublicNetworkResponse) => void): Promise<DeleteCloudNativeAPIGatewayPublicNetworkResponse>;
|
|
62
74
|
/**
|
|
63
75
|
* 删除 WAF 防护域名
|
|
64
76
|
*/
|
|
@@ -175,6 +187,10 @@ export declare class Client extends AbstractClient {
|
|
|
175
187
|
* 开启 WAF 防护
|
|
176
188
|
*/
|
|
177
189
|
OpenWafProtection(req: OpenWafProtectionRequest, cb?: (error: string, rep: OpenWafProtectionResponse) => void): Promise<OpenWafProtectionResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
192
|
+
*/
|
|
193
|
+
UpdateUpstreamTargets(req: UpdateUpstreamTargetsRequest, cb?: (error: string, rep: UpdateUpstreamTargetsResponse) => void): Promise<UpdateUpstreamTargetsResponse>;
|
|
178
194
|
/**
|
|
179
195
|
* 修改云原生API网关实例基础信息
|
|
180
196
|
*/
|
|
@@ -188,9 +204,13 @@ export declare class Client extends AbstractClient {
|
|
|
188
204
|
*/
|
|
189
205
|
DeleteCloudNativeAPIGateway(req: DeleteCloudNativeAPIGatewayRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayResponse) => void): Promise<DeleteCloudNativeAPIGatewayResponse>;
|
|
190
206
|
/**
|
|
191
|
-
*
|
|
207
|
+
* 修改云原生API网关实例网络基本信息,比如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
192
208
|
*/
|
|
193
|
-
|
|
209
|
+
ModifyNetworkBasicInfo(req: ModifyNetworkBasicInfoRequest, cb?: (error: string, rep: ModifyNetworkBasicInfoResponse) => void): Promise<ModifyNetworkBasicInfoResponse>;
|
|
210
|
+
/**
|
|
211
|
+
* 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
212
|
+
*/
|
|
213
|
+
ModifyNetworkAccessStrategy(req: ModifyNetworkAccessStrategyRequest, cb?: (error: string, rep: ModifyNetworkAccessStrategyResponse) => void): Promise<ModifyNetworkAccessStrategyResponse>;
|
|
194
214
|
/**
|
|
195
215
|
* 删除云原生网关证书
|
|
196
216
|
*/
|
|
@@ -28,10 +28,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("tse.tencentcloudapi.com", "2020-12-07", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 修改网关实例Konga网络配置
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async ModifyConsoleNetwork(req, cb) {
|
|
34
|
+
return this.request("ModifyConsoleNetwork", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 创建公网网络配置
|
|
38
|
+
*/
|
|
39
|
+
async CreateCloudNativeAPIGatewayPublicNetwork(req, cb) {
|
|
40
|
+
return this.request("CreateCloudNativeAPIGatewayPublicNetwork", req, cb);
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* 获取云原生网关服务健康检查配置
|
|
@@ -81,6 +87,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
81
87
|
async DescribeOneCloudNativeAPIGatewayService(req, cb) {
|
|
82
88
|
return this.request("DescribeOneCloudNativeAPIGatewayService", req, cb);
|
|
83
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 获取云原生网关服务详情下的Upstream列表
|
|
92
|
+
*/
|
|
93
|
+
async DescribeCloudNativeAPIGatewayUpstream(req, cb) {
|
|
94
|
+
return this.request("DescribeCloudNativeAPIGatewayUpstream", req, cb);
|
|
95
|
+
}
|
|
84
96
|
/**
|
|
85
97
|
* 查询云原生网关证书列表
|
|
86
98
|
*/
|
|
@@ -105,6 +117,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
105
117
|
async ModifyCloudNativeAPIGatewayCanaryRule(req, cb) {
|
|
106
118
|
return this.request("ModifyCloudNativeAPIGatewayCanaryRule", req, cb);
|
|
107
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 删除公网网络配置
|
|
122
|
+
*/
|
|
123
|
+
async DeleteCloudNativeAPIGatewayPublicNetwork(req, cb) {
|
|
124
|
+
return this.request("DeleteCloudNativeAPIGatewayPublicNetwork", req, cb);
|
|
125
|
+
}
|
|
108
126
|
/**
|
|
109
127
|
* 删除 WAF 防护域名
|
|
110
128
|
*/
|
|
@@ -279,6 +297,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
279
297
|
async OpenWafProtection(req, cb) {
|
|
280
298
|
return this.request("OpenWafProtection", req, cb);
|
|
281
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
302
|
+
*/
|
|
303
|
+
async UpdateUpstreamTargets(req, cb) {
|
|
304
|
+
return this.request("UpdateUpstreamTargets", req, cb);
|
|
305
|
+
}
|
|
282
306
|
/**
|
|
283
307
|
* 修改云原生API网关实例基础信息
|
|
284
308
|
*/
|
|
@@ -298,10 +322,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
298
322
|
return this.request("DeleteCloudNativeAPIGateway", req, cb);
|
|
299
323
|
}
|
|
300
324
|
/**
|
|
301
|
-
*
|
|
325
|
+
* 修改云原生API网关实例网络基本信息,比如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
302
326
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
327
|
+
async ModifyNetworkBasicInfo(req, cb) {
|
|
328
|
+
return this.request("ModifyNetworkBasicInfo", req, cb);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
332
|
+
*/
|
|
333
|
+
async ModifyNetworkAccessStrategy(req, cb) {
|
|
334
|
+
return this.request("ModifyNetworkAccessStrategy", req, cb);
|
|
305
335
|
}
|
|
306
336
|
/**
|
|
307
337
|
* 删除云原生网关证书
|