tencentcloud-sdk-nodejs 4.0.738 → 4.0.739

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.
Files changed (100) hide show
  1. package/CHANGELOG.md +411 -0
  2. package/SERVICE_CHANGELOG.md +748 -217
  3. package/package.json +1 -1
  4. package/products.md +23 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/billing/v20180709/billing_models.ts +10 -6
  7. package/src/services/cdb/v20170320/cdb_models.ts +5 -1
  8. package/src/services/cloudstudio/index.ts +0 -2
  9. package/src/services/cvm/v20170312/cvm_client.ts +4 -4
  10. package/src/services/cvm/v20170312/cvm_models.ts +17 -17
  11. package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -6
  12. package/src/services/dsgc/v20190723/dsgc_models.ts +38 -38
  13. package/src/services/ess/v20201111/ess_models.ts +8 -7
  14. package/src/services/essbasic/v20210526/essbasic_models.ts +7 -7
  15. package/src/services/hai/v20230812/hai_models.ts +4 -4
  16. package/src/services/index.ts +0 -1
  17. package/src/services/sqlserver/v20180328/sqlserver_client.ts +539 -291
  18. package/src/services/sqlserver/v20180328/sqlserver_models.ts +4781 -3669
  19. package/src/services/tbaas/v20180416/tbaas_client.ts +154 -105
  20. package/src/services/tbaas/v20180416/tbaas_models.ts +429 -173
  21. package/src/services/tcss/v20201101/tcss_client.ts +2 -1
  22. package/src/services/tcss/v20201101/tcss_models.ts +235 -83
  23. package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
  24. package/src/services/tke/v20180525/tke_client.ts +38 -1
  25. package/src/services/tke/v20180525/tke_models.ts +201 -10
  26. package/src/services/trocket/v20230308/trocket_client.ts +141 -115
  27. package/src/services/trocket/v20230308/trocket_models.ts +149 -8
  28. package/src/services/tse/v20201207/tse_models.ts +41 -31
  29. package/src/services/vrs/v20200824/vrs_models.ts +4 -0
  30. package/src/services/waf/v20180125/waf_client.ts +1 -1
  31. package/src/services/waf/v20180125/waf_models.ts +103 -29
  32. package/src/services/wedata/v20210820/wedata_client.ts +19 -6
  33. package/src/services/wedata/v20210820/wedata_models.ts +250 -184
  34. package/tencentcloud/common/sdk_version.d.ts +1 -1
  35. package/tencentcloud/common/sdk_version.js +1 -1
  36. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -6
  37. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -1
  38. package/tencentcloud/services/cloudstudio/index.d.ts +0 -4
  39. package/tencentcloud/services/cloudstudio/index.js +0 -2
  40. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +4 -4
  41. package/tencentcloud/services/cvm/v20170312/cvm_client.js +4 -4
  42. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -17
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -6
  44. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +38 -38
  45. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -7
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -7
  47. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +4 -4
  48. package/tencentcloud/services/index.d.ts +0 -1
  49. package/tencentcloud/services/index.js +0 -2
  50. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +97 -17
  51. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +144 -24
  52. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +4674 -3610
  53. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +51 -35
  54. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +75 -51
  55. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +412 -165
  56. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
  57. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
  58. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
  59. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
  60. package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
  61. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +194 -10
  62. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +55 -47
  63. package/tencentcloud/services/trocket/v20230308/trocket_client.js +78 -66
  64. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +143 -8
  65. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +41 -31
  66. package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +4 -0
  67. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
  68. package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
  69. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +103 -29
  70. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
  71. package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
  72. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +247 -184
  73. package/test/sqlserver.v20180328.test.js +216 -16
  74. package/test/tbaas.v20180416.test.js +74 -34
  75. package/test/tke.v20180525.test.js +30 -0
  76. package/test/trocket.v20230308.test.js +58 -38
  77. package/test/wedata.v20210820.test.js +10 -0
  78. package/src/services/casb/index.ts +0 -5
  79. package/src/services/casb/v20200507/casb_client.ts +0 -51
  80. package/src/services/casb/v20200507/casb_models.ts +0 -70
  81. package/src/services/casb/v20200507/index.ts +0 -6
  82. package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +0 -312
  83. package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -1335
  84. package/src/services/cloudstudio/v20210524/index.ts +0 -6
  85. package/tencentcloud/services/casb/index.d.ts +0 -6
  86. package/tencentcloud/services/casb/index.js +0 -7
  87. package/tencentcloud/services/casb/v20200507/casb_client.d.ts +0 -21
  88. package/tencentcloud/services/casb/v20200507/casb_client.js +0 -44
  89. package/tencentcloud/services/casb/v20200507/casb_models.d.ts +0 -51
  90. package/tencentcloud/services/casb/v20200507/casb_models.js +0 -18
  91. package/tencentcloud/services/casb/v20200507/index.d.ts +0 -6
  92. package/tencentcloud/services/casb/v20200507/index.js +0 -9
  93. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +0 -99
  94. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +0 -164
  95. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -1259
  96. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +0 -18
  97. package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +0 -6
  98. package/tencentcloud/services/cloudstudio/v20210524/index.js +0 -9
  99. package/test/casb.v20200507.test.js +0 -31
  100. package/test/cloudstudio.v20210524.test.js +0 -241
