tencentcloud-sdk-nodejs 4.0.296 → 4.0.299
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 +434 -0
- package/SERVICE_CHANGELOG.md +477 -40
- package/package.json +1 -1
- package/products.md +25 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +10 -2
- package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
- package/src/services/antiddos/v20200309/antiddos_models.ts +361 -31
- package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
- package/src/services/apigateway/v20180808/apigateway_models.ts +617 -45
- package/src/services/as/v20180419/as_models.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +12 -0
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +31 -1
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/clb/v20180317/clb_client.ts +0 -3
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +43 -7
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +109 -64
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +38 -27
- package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
- package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
- package/src/services/ess/index.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +148 -0
- package/src/services/ess/v20201111/ess_models.ts +857 -0
- package/src/services/ess/v20201111/index.ts +6 -0
- package/src/services/gme/v20180711/gme_client.ts +36 -0
- package/src/services/gme/v20180711/gme_models.ts +126 -0
- package/src/services/index.ts +2 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
- package/src/services/mariadb/v20170312/mariadb_models.ts +233 -173
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +26 -0
- package/src/services/tdcpg/index.ts +5 -0
- package/src/services/tdcpg/v20211118/index.ts +6 -0
- package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
- package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
- package/src/services/tdid/v20210519/tdid_client.ts +64 -14
- package/src/services/tdid/v20210519/tdid_models.ts +205 -17
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_client.ts +128 -15
- package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
- package/src/services/vpc/v20170312/vpc_models.ts +3 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +9 -2
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +307 -29
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +520 -41
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +26 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +0 -3
- package/tencentcloud/services/clb/v20180317/clb_client.js +0 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +15 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +21 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +91 -52
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -24
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
- package/tencentcloud/services/ess/index.d.ts +6 -0
- package/tencentcloud/services/ess/index.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +46 -0
- package/tencentcloud/services/ess/v20201111/ess_client.js +85 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +707 -0
- package/tencentcloud/services/ess/v20201111/ess_models.js +18 -0
- package/tencentcloud/services/ess/v20201111/index.d.ts +6 -0
- package/tencentcloud/services/ess/v20201111/index.js +9 -0
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +198 -146
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
- package/tencentcloud/services/tdcpg/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/index.js +7 -0
- package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -0
- package/test/antiddos.v20200309.test.js +76 -16
- package/test/apigateway.v20180808.test.js +50 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/cloudaudit.v20190319.test.js +32 -2
- package/test/dcdb.v20180411.test.js +24 -4
- package/test/ess.v20201111.test.js +111 -0
- package/test/gme.v20180711.test.js +30 -0
- package/test/mariadb.v20170312.test.js +20 -0
- package/test/tdcpg.v20211118.test.js +271 -0
- package/test/tdid.v20210519.test.js +44 -4
- package/test/tsf.v20180326.test.js +84 -4
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tdcpg.v20211118.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("tdcpg.v20211118.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tdcpg.v20211118.ModifyClusterInstancesSpec", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyClusterInstancesSpec({})
|
|
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("tdcpg.v20211118.CreateCluster", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateCluster({})
|
|
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("tdcpg.v20211118.ModifyAccountDescription", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyAccountDescription({})
|
|
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("tdcpg.v20211118.ModifyClusterName", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ModifyClusterName({})
|
|
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("tdcpg.v20211118.TransformClusterPayMode", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.TransformClusterPayMode({})
|
|
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("tdcpg.v20211118.ModifyClustersAutoRenewFlag", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyClustersAutoRenewFlag({})
|
|
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("tdcpg.v20211118.ResetAccountPassword", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.ResetAccountPassword({})
|
|
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("tdcpg.v20211118.CreateClusterInstances", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CreateClusterInstances({})
|
|
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("tdcpg.v20211118.DeleteCluster", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteCluster({})
|
|
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("tdcpg.v20211118.DescribeClusterInstances", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeClusterInstances({})
|
|
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("tdcpg.v20211118.DescribeClusterRecoveryTimeRange", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeClusterRecoveryTimeRange({})
|
|
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("tdcpg.v20211118.IsolateCluster", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.IsolateCluster({})
|
|
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("tdcpg.v20211118.DescribeClusters", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeClusters({})
|
|
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("tdcpg.v20211118.RestartClusterInstances", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.RestartClusterInstances({})
|
|
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("tdcpg.v20211118.RecoverClusterInstances", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.RecoverClusterInstances({})
|
|
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("tdcpg.v20211118.ModifyClusterEndpointWanStatus", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyClusterEndpointWanStatus({})
|
|
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("tdcpg.v20211118.RecoverCluster", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.RecoverCluster({})
|
|
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("tdcpg.v20211118.CloneClusterToPointInTime", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.CloneClusterToPointInTime({})
|
|
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("tdcpg.v20211118.DescribeAccounts", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeAccounts({})
|
|
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("tdcpg.v20211118.DescribeResourcesByDealName", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeResourcesByDealName({})
|
|
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("tdcpg.v20211118.DeleteClusterInstances", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DeleteClusterInstances({})
|
|
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("tdcpg.v20211118.DescribeClusterEndpoints", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeClusterEndpoints({})
|
|
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
|
+
it("tdcpg.v20211118.DescribeClusterBackups", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeClusterBackups({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("tdcpg.v20211118.RenewCluster", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RenewCluster({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("tdcpg.v20211118.IsolateClusterInstances", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.IsolateClusterInstances({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
})
|
|
@@ -18,6 +18,46 @@ const client = new tencentcloud.tdid.v20210519.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tdid.v20210519.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tdid.v20210519.GetDidDocument", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.GetDidDocument({})
|
|
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("tdid.v20210519.CreateSelectiveCredential", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateSelectiveCredential({})
|
|
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("tdid.v20210519.CreateCredential", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateCredential({})
|
|
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("tdid.v20210519.CreateTDidByPublicKey", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateTDidByPublicKey({})
|
|
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
|
+
|
|
21
61
|
it("tdid.v20210519.VerifyCredential", async function () {
|
|
22
62
|
try {
|
|
23
63
|
const data = await client.VerifyCredential({})
|
|
@@ -38,9 +78,9 @@ it("tdid.v20210519.CreateTDid", async function () {
|
|
|
38
78
|
}
|
|
39
79
|
})
|
|
40
80
|
|
|
41
|
-
it("tdid.v20210519.
|
|
81
|
+
it("tdid.v20210519.GetAuthorityIssuer", async function () {
|
|
42
82
|
try {
|
|
43
|
-
const data = await client.
|
|
83
|
+
const data = await client.GetAuthorityIssuer({})
|
|
44
84
|
expect(data).to.be.ok
|
|
45
85
|
} catch(error) {
|
|
46
86
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +88,9 @@ it("tdid.v20210519.CreateSelectiveCredential", async function () {
|
|
|
48
88
|
}
|
|
49
89
|
})
|
|
50
90
|
|
|
51
|
-
it("tdid.v20210519.
|
|
91
|
+
it("tdid.v20210519.SetCredentialStatus", async function () {
|
|
52
92
|
try {
|
|
53
|
-
const data = await client.
|
|
93
|
+
const data = await client.SetCredentialStatus({})
|
|
54
94
|
expect(data).to.be.ok
|
|
55
95
|
} catch(error) {
|
|
56
96
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("tsf.v20180326.EnableTaskFlow", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("tsf.v20180326.DisableUnitRule", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DisableUnitRule({})
|
|
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
|
+
|
|
91
101
|
it("tsf.v20180326.DescribePodInstances", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.DescribePodInstances({})
|
|
@@ -228,6 +238,16 @@ it("tsf.v20180326.CreateCluster", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
241
|
+
it("tsf.v20180326.DescribeOverviewInvocation", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeOverviewInvocation({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
231
251
|
it("tsf.v20180326.StopTaskExecute", async function () {
|
|
232
252
|
try {
|
|
233
253
|
const data = await client.StopTaskExecute({})
|
|
@@ -638,6 +658,16 @@ it("tsf.v20180326.DescribeCreateGatewayApiStatus", async function () {
|
|
|
638
658
|
}
|
|
639
659
|
})
|
|
640
660
|
|
|
661
|
+
it("tsf.v20180326.DescribeInvocationMetricDataPoint", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DescribeInvocationMetricDataPoint({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
641
671
|
it("tsf.v20180326.ModifyTask", async function () {
|
|
642
672
|
try {
|
|
643
673
|
const data = await client.ModifyTask({})
|
|
@@ -828,6 +858,16 @@ it("tsf.v20180326.BindApiGroup", async function () {
|
|
|
828
858
|
}
|
|
829
859
|
})
|
|
830
860
|
|
|
861
|
+
it("tsf.v20180326.DescribeInovcationIndicators", async function () {
|
|
862
|
+
try {
|
|
863
|
+
const data = await client.DescribeInovcationIndicators({})
|
|
864
|
+
expect(data).to.be.ok
|
|
865
|
+
} catch(error) {
|
|
866
|
+
expect(error.requestId).to.be.ok
|
|
867
|
+
expect(error.code).to.be.ok
|
|
868
|
+
}
|
|
869
|
+
})
|
|
870
|
+
|
|
831
871
|
it("tsf.v20180326.DescribeSimpleGroups", async function () {
|
|
832
872
|
try {
|
|
833
873
|
const data = await client.DescribeSimpleGroups({})
|
|
@@ -838,6 +878,26 @@ it("tsf.v20180326.DescribeSimpleGroups", async function () {
|
|
|
838
878
|
}
|
|
839
879
|
})
|
|
840
880
|
|
|
881
|
+
it("tsf.v20180326.DescribeStatistics", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.DescribeStatistics({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
891
|
+
it("tsf.v20180326.EnableTask", async function () {
|
|
892
|
+
try {
|
|
893
|
+
const data = await client.EnableTask({})
|
|
894
|
+
expect(data).to.be.ok
|
|
895
|
+
} catch(error) {
|
|
896
|
+
expect(error.requestId).to.be.ok
|
|
897
|
+
expect(error.code).to.be.ok
|
|
898
|
+
}
|
|
899
|
+
})
|
|
900
|
+
|
|
841
901
|
it("tsf.v20180326.ReleaseFileConfig", async function () {
|
|
842
902
|
try {
|
|
843
903
|
const data = await client.ReleaseFileConfig({})
|
|
@@ -898,9 +958,9 @@ it("tsf.v20180326.DescribeConfigSummary", async function () {
|
|
|
898
958
|
}
|
|
899
959
|
})
|
|
900
960
|
|
|
901
|
-
it("tsf.v20180326.
|
|
961
|
+
it("tsf.v20180326.DescribeInvocationMetricScatterPlot", async function () {
|
|
902
962
|
try {
|
|
903
|
-
const data = await client.
|
|
963
|
+
const data = await client.DescribeInvocationMetricScatterPlot({})
|
|
904
964
|
expect(data).to.be.ok
|
|
905
965
|
} catch(error) {
|
|
906
966
|
expect(error.requestId).to.be.ok
|
|
@@ -1068,9 +1128,9 @@ it("tsf.v20180326.DescribePathRewrite", async function () {
|
|
|
1068
1128
|
}
|
|
1069
1129
|
})
|
|
1070
1130
|
|
|
1071
|
-
it("tsf.v20180326.
|
|
1131
|
+
it("tsf.v20180326.DescribeInvocationMetricDataCurve", async function () {
|
|
1072
1132
|
try {
|
|
1073
|
-
const data = await client.
|
|
1133
|
+
const data = await client.DescribeInvocationMetricDataCurve({})
|
|
1074
1134
|
expect(data).to.be.ok
|
|
1075
1135
|
} catch(error) {
|
|
1076
1136
|
expect(error.requestId).to.be.ok
|
|
@@ -1358,6 +1418,16 @@ it("tsf.v20180326.RedoTaskExecute", async function () {
|
|
|
1358
1418
|
}
|
|
1359
1419
|
})
|
|
1360
1420
|
|
|
1421
|
+
it("tsf.v20180326.DescribeJvmMonitor", async function () {
|
|
1422
|
+
try {
|
|
1423
|
+
const data = await client.DescribeJvmMonitor({})
|
|
1424
|
+
expect(data).to.be.ok
|
|
1425
|
+
} catch(error) {
|
|
1426
|
+
expect(error.requestId).to.be.ok
|
|
1427
|
+
expect(error.code).to.be.ok
|
|
1428
|
+
}
|
|
1429
|
+
})
|
|
1430
|
+
|
|
1361
1431
|
it("tsf.v20180326.DescribeGatewayAllGroupApis", async function () {
|
|
1362
1432
|
try {
|
|
1363
1433
|
const data = await client.DescribeGatewayAllGroupApis({})
|
|
@@ -1588,6 +1658,16 @@ it("tsf.v20180326.DescribeRepository", async function () {
|
|
|
1588
1658
|
}
|
|
1589
1659
|
})
|
|
1590
1660
|
|
|
1661
|
+
it("tsf.v20180326.DescribeInvocationMetricDataDimension", async function () {
|
|
1662
|
+
try {
|
|
1663
|
+
const data = await client.DescribeInvocationMetricDataDimension({})
|
|
1664
|
+
expect(data).to.be.ok
|
|
1665
|
+
} catch(error) {
|
|
1666
|
+
expect(error.requestId).to.be.ok
|
|
1667
|
+
expect(error.code).to.be.ok
|
|
1668
|
+
}
|
|
1669
|
+
})
|
|
1670
|
+
|
|
1591
1671
|
it("tsf.v20180326.DescribeApplicationAttribute", async function () {
|
|
1592
1672
|
try {
|
|
1593
1673
|
const data = await client.DescribeApplicationAttribute({})
|