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
|
@@ -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,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,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
|
-
})
|
/package/tencentcloud/services/{casb/v20200507/casb_models.js → config/v20220802/config_models.js}
RENAMED
|
File without changes
|