tencentcloud-sdk-nodejs 4.0.929 → 4.0.931
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 +184 -0
- package/SERVICE_CHANGELOG.md +195 -586
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_models.ts +4 -0
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +76 -0
- package/src/services/cls/v20201016/cls_models.ts +0 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +24 -12
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +52 -0
- package/src/services/dlc/v20210125/dlc_models.ts +20 -11
- package/src/services/dsgc/v20190723/dsgc_models.ts +13 -0
- package/src/services/ecc/v20181213/ecc_client.ts +2 -3
- package/src/services/ess/v20201111/ess_client.ts +3 -3
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
- package/src/services/lke/v20231130/lke_models.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +4 -0
- package/src/services/redis/v20180412/redis_models.ts +13 -13
- package/src/services/ssl/v20191205/ssl_client.ts +14 -1
- package/src/services/ssl/v20191205/ssl_models.ts +84 -18
- package/src/services/tcr/v20190924/tcr_models.ts +3 -3
- package/src/services/thpc/v20230321/thpc_client.ts +191 -135
- package/src/services/thpc/v20230321/thpc_models.ts +1279 -799
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/waf/v20180125/waf_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +75 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +0 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +50 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -11
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +13 -0
- package/tencentcloud/services/ecc/v20181213/ecc_client.d.ts +1 -2
- package/tencentcloud/services/ecc/v20181213/ecc_client.js +1 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +13 -13
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +81 -18
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +3 -3
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +49 -33
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +71 -47
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1234 -770
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +3 -3
- package/test/cynosdb.v20190107.test.js +14 -4
- package/test/ssl.v20191205.test.js +10 -0
- package/test/thpc.v20230321.test.js +72 -32
|
@@ -260,7 +260,7 @@ export interface STTConfig {
|
|
|
260
260
|
4. English = "en" # 英语
|
|
261
261
|
5. Vietnamese = "vi" # 越南语
|
|
262
262
|
6. Japanese = "ja" # 日语
|
|
263
|
-
7. Korean = "ko" #
|
|
263
|
+
7. Korean = "ko" # 韩语
|
|
264
264
|
8. Indonesia = "id" # 印度尼西亚语
|
|
265
265
|
9. Thai = "th" # 泰语
|
|
266
266
|
10. Portuguese = "pt" # 葡萄牙语
|
|
@@ -2573,7 +2573,7 @@ export interface RecognizeConfig {
|
|
|
2573
2573
|
- English = "en" # 英语
|
|
2574
2574
|
- Vietnamese = "vi" # 越南语
|
|
2575
2575
|
- Japanese = "ja" # 日语
|
|
2576
|
-
- Korean = "ko" #
|
|
2576
|
+
- Korean = "ko" # 韩语
|
|
2577
2577
|
- Indonesia = "id" # 印度尼西亚语
|
|
2578
2578
|
- Thai = "th" # 泰语
|
|
2579
2579
|
- Portuguese = "pt" # 葡萄牙语
|
|
@@ -4667,7 +4667,7 @@ export interface CreateAccessExportResponse {
|
|
|
4667
4667
|
/**
|
|
4668
4668
|
* 日志导出ID。
|
|
4669
4669
|
*/
|
|
4670
|
-
ExportId
|
|
4670
|
+
ExportId?: string;
|
|
4671
4671
|
/**
|
|
4672
4672
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4673
4673
|
*/
|
|
@@ -5809,7 +5809,7 @@ export interface GetAttackTotalCountRequest {
|
|
|
5809
5809
|
*/
|
|
5810
5810
|
EndTime: string;
|
|
5811
5811
|
/**
|
|
5812
|
-
*
|
|
5812
|
+
* 查询的域名,全部域名填all
|
|
5813
5813
|
*/
|
|
5814
5814
|
Domain: string;
|
|
5815
5815
|
/**
|
|
@@ -9088,7 +9088,7 @@ export interface GetAttackTotalCountResponse {
|
|
|
9088
9088
|
/**
|
|
9089
9089
|
* 攻击总次数
|
|
9090
9090
|
*/
|
|
9091
|
-
TotalCount
|
|
9091
|
+
TotalCount?: number;
|
|
9092
9092
|
/**
|
|
9093
9093
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9094
9094
|
*/
|
|
@@ -368,9 +368,9 @@ it("cynosdb.v20190107.DescribeClusterInstanceGrps", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
-
it("cynosdb.v20190107.
|
|
371
|
+
it("cynosdb.v20190107.DescribeIsolatedInstances", async function () {
|
|
372
372
|
try {
|
|
373
|
-
const data = await client.
|
|
373
|
+
const data = await client.DescribeIsolatedInstances({})
|
|
374
374
|
expect(data).to.be.ok
|
|
375
375
|
} catch(error) {
|
|
376
376
|
expect(error.requestId).to.be.ok
|
|
@@ -698,6 +698,16 @@ it("cynosdb.v20190107.SwitchClusterZone", async function () {
|
|
|
698
698
|
}
|
|
699
699
|
})
|
|
700
700
|
|
|
701
|
+
it("cynosdb.v20190107.SearchClusterDatabases", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.SearchClusterDatabases({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
701
711
|
it("cynosdb.v20190107.AddInstances", async function () {
|
|
702
712
|
try {
|
|
703
713
|
const data = await client.AddInstances({})
|
|
@@ -1068,9 +1078,9 @@ it("cynosdb.v20190107.ReloadBalanceProxyNode", async function () {
|
|
|
1068
1078
|
}
|
|
1069
1079
|
})
|
|
1070
1080
|
|
|
1071
|
-
it("cynosdb.v20190107.
|
|
1081
|
+
it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
1072
1082
|
try {
|
|
1073
|
-
const data = await client.
|
|
1083
|
+
const data = await client.OfflineCluster({})
|
|
1074
1084
|
expect(data).to.be.ok
|
|
1075
1085
|
} catch(error) {
|
|
1076
1086
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +48,16 @@ it("ssl.v20191205.DescribeHostCdnInstanceList", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("ssl.v20191205.CheckCertificateDomainVerification", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CheckCertificateDomainVerification({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("ssl.v20191205.DescribeHostTkeInstanceList", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.DescribeHostTkeInstanceList({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.thpc.v20230321.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("thpc.v20230321.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("thpc.v20230321.
|
|
21
|
+
it("thpc.v20230321.DeleteNodes", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DeleteNodes({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("thpc.v20230321.DescribeClusterStorageOption", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("thpc.v20230321.
|
|
31
|
+
it("thpc.v20230321.TerminateWorkspaces", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.TerminateWorkspaces({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("thpc.v20230321.DeleteNodes", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("thpc.v20230321.
|
|
41
|
+
it("thpc.v20230321.ModifyWorkspacesAttribute", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.ModifyWorkspacesAttribute({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("thpc.v20230321.CreateCluster", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("thpc.v20230321.
|
|
61
|
+
it("thpc.v20230321.CreateWorkspaces", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateWorkspaces({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("thpc.v20230321.AddClusterStorageOption", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("thpc.v20230321.
|
|
71
|
+
it("thpc.v20230321.DescribeQueues", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeQueues({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("thpc.v20230321.SetAutoScalingConfiguration", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("thpc.v20230321.
|
|
81
|
+
it("thpc.v20230321.AddNodes", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.AddNodes({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("thpc.v20230321.AddQueue", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("thpc.v20230321.
|
|
91
|
+
it("thpc.v20230321.DetachNodes", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.DetachNodes({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("thpc.v20230321.DescribeNodes", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("thpc.v20230321.
|
|
101
|
+
it("thpc.v20230321.DeleteCluster", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DeleteCluster({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("thpc.v20230321.DescribeInitNodeScripts", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("thpc.v20230321.
|
|
111
|
+
it("thpc.v20230321.DeleteClusterStorageOption", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DeleteClusterStorageOption({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("thpc.v20230321.AttachNodes", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("thpc.v20230321.
|
|
121
|
+
it("thpc.v20230321.DescribeWorkspaces", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeWorkspaces({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("thpc.v20230321.DeleteClusterStorageOption", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("thpc.v20230321.
|
|
131
|
+
it("thpc.v20230321.DescribeNodes", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeNodes({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("thpc.v20230321.AddNodes", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("thpc.v20230321.
|
|
141
|
+
it("thpc.v20230321.DescribeClusters", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeClusters({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("thpc.v20230321.
|
|
151
|
+
it("thpc.v20230321.SetAutoScalingConfiguration", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.SetAutoScalingConfiguration({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("thpc.v20230321.DescribeClusters", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("thpc.v20230321.
|
|
161
|
+
it("thpc.v20230321.AddQueue", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.AddQueue({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,29 @@ it("thpc.v20230321.DetachNodes", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("thpc.v20230321.
|
|
171
|
+
it("thpc.v20230321.DescribeInitNodeScripts", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeInitNodeScripts({})
|
|
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
|
+
|
|
181
|
+
it("thpc.v20230321.AttachNodes", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.AttachNodes({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeAutoScalingConfiguration({})
|
|
174
194
|
expect(data).to.be.ok
|
|
175
195
|
} catch(error) {
|
|
176
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +208,29 @@ it("thpc.v20230321.DescribeClusterActivities", async function () {
|
|
|
188
208
|
}
|
|
189
209
|
})
|
|
190
210
|
|
|
191
|
-
it("thpc.v20230321.
|
|
211
|
+
it("thpc.v20230321.DescribeClusterStorageOption", async function () {
|
|
192
212
|
try {
|
|
193
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeClusterStorageOption({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("thpc.v20230321.ModifyInitNodeScripts", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyInitNodeScripts({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("thpc.v20230321.AddClusterStorageOption", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.AddClusterStorageOption({})
|
|
194
234
|
expect(data).to.be.ok
|
|
195
235
|
} catch(error) {
|
|
196
236
|
expect(error.requestId).to.be.ok
|