@@ -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.DescribeTopicStatsOp", async function () {
21
+ it("trocket.v20230308.ModifyTopic", async function () {
22
22
  try {
23
- const data = await client.DescribeTopicStatsOp({})
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.DescribeConsumerGroup", async function () {
31
+ it("trocket.v20230308.CreateRole", async function () {
32
32
  try {
33
- const data = await client.DescribeConsumerGroup({})
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.CreateTopic", async function () {
41
+ it("trocket.v20230308.ImportSourceClusterConsumerGroups", async function () {
42
42
  try {
43
- const data = await client.CreateTopic({})
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.ModifyTopic", async function () {
51
+ it("trocket.v20230308.DeleteInstance", async function () {
52
52
  try {
53
- const data = await client.ModifyTopic({})
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.DeleteConsumerGroup", async function () {
61
+ it("trocket.v20230308.CreateConsumerGroup", async function () {
62
62
  try {
63
- const data = await client.DeleteConsumerGroup({})
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.DescribeTopicList", async function () {
71
+ it("trocket.v20230308.DescribeRoleList", async function () {
72
72
  try {
73
- const data = await client.DescribeTopicList({})
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.ModifyConsumerGroup", async function () {
81
+ it("trocket.v20230308.DescribeTopicStatsOp", async function () {
82
82
  try {
83
- const data = await client.ModifyConsumerGroup({})
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.CreateInstance", async function () {
91
+ it("trocket.v20230308.DeleteConsumerGroup", async function () {
92
92
  try {
93
- const data = await client.CreateInstance({})
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.DescribeInstanceList", async function () {
101
+ it("trocket.v20230308.ModifyConsumerGroup", async function () {
102
102
  try {
103
- const data = await client.DescribeInstanceList({})
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.CreateRole", async function () {
111
+ it("trocket.v20230308.DeleteRole", async function () {
112
112
  try {
113
- const data = await client.CreateRole({})
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.DeleteRole", async function () {
121
+ it("trocket.v20230308.DescribeConsumerGroup", async function () {
122
122
  try {
123
- const data = await client.DeleteRole({})
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.ModifyRole", async function () {
131
+ it("trocket.v20230308.CreateTopic", async function () {
132
132
  try {
133
- const data = await client.ModifyRole({})
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.DeleteInstance", async function () {
161
+ it("trocket.v20230308.DeleteTopic", async function () {
152
162
  try {
153
- const data = await client.DeleteInstance({})
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.DescribeTopic", async function () {
171
+ it("trocket.v20230308.ImportSourceClusterTopics", async function () {
162
172
  try {
163
- const data = await client.DescribeTopic({})
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.DeleteTopic", async function () {
181
+ it("trocket.v20230308.DescribeInstanceList", async function () {
172
182
  try {
173
- const data = await client.DeleteTopic({})
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.CreateConsumerGroup", async function () {
191
+ it("trocket.v20230308.DescribeConsumerGroupList", async function () {
182
192
  try {
183
- const data = await client.CreateConsumerGroup({})
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.DescribeRoleList", async function () {
201
+ it("trocket.v20230308.ModifyRole", async function () {
192
202
  try {
193
- const data = await client.DescribeRoleList({})
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.ModifyInstance", async function () {
211
+ it("trocket.v20230308.DescribeTopic", async function () {
202
212
  try {
203
- const data = await client.ModifyInstance({})
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.DescribeConsumerGroupList", async function () {
221
+ it("trocket.v20230308.DescribeTopicList", async function () {
212
222
  try {
213
- const data = await client.DescribeConsumerGroupList({})
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
@@ -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,5 +0,0 @@
1
- import { v20200507 } from "./v20200507"
2
-
3
- export const casb = {
4
- v20200507: v20200507,
5
- }
@@ -1,51 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- /*
3
- * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { AbstractClient } from "../../../common/abstract_client"
19
- import { ClientConfig } from "../../../common/interface"
20
- import {
21
- CopyCryptoColumnPolicyRequest,
22
- CryptoCopyColumnPolicyTableFilter,
23
- CopyCryptoColumnPolicyResponse,
24
- } from "./casb_models"
25
-
26
- /**
27
- * casb client
28
- * @class
29
- */
30
- export class Client extends AbstractClient {
31
- constructor(clientConfig: ClientConfig) {
32
- super("casb.tencentcloudapi.com", "2020-05-07", clientConfig)
33
- }
34
-
35
- /**
36
- * 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
37
- 场景1:
38
- 相同CasbId,不同MetadataId 下策略复制
39
- 场景2:
40
- 不同Casbid,不同MetaDataId 下策略复制
41
- 场景3:
42
- 相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
43
-
44
- */
45
- async CopyCryptoColumnPolicy(
46
- req: CopyCryptoColumnPolicyRequest,
47
- cb?: (error: string, rep: CopyCryptoColumnPolicyResponse) => void
48
- ): Promise<CopyCryptoColumnPolicyResponse> {
49
- return this.request("CopyCryptoColumnPolicy", req, cb)
50
- }
51
- }
@@ -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
- }
@@ -1,6 +0,0 @@
1
- import * as Models from "./casb_models"
2
- import { Client } from "./casb_client"
3
- export const v20200507 = {
4
- Client: Client,
5
- Models: Models,
6
- }