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
@@ -1,18 +0,0 @@
1
- "use strict";
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
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import * as Models from "./cloudstudio_models";
2
- import { Client } from "./cloudstudio_client";
3
- export declare const v20210524: {
4
- Client: typeof Client;
5
- Models: typeof Models;
6
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.v20210524 = void 0;
4
- const Models = require("./cloudstudio_models");
5
- const cloudstudio_client_1 = require("./cloudstudio_client");
6
- exports.v20210524 = {
7
- Client: cloudstudio_client_1.Client,
8
- Models: Models
9
- };
@@ -1,31 +0,0 @@
1
-
2
- const expect = require("chai").expect
3
- const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
- const client = new tencentcloud.casb.v20200507.Client({
5
- credential: {
6
- secretId: process.env.secretId,
7
- secretKey: process.env.secretKey,
8
- },
9
- region: "ap-shanghai",
10
- profile: {
11
- signMethod: "TC3-HMAC-SHA256",
12
- httpProfile: {
13
- reqMethod: "POST",
14
- reqTimeout: 30,
15
- endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
- },
17
- },
18
- })
19
- describe("casb.v20200507.test.js", function () {
20
-
21
- it("casb.v20200507.CopyCryptoColumnPolicy", async function () {
22
- try {
23
- const data = await client.CopyCryptoColumnPolicy({})
24
- expect(data).to.be.ok
25
- } catch(error) {
26
- expect(error.requestId).to.be.ok
27
- expect(error.code).to.be.ok
28
- }
29
- })
30
-
31
- })
@@ -1,241 +0,0 @@
1
-
2
- const expect = require("chai").expect
3
- const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
- const client = new tencentcloud.cloudstudio.v20210524.Client({
5
- credential: {
6
- secretId: process.env.secretId,
7
- secretKey: process.env.secretKey,
8
- },
9
- region: "ap-shanghai",
10
- profile: {
11
- signMethod: "TC3-HMAC-SHA256",
12
- httpProfile: {
13
- reqMethod: "POST",
14
- reqTimeout: 30,
15
- endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
- },
17
- },
18
- })
19
- describe("cloudstudio.v20210524.test.js", function () {
20
-
21
- it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
22
- try {
23
- const data = await client.DescribeCustomizeTemplatesById({})
24
- expect(data).to.be.ok
25
- } catch(error) {
26
- expect(error.requestId).to.be.ok
27
- expect(error.code).to.be.ok
28
- }
29
- })
30
-
31
- it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
32
- try {
33
- const data = await client.CreateWorkspaceTemporaryToken({})
34
- expect(data).to.be.ok
35
- } catch(error) {
36
- expect(error.requestId).to.be.ok
37
- expect(error.code).to.be.ok
38
- }
39
- })
40
-
41
- it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
42
- try {
43
- const data = await client.ModifyCustomizeTemplatesPartById({})
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
-
51
- it("cloudstudio.v20210524.DescribeWorkspaceIsReady", async function () {
52
- try {
53
- const data = await client.DescribeWorkspaceIsReady({})
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("cloudstudio.v20210524.RunWorkspace", async function () {
62
- try {
63
- const data = await client.RunWorkspace({})
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("cloudstudio.v20210524.DescribeCustomizeTemplates", async function () {
72
- try {
73
- const data = await client.DescribeCustomizeTemplates({})
74
- expect(data).to.be.ok
75
- } catch(error) {
76
- expect(error.requestId).to.be.ok
77
- expect(error.code).to.be.ok
78
- }
79
- })
80
-
81
- it("cloudstudio.v20210524.RecoverWorkspace", async function () {
82
- try {
83
- const data = await client.RecoverWorkspace({})
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
-
91
- it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
92
- try {
93
- const data = await client.CreateWorkspaceByVersionControl({})
94
- expect(data).to.be.ok
95
- } catch(error) {
96
- expect(error.requestId).to.be.ok
97
- expect(error.code).to.be.ok
98
- }
99
- })
100
-
101
- it("cloudstudio.v20210524.ModifyCustomizeTemplateVersionControl", async function () {
102
- try {
103
- const data = await client.ModifyCustomizeTemplateVersionControl({})
104
- expect(data).to.be.ok
105
- } catch(error) {
106
- expect(error.requestId).to.be.ok
107
- expect(error.code).to.be.ok
108
- }
109
- })
110
-
111
- it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
112
- try {
113
- const data = await client.CreateWorkspaceByAgent({})
114
- expect(data).to.be.ok
115
- } catch(error) {
116
- expect(error.requestId).to.be.ok
117
- expect(error.code).to.be.ok
118
- }
119
- })
120
-
121
- it("cloudstudio.v20210524.RemoveWorkspace", async function () {
122
- try {
123
- const data = await client.RemoveWorkspace({})
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("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
132
- try {
133
- const data = await client.DescribeWorkspaceEnvList({})
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("cloudstudio.v20210524.DeleteCustomizeTemplatesById", async function () {
142
- try {
143
- const data = await client.DeleteCustomizeTemplatesById({})
144
- expect(data).to.be.ok
145
- } catch(error) {
146
- expect(error.requestId).to.be.ok
147
- expect(error.code).to.be.ok
148
- }
149
- })
150
-
151
- it("cloudstudio.v20210524.StopWorkspace", async function () {
152
- try {
153
- const data = await client.StopWorkspace({})
154
- expect(data).to.be.ok
155
- } catch(error) {
156
- expect(error.requestId).to.be.ok
157
- expect(error.code).to.be.ok
158
- }
159
- })
160
-
161
- it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
162
- try {
163
- const data = await client.DescribeWorkspaceStatus({})
164
- expect(data).to.be.ok
165
- } catch(error) {
166
- expect(error.requestId).to.be.ok
167
- expect(error.code).to.be.ok
168
- }
169
- })
170
-
171
- it("cloudstudio.v20210524.DescribeCustomizeTemplatesPresets", async function () {
172
- try {
173
- const data = await client.DescribeCustomizeTemplatesPresets({})
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("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
182
- try {
183
- const data = await client.CreateCustomizeTemplates({})
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("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
192
- try {
193
- const data = await client.ModifyCustomizeTemplatesFullById({})
194
- expect(data).to.be.ok
195
- } catch(error) {
196
- expect(error.requestId).to.be.ok
197
- expect(error.code).to.be.ok
198
- }
199
- })
200
-
201
- it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
202
- try {
203
- const data = await client.CreateWorkspaceByTemplate({})
204
- expect(data).to.be.ok
205
- } catch(error) {
206
- expect(error.requestId).to.be.ok
207
- expect(error.code).to.be.ok
208
- }
209
- })
210
-
211
- it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
212
- try {
213
- const data = await client.DescribeWorkspaceStatusList({})
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("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
222
- try {
223
- const data = await client.DescribeWorkspaceNameExist({})
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("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
232
- try {
233
- const data = await client.ModifyWorkspaceAttributes({})
234
- expect(data).to.be.ok
235
- } catch(error) {
236
- expect(error.requestId).to.be.ok
237
- expect(error.code).to.be.ok
238
- }
239
- })
240
-
241
- })