tencentcloud-sdk-nodejs 4.0.738 → 4.0.740
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 +635 -0
- package/SERVICE_CHANGELOG.md +751 -220
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +10 -6
- package/src/services/cdb/v20170320/cdb_client.ts +168 -54
- package/src/services/cdb/v20170320/cdb_models.ts +721 -136
- package/src/services/cfg/v20210820/cfg_client.ts +32 -7
- package/src/services/cfg/v20210820/cfg_models.ts +108 -3
- package/src/services/cloudstudio/index.ts +0 -2
- package/src/services/config/index.ts +5 -0
- package/src/services/{casb/v20200507/casb_client.ts → config/v20220802/config_client.ts} +30 -19
- package/src/services/config/v20220802/config_models.ts +424 -0
- package/src/services/config/v20220802/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_client.ts +4 -4
- package/src/services/cvm/v20170312/cvm_models.ts +17 -17
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -6
- package/src/services/dsgc/v20190723/dsgc_models.ts +38 -38
- package/src/services/ess/v20201111/ess_models.ts +8 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -7
- package/src/services/hai/v20230812/hai_models.ts +9 -4
- package/src/services/index.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +539 -291
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +4781 -3669
- package/src/services/tbaas/v20180416/tbaas_client.ts +154 -105
- package/src/services/tbaas/v20180416/tbaas_models.ts +429 -173
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +235 -83
- package/src/services/tdmq/v20200217/tdmq_models.ts +42 -32
- package/src/services/teo/v20220901/teo_client.ts +3 -3
- package/src/services/teo/v20220901/teo_models.ts +34 -33
- package/src/services/tke/v20180525/tke_client.ts +38 -1
- package/src/services/tke/v20180525/tke_models.ts +206 -10
- package/src/services/trocket/v20230308/trocket_client.ts +141 -115
- package/src/services/trocket/v20230308/trocket_models.ts +149 -8
- package/src/services/tse/v20201207/tse_client.ts +43 -7
- package/src/services/tse/v20201207/tse_models.ts +137 -39
- package/src/services/vod/v20180717/vod_client.ts +4 -1
- package/src/services/vod/v20180717/vod_models.ts +129 -19
- package/src/services/vrs/v20200824/vrs_models.ts +4 -0
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +105 -31
- package/src/services/wedata/v20210820/wedata_client.ts +19 -6
- package/src/services/wedata/v20210820/wedata_models.ts +250 -184
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +59 -23
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +82 -28
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +685 -124
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +11 -3
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +15 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +103 -3
- package/tencentcloud/services/cloudstudio/index.d.ts +0 -4
- package/tencentcloud/services/cloudstudio/index.js +0 -2
- package/tencentcloud/services/config/index.d.ts +6 -0
- package/tencentcloud/services/config/index.js +7 -0
- package/tencentcloud/services/config/v20220802/config_client.d.ts +18 -0
- package/tencentcloud/services/{casb/v20200507/casb_client.js → config/v20220802/config_client.js} +11 -12
- package/tencentcloud/services/config/v20220802/config_models.d.ts +397 -0
- package/tencentcloud/services/config/v20220802/index.d.ts +6 -0
- package/tencentcloud/services/config/v20220802/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -6
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +38 -38
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -7
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +9 -4
- package/tencentcloud/services/index.d.ts +1 -1
- package/tencentcloud/services/index.js +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +97 -17
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +144 -24
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +4674 -3610
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +51 -35
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +75 -51
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +412 -165
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +42 -32
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +3 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +34 -33
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +199 -10
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +55 -47
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +78 -66
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +143 -8
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +15 -3
- package/tencentcloud/services/tse/v20201207/tse_client.js +21 -3
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +131 -39
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -19
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +105 -31
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +247 -184
- package/test/cdb.v20170320.test.js +102 -12
- package/test/cfg.v20210820.test.js +22 -2
- package/test/{casb.v20200507.test.js → config.v20220802.test.js} +14 -4
- package/test/sqlserver.v20180328.test.js +216 -16
- package/test/tbaas.v20180416.test.js +74 -34
- package/test/tke.v20180525.test.js +30 -0
- package/test/trocket.v20230308.test.js +58 -38
- package/test/tse.v20201207.test.js +32 -2
- package/test/wedata.v20210820.test.js +10 -0
- package/src/services/casb/index.ts +0 -5
- package/src/services/casb/v20200507/casb_models.ts +0 -70
- package/src/services/casb/v20200507/index.ts +0 -6
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +0 -312
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -1335
- package/src/services/cloudstudio/v20210524/index.ts +0 -6
- package/tencentcloud/services/casb/index.d.ts +0 -6
- package/tencentcloud/services/casb/index.js +0 -7
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +0 -21
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +0 -51
- package/tencentcloud/services/casb/v20200507/index.d.ts +0 -6
- package/tencentcloud/services/casb/v20200507/index.js +0 -9
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +0 -99
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +0 -164
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -1259
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +0 -18
- package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +0 -6
- package/tencentcloud/services/cloudstudio/v20210524/index.js +0 -9
- package/test/cloudstudio.v20210524.test.js +0 -241
- /package/tencentcloud/services/{casb/v20200507/casb_models.js → config/v20220802/config_models.js} +0 -0
|
@@ -28,9 +28,9 @@ it("tbaas.v20180416.QueryChainMakerTransaction", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tbaas.v20180416.
|
|
31
|
+
it("tbaas.v20180416.ApplyChainMakerBatchUserCert", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.ApplyChainMakerBatchUserCert({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("tbaas.v20180416.ApplyUserCert", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("tbaas.v20180416.
|
|
41
|
+
it("tbaas.v20180416.QueryChainMakerDemoTransaction", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.QueryChainMakerDemoTransaction({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,29 @@ it("tbaas.v20180416.ApplyChainMakerBatchUserCert", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("tbaas.v20180416.
|
|
51
|
+
it("tbaas.v20180416.QueryChainMakerContract", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.QueryChainMakerContract({})
|
|
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
|
+
|
|
61
|
+
it("tbaas.v20180416.QueryChainMakerDemoBlockTransaction", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryChainMakerDemoBlockTransaction({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("tbaas.v20180416.DescribeFabricBlock", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeFabricBlock({})
|
|
54
74
|
expect(data).to.be.ok
|
|
55
75
|
} catch(error) {
|
|
56
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +98,9 @@ it("tbaas.v20180416.GetClusterSummary", async function () {
|
|
|
78
98
|
}
|
|
79
99
|
})
|
|
80
100
|
|
|
81
|
-
it("tbaas.v20180416.
|
|
101
|
+
it("tbaas.v20180416.GetLatestTransactionList", async function () {
|
|
82
102
|
try {
|
|
83
|
-
const data = await client.
|
|
103
|
+
const data = await client.GetLatestTransactionList({})
|
|
84
104
|
expect(data).to.be.ok
|
|
85
105
|
} catch(error) {
|
|
86
106
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +108,9 @@ it("tbaas.v20180416.QueryChainMakerBlockTransaction", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("tbaas.v20180416.
|
|
111
|
+
it("tbaas.v20180416.DownloadUserCert", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.DownloadUserCert({})
|
|
94
114
|
expect(data).to.be.ok
|
|
95
115
|
} catch(error) {
|
|
96
116
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +118,29 @@ it("tbaas.v20180416.QueryChainMakerDemoContract", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("tbaas.v20180416.
|
|
121
|
+
it("tbaas.v20180416.GetLatesdTransactionList", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.GetLatesdTransactionList({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("tbaas.v20180416.ApplyUserCert", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ApplyUserCert({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("tbaas.v20180416.InvokeChainMakerContract", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.InvokeChainMakerContract({})
|
|
104
144
|
expect(data).to.be.ok
|
|
105
145
|
} catch(error) {
|
|
106
146
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +158,9 @@ it("tbaas.v20180416.GetInvokeTx", async function () {
|
|
|
118
158
|
}
|
|
119
159
|
})
|
|
120
160
|
|
|
121
|
-
it("tbaas.v20180416.
|
|
161
|
+
it("tbaas.v20180416.QueryChainMakerBlockTransaction", async function () {
|
|
122
162
|
try {
|
|
123
|
-
const data = await client.
|
|
163
|
+
const data = await client.QueryChainMakerBlockTransaction({})
|
|
124
164
|
expect(data).to.be.ok
|
|
125
165
|
} catch(error) {
|
|
126
166
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +168,9 @@ it("tbaas.v20180416.GetLatestTransactionList", async function () {
|
|
|
128
168
|
}
|
|
129
169
|
})
|
|
130
170
|
|
|
131
|
-
it("tbaas.v20180416.
|
|
171
|
+
it("tbaas.v20180416.QueryChainMakerDemoContract", async function () {
|
|
132
172
|
try {
|
|
133
|
-
const data = await client.
|
|
173
|
+
const data = await client.QueryChainMakerDemoContract({})
|
|
134
174
|
expect(data).to.be.ok
|
|
135
175
|
} catch(error) {
|
|
136
176
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +178,9 @@ it("tbaas.v20180416.InvokeChainMakerDemoContract", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
141
|
-
it("tbaas.v20180416.
|
|
181
|
+
it("tbaas.v20180416.GetTransactionDetailForUser", async function () {
|
|
142
182
|
try {
|
|
143
|
-
const data = await client.
|
|
183
|
+
const data = await client.GetTransactionDetailForUser({})
|
|
144
184
|
expect(data).to.be.ok
|
|
145
185
|
} catch(error) {
|
|
146
186
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +188,9 @@ it("tbaas.v20180416.DownloadUserCert", async function () {
|
|
|
148
188
|
}
|
|
149
189
|
})
|
|
150
190
|
|
|
151
|
-
it("tbaas.v20180416.
|
|
191
|
+
it("tbaas.v20180416.QueryFabricChaincode", async function () {
|
|
152
192
|
try {
|
|
153
|
-
const data = await client.
|
|
193
|
+
const data = await client.QueryFabricChaincode({})
|
|
154
194
|
expect(data).to.be.ok
|
|
155
195
|
} catch(error) {
|
|
156
196
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +198,9 @@ it("tbaas.v20180416.GetBlockTransactionListForUser", async function () {
|
|
|
158
198
|
}
|
|
159
199
|
})
|
|
160
200
|
|
|
161
|
-
it("tbaas.v20180416.
|
|
201
|
+
it("tbaas.v20180416.SrvInvoke", async function () {
|
|
162
202
|
try {
|
|
163
|
-
const data = await client.
|
|
203
|
+
const data = await client.SrvInvoke({})
|
|
164
204
|
expect(data).to.be.ok
|
|
165
205
|
} catch(error) {
|
|
166
206
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +208,9 @@ it("tbaas.v20180416.InvokeChainMakerContract", async function () {
|
|
|
168
208
|
}
|
|
169
209
|
})
|
|
170
210
|
|
|
171
|
-
it("tbaas.v20180416.
|
|
211
|
+
it("tbaas.v20180416.DescribeFabricTransaction", async function () {
|
|
172
212
|
try {
|
|
173
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeFabricTransaction({})
|
|
174
214
|
expect(data).to.be.ok
|
|
175
215
|
} catch(error) {
|
|
176
216
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +218,9 @@ it("tbaas.v20180416.GetBlockList", async function () {
|
|
|
178
218
|
}
|
|
179
219
|
})
|
|
180
220
|
|
|
181
|
-
it("tbaas.v20180416.
|
|
221
|
+
it("tbaas.v20180416.InvokeChainMakerDemoContract", async function () {
|
|
182
222
|
try {
|
|
183
|
-
const data = await client.
|
|
223
|
+
const data = await client.InvokeChainMakerDemoContract({})
|
|
184
224
|
expect(data).to.be.ok
|
|
185
225
|
} catch(error) {
|
|
186
226
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +228,9 @@ it("tbaas.v20180416.Query", async function () {
|
|
|
188
228
|
}
|
|
189
229
|
})
|
|
190
230
|
|
|
191
|
-
it("tbaas.v20180416.
|
|
231
|
+
it("tbaas.v20180416.GetBlockTransactionListForUser", async function () {
|
|
192
232
|
try {
|
|
193
|
-
const data = await client.
|
|
233
|
+
const data = await client.GetBlockTransactionListForUser({})
|
|
194
234
|
expect(data).to.be.ok
|
|
195
235
|
} catch(error) {
|
|
196
236
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +238,9 @@ it("tbaas.v20180416.GetTransactionDetailForUser", async function () {
|
|
|
198
238
|
}
|
|
199
239
|
})
|
|
200
240
|
|
|
201
|
-
it("tbaas.v20180416.
|
|
241
|
+
it("tbaas.v20180416.GetBlockList", async function () {
|
|
202
242
|
try {
|
|
203
|
-
const data = await client.
|
|
243
|
+
const data = await client.GetBlockList({})
|
|
204
244
|
expect(data).to.be.ok
|
|
205
245
|
} catch(error) {
|
|
206
246
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +248,9 @@ it("tbaas.v20180416.QueryChainMakerDemoBlockTransaction", async function () {
|
|
|
208
248
|
}
|
|
209
249
|
})
|
|
210
250
|
|
|
211
|
-
it("tbaas.v20180416.
|
|
251
|
+
it("tbaas.v20180416.InvokeFabricChaincode", async function () {
|
|
212
252
|
try {
|
|
213
|
-
const data = await client.
|
|
253
|
+
const data = await client.InvokeFabricChaincode({})
|
|
214
254
|
expect(data).to.be.ok
|
|
215
255
|
} catch(error) {
|
|
216
256
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +258,9 @@ it("tbaas.v20180416.QueryChainMakerContract", async function () {
|
|
|
218
258
|
}
|
|
219
259
|
})
|
|
220
260
|
|
|
221
|
-
it("tbaas.v20180416.
|
|
261
|
+
it("tbaas.v20180416.Query", async function () {
|
|
222
262
|
try {
|
|
223
|
-
const data = await client.
|
|
263
|
+
const data = await client.Query({})
|
|
224
264
|
expect(data).to.be.ok
|
|
225
265
|
} catch(error) {
|
|
226
266
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,16 @@ it("tke.v20180525.UninstallEdgeLogAgent", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("tke.v20180525.DescribeExternalNodeSupportConfig", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeExternalNodeSupportConfig({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("tke.v20180525.DeleteEdgeClusterInstances", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DeleteEdgeClusterInstances({})
|
|
@@ -208,6 +218,16 @@ it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
221
|
+
it("tke.v20180525.DescribeIPAMD", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeIPAMD({})
|
|
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
|
+
|
|
211
231
|
it("tke.v20180525.CreateClusterRouteTable", async function () {
|
|
212
232
|
try {
|
|
213
233
|
const data = await client.CreateClusterRouteTable({})
|
|
@@ -1018,6 +1038,16 @@ it("tke.v20180525.CreateEKSCluster", async function () {
|
|
|
1018
1038
|
}
|
|
1019
1039
|
})
|
|
1020
1040
|
|
|
1041
|
+
it("tke.v20180525.DescribeClusterExtraArgs", async function () {
|
|
1042
|
+
try {
|
|
1043
|
+
const data = await client.DescribeClusterExtraArgs({})
|
|
1044
|
+
expect(data).to.be.ok
|
|
1045
|
+
} catch(error) {
|
|
1046
|
+
expect(error.requestId).to.be.ok
|
|
1047
|
+
expect(error.code).to.be.ok
|
|
1048
|
+
}
|
|
1049
|
+
})
|
|
1050
|
+
|
|
1021
1051
|
it("tke.v20180525.UpdateClusterKubeconfig", async function () {
|
|
1022
1052
|
try {
|
|
1023
1053
|
const data = await client.UpdateClusterKubeconfig({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.trocket.v20230308.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("trocket.v20230308.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("trocket.v20230308.
|
|
21
|
+
it("trocket.v20230308.ModifyTopic", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.ModifyTopic({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("trocket.v20230308.DescribeTopicStatsOp", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("trocket.v20230308.
|
|
31
|
+
it("trocket.v20230308.CreateRole", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateRole({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("trocket.v20230308.DescribeConsumerGroup", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("trocket.v20230308.
|
|
41
|
+
it("trocket.v20230308.ImportSourceClusterConsumerGroups", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.ImportSourceClusterConsumerGroups({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("trocket.v20230308.CreateTopic", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("trocket.v20230308.
|
|
51
|
+
it("trocket.v20230308.DeleteInstance", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteInstance({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("trocket.v20230308.ModifyTopic", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("trocket.v20230308.
|
|
61
|
+
it("trocket.v20230308.CreateConsumerGroup", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateConsumerGroup({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("trocket.v20230308.
|
|
71
|
+
it("trocket.v20230308.DescribeRoleList", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeRoleList({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("trocket.v20230308.DescribeTopicList", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("trocket.v20230308.
|
|
81
|
+
it("trocket.v20230308.DescribeTopicStatsOp", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeTopicStatsOp({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("trocket.v20230308.ModifyConsumerGroup", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("trocket.v20230308.
|
|
91
|
+
it("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.DeleteConsumerGroup({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("trocket.v20230308.CreateInstance", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("trocket.v20230308.
|
|
101
|
+
it("trocket.v20230308.ModifyConsumerGroup", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.ModifyConsumerGroup({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("trocket.v20230308.DescribeInstanceList", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("trocket.v20230308.
|
|
111
|
+
it("trocket.v20230308.DeleteRole", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DeleteRole({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("trocket.v20230308.CreateRole", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("trocket.v20230308.
|
|
121
|
+
it("trocket.v20230308.DescribeConsumerGroup", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeConsumerGroup({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,19 @@ it("trocket.v20230308.DeleteRole", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("trocket.v20230308.
|
|
131
|
+
it("trocket.v20230308.CreateTopic", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.CreateTopic({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("trocket.v20230308.CreateInstance", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateInstance({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("trocket.v20230308.DescribeInstance", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("trocket.v20230308.
|
|
161
|
+
it("trocket.v20230308.DeleteTopic", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DeleteTopic({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("trocket.v20230308.DeleteInstance", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("trocket.v20230308.
|
|
171
|
+
it("trocket.v20230308.ImportSourceClusterTopics", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.ImportSourceClusterTopics({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +178,9 @@ it("trocket.v20230308.DescribeTopic", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("trocket.v20230308.
|
|
181
|
+
it("trocket.v20230308.DescribeInstanceList", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeInstanceList({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +188,9 @@ it("trocket.v20230308.DeleteTopic", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("trocket.v20230308.
|
|
191
|
+
it("trocket.v20230308.DescribeConsumerGroupList", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeConsumerGroupList({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +198,9 @@ it("trocket.v20230308.CreateConsumerGroup", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("trocket.v20230308.
|
|
201
|
+
it("trocket.v20230308.ModifyRole", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyRole({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("trocket.v20230308.DescribeRoleList", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("trocket.v20230308.
|
|
211
|
+
it("trocket.v20230308.DescribeTopic", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeTopic({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +218,19 @@ it("trocket.v20230308.ModifyInstance", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("trocket.v20230308.
|
|
221
|
+
it("trocket.v20230308.DescribeTopicList", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeTopicList({})
|
|
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("trocket.v20230308.ModifyInstance", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyInstance({})
|
|
214
234
|
expect(data).to.be.ok
|
|
215
235
|
} catch(error) {
|
|
216
236
|
expect(error.requestId).to.be.ok
|
|
@@ -38,6 +38,16 @@ it("tse.v20201207.DescribeUpstreamHealthCheckConfig", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tse.v20201207.DescribeZookeeperReplicas", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeZookeeperReplicas({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("tse.v20201207.ModifyNativeGatewayServerGroup", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.ModifyNativeGatewayServerGroup({})
|
|
@@ -68,6 +78,16 @@ it("tse.v20201207.DeleteCloudNativeAPIGatewayServiceRateLimit", async function (
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("tse.v20201207.CreateWafDomains", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateWafDomains({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
71
91
|
it("tse.v20201207.DescribeZookeeperServerInterfaces", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.DescribeZookeeperServerInterfaces({})
|
|
@@ -278,9 +298,9 @@ it("tse.v20201207.ModifyCloudNativeAPIGatewayRoute", async function () {
|
|
|
278
298
|
}
|
|
279
299
|
})
|
|
280
300
|
|
|
281
|
-
it("tse.v20201207.
|
|
301
|
+
it("tse.v20201207.CloseWafProtection", async function () {
|
|
282
302
|
try {
|
|
283
|
-
const data = await client.
|
|
303
|
+
const data = await client.CloseWafProtection({})
|
|
284
304
|
expect(data).to.be.ok
|
|
285
305
|
} catch(error) {
|
|
286
306
|
expect(error.requestId).to.be.ok
|
|
@@ -378,6 +398,16 @@ it("tse.v20201207.UpdateEngineInternetAccess", async function () {
|
|
|
378
398
|
}
|
|
379
399
|
})
|
|
380
400
|
|
|
401
|
+
it("tse.v20201207.OpenWafProtection", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.OpenWafProtection({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
381
411
|
it("tse.v20201207.ModifyCloudNativeAPIGateway", async function () {
|
|
382
412
|
try {
|
|
383
413
|
const data = await client.ModifyCloudNativeAPIGateway({})
|
|
@@ -778,6 +778,16 @@ it("wedata.v20210820.ModifyBaselineTaskAlarmStatus", async function () {
|
|
|
778
778
|
}
|
|
779
779
|
})
|
|
780
780
|
|
|
781
|
+
it("wedata.v20210820.DescribeApproveTypeList", async function () {
|
|
782
|
+
try {
|
|
783
|
+
const data = await client.DescribeApproveTypeList({})
|
|
784
|
+
expect(data).to.be.ok
|
|
785
|
+
} catch(error) {
|
|
786
|
+
expect(error.requestId).to.be.ok
|
|
787
|
+
expect(error.code).to.be.ok
|
|
788
|
+
}
|
|
789
|
+
})
|
|
790
|
+
|
|
781
791
|
it("wedata.v20210820.CommitRuleGroupExecResult", async function () {
|
|
782
792
|
try {
|
|
783
793
|
const data = await client.CommitRuleGroupExecResult({})
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* CopyCryptoColumnPolicy请求参数结构体
|
|
20
|
-
*/
|
|
21
|
-
export interface CopyCryptoColumnPolicyRequest {
|
|
22
|
-
/**
|
|
23
|
-
* 实例Id
|
|
24
|
-
*/
|
|
25
|
-
CasbId: string
|
|
26
|
-
/**
|
|
27
|
-
* 元数据id
|
|
28
|
-
*/
|
|
29
|
-
MetaDataId: string
|
|
30
|
-
/**
|
|
31
|
-
* 目标实例Id 如果和实例Id相同则为同CasbId下的策略复制
|
|
32
|
-
*/
|
|
33
|
-
DstCasbId: string
|
|
34
|
-
/**
|
|
35
|
-
* 目标实例Id 如果和[元数据id]相同则为同元数据下的策略复制
|
|
36
|
-
*/
|
|
37
|
-
DstMetaDataId: string
|
|
38
|
-
/**
|
|
39
|
-
* 筛选来源数据库的表
|
|
40
|
-
*/
|
|
41
|
-
SrcTableFilter?: Array<CryptoCopyColumnPolicyTableFilter>
|
|
42
|
-
/**
|
|
43
|
-
* 复制同元数据下的策略,需要填写目标数据库名
|
|
44
|
-
*/
|
|
45
|
-
DstDatabaseName?: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 策略迁移表信息筛选
|
|
50
|
-
*/
|
|
51
|
-
export interface CryptoCopyColumnPolicyTableFilter {
|
|
52
|
-
/**
|
|
53
|
-
* 数据库名称
|
|
54
|
-
*/
|
|
55
|
-
DatabaseName: string
|
|
56
|
-
/**
|
|
57
|
-
* 表名称
|
|
58
|
-
*/
|
|
59
|
-
TableNameSet?: Array<string>
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* CopyCryptoColumnPolicy返回参数结构体
|
|
64
|
-
*/
|
|
65
|
-
export interface CopyCryptoColumnPolicyResponse {
|
|
66
|
-
/**
|
|
67
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
68
|
-
*/
|
|
69
|
-
RequestId?: string
|
|
70
|
-
}
|