tencentcloud-sdk-nodejs 4.0.955 → 4.0.957
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 +313 -0
- package/SERVICE_CHANGELOG.md +378 -229
- package/package.json +1 -1
- package/products.md +22 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +8 -1
- package/src/services/ccc/v20200210/ccc_models.ts +94 -1
- package/src/services/cls/v20201016/cls_client.ts +73 -21
- package/src/services/cls/v20201016/cls_models.ts +855 -580
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
- package/src/services/dc/v20180410/dc_client.ts +121 -107
- package/src/services/dc/v20180410/dc_models.ts +181 -35
- package/src/services/dlc/v20210125/dlc_client.ts +14 -1
- package/src/services/dlc/v20210125/dlc_models.ts +141 -8
- package/src/services/emr/v20190103/emr_models.ts +2 -94
- package/src/services/ess/v20201111/ess_client.ts +36 -7
- package/src/services/ess/v20201111/ess_models.ts +32 -10
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -3
- package/src/services/faceid/v20180301/faceid_models.ts +20 -1
- package/src/services/gwlb/index.ts +5 -0
- package/src/services/gwlb/v20240906/gwlb_client.ts +267 -0
- package/src/services/gwlb/v20240906/gwlb_models.ts +954 -0
- package/src/services/gwlb/v20240906/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +4 -4
- package/src/services/privatedns/v20201028/privatedns_client.ts +18 -6
- package/src/services/privatedns/v20201028/privatedns_models.ts +48 -0
- package/src/services/teo/v20220901/teo_models.ts +8 -5
- package/src/services/tke/v20180525/tke_client.ts +1 -15
- package/src/services/tke/v20180525/tke_models.ts +128 -164
- package/src/services/vclm/v20240523/vclm_models.ts +4 -0
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +10 -6
- package/src/services/vtc/v20240223/vtc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +94 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +839 -576
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/dc/v20180410/dc_client.d.ts +44 -40
- package/tencentcloud/services/dc/v20180410/dc_client.js +63 -57
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +177 -35
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +138 -8
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -94
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +35 -6
- package/tencentcloud/services/ess/v20201111/ess_client.js +35 -6
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +32 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +20 -1
- package/tencentcloud/services/gwlb/index.d.ts +6 -0
- package/tencentcloud/services/gwlb/index.js +7 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.d.ts +90 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.js +147 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +890 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.js +18 -0
- package/tencentcloud/services/gwlb/v20240906/index.d.ts +6 -0
- package/tencentcloud/services/gwlb/v20240906/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -4
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.d.ts +7 -3
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.js +9 -3
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +46 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -5
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -7
- package/tencentcloud/services/tke/v20180525/tke_client.js +0 -8
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +128 -162
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +10 -6
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +4 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/dc.v20180410.test.js +48 -38
- package/test/dlc.v20210125.test.js +10 -0
- package/test/gwlb.v20240906.test.js +201 -0
- package/test/privatedns.v20201028.test.js +12 -2
- package/test/tke.v20180525.test.js +0 -10
|
@@ -28,9 +28,9 @@ it("dc.v20180410.ModifyDirectConnectTunnelExtra", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("dc.v20180410.
|
|
31
|
+
it("dc.v20180410.DescribeInternetAddressStatistics", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeInternetAddressStatistics({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("dc.v20180410.DisableInternetAddress", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("dc.v20180410.
|
|
41
|
+
it("dc.v20180410.DeleteDirectConnect", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DeleteDirectConnect({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("dc.v20180410.DescribePublicDirectConnectTunnelRoutes", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("dc.v20180410.
|
|
51
|
+
it("dc.v20180410.DeleteDirectConnectTunnel", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteDirectConnectTunnel({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("dc.v20180410.DescribeAccessPoints", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("dc.v20180410.
|
|
61
|
+
it("dc.v20180410.CreateDirectConnect", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateDirectConnect({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("dc.v20180410.ModifyDirectConnectAttribute", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("dc.v20180410.
|
|
71
|
+
it("dc.v20180410.DescribeDirectConnects", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeDirectConnects({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("dc.v20180410.CreateDirectConnectTunnel", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("dc.v20180410.
|
|
81
|
+
it("dc.v20180410.EnableInternetAddress", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.EnableInternetAddress({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("dc.v20180410.DescribeDirectConnectTunnelExtra", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("dc.v20180410.
|
|
91
|
+
it("dc.v20180410.ModifyDirectConnectAttribute", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.ModifyDirectConnectAttribute({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("dc.v20180410.DeleteDirectConnect", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("dc.v20180410.
|
|
101
|
+
it("dc.v20180410.DescribeDirectConnectTunnelExtra", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeDirectConnectTunnelExtra({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("dc.v20180410.AcceptDirectConnectTunnel", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("dc.v20180410.
|
|
111
|
+
it("dc.v20180410.DisableInternetAddress", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DisableInternetAddress({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("dc.v20180410.DescribeInternetAddressStatistics", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("dc.v20180410.
|
|
121
|
+
it("dc.v20180410.DescribePublicDirectConnectTunnelRoutes", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribePublicDirectConnectTunnelRoutes({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("dc.v20180410.DeleteDirectConnectTunnel", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("dc.v20180410.
|
|
131
|
+
it("dc.v20180410.CreateDirectConnectTunnel", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.CreateDirectConnectTunnel({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("dc.v20180410.ApplyInternetAddress", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("dc.v20180410.
|
|
141
|
+
it("dc.v20180410.RejectDirectConnectTunnel", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.RejectDirectConnectTunnel({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("dc.v20180410.EnableInternetAddress", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("dc.v20180410.
|
|
151
|
+
it("dc.v20180410.ApplyInternetAddress", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.ApplyInternetAddress({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("dc.v20180410.DescribeInternetAddressQuota", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("dc.v20180410.
|
|
161
|
+
it("dc.v20180410.DescribeInternetAddressQuota", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeInternetAddressQuota({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("dc.v20180410.DescribeDirectConnectTunnels", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("dc.v20180410.
|
|
181
|
+
it("dc.v20180410.DescribeAccessPoints", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeAccessPoints({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("dc.v20180410.CreateDirectConnect", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("dc.v20180410.
|
|
191
|
+
it("dc.v20180410.CreateCloudAttachService", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.CreateCloudAttachService({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,9 @@ it("dc.v20180410.RejectDirectConnectTunnel", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("dc.v20180410.
|
|
201
|
+
it("dc.v20180410.ModifyDirectConnectTunnelAttribute", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyDirectConnectTunnelAttribute({})
|
|
204
204
|
expect(data).to.be.ok
|
|
205
205
|
} catch(error) {
|
|
206
206
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +208,9 @@ it("dc.v20180410.DescribeDirectConnects", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
-
it("dc.v20180410.
|
|
211
|
+
it("dc.v20180410.AcceptDirectConnectTunnel", async function () {
|
|
212
212
|
try {
|
|
213
|
-
const data = await client.
|
|
213
|
+
const data = await client.AcceptDirectConnectTunnel({})
|
|
214
214
|
expect(data).to.be.ok
|
|
215
215
|
} catch(error) {
|
|
216
216
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,19 @@ it("dc.v20180410.ReleaseInternetAddress", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("dc.v20180410.
|
|
221
|
+
it("dc.v20180410.DescribeInternetAddress", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeInternetAddress({})
|
|
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("dc.v20180410.ReleaseInternetAddress", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ReleaseInternetAddress({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|
|
@@ -1208,6 +1208,16 @@ it("dlc.v20210125.RegisterThirdPartyAccessUser", async function () {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
})
|
|
1210
1210
|
|
|
1211
|
+
it("dlc.v20210125.DescribeTasksAnalysis", async function () {
|
|
1212
|
+
try {
|
|
1213
|
+
const data = await client.DescribeTasksAnalysis({})
|
|
1214
|
+
expect(data).to.be.ok
|
|
1215
|
+
} catch(error) {
|
|
1216
|
+
expect(error.requestId).to.be.ok
|
|
1217
|
+
expect(error.code).to.be.ok
|
|
1218
|
+
}
|
|
1219
|
+
})
|
|
1220
|
+
|
|
1211
1221
|
it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
|
|
1212
1222
|
try {
|
|
1213
1223
|
const data = await client.DeleteUsersFromWorkGroup({})
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.gwlb.v20240906.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("gwlb.v20240906.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("gwlb.v20240906.DeleteTargetGroups", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteTargetGroups({})
|
|
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("gwlb.v20240906.DeleteGatewayLoadBalancer", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteGatewayLoadBalancer({})
|
|
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("gwlb.v20240906.RegisterTargetGroupInstances", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.RegisterTargetGroupInstances({})
|
|
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("gwlb.v20240906.DescribeTargetGroups", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeTargetGroups({})
|
|
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("gwlb.v20240906.ModifyTargetGroupAttribute", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyTargetGroupAttribute({})
|
|
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("gwlb.v20240906.DescribeTaskStatus", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeTaskStatus({})
|
|
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("gwlb.v20240906.CreateGatewayLoadBalancer", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateGatewayLoadBalancer({})
|
|
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("gwlb.v20240906.DisassociateTargetGroups", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DisassociateTargetGroups({})
|
|
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("gwlb.v20240906.ModifyTargetGroupInstancesWeight", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ModifyTargetGroupInstancesWeight({})
|
|
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("gwlb.v20240906.DescribeTargetGroupInstanceStatus", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeTargetGroupInstanceStatus({})
|
|
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("gwlb.v20240906.AssociateTargetGroups", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.AssociateTargetGroups({})
|
|
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("gwlb.v20240906.DescribeGatewayLoadBalancers", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeGatewayLoadBalancers({})
|
|
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("gwlb.v20240906.ModifyGatewayLoadBalancerAttribute", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyGatewayLoadBalancerAttribute({})
|
|
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("gwlb.v20240906.DescribeTargetGroupList", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeTargetGroupList({})
|
|
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("gwlb.v20240906.InquirePriceCreateGatewayLoadBalancer", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.InquirePriceCreateGatewayLoadBalancer({})
|
|
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("gwlb.v20240906.DeregisterTargetGroupInstances", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeregisterTargetGroupInstances({})
|
|
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("gwlb.v20240906.CreateTargetGroup", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateTargetGroup({})
|
|
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("gwlb.v20240906.DescribeTargetGroupInstances", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeTargetGroupInstances({})
|
|
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
|
+
})
|
|
@@ -98,9 +98,9 @@ it("privatedns.v20201028.DescribePrivateZoneList", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("privatedns.v20201028.
|
|
101
|
+
it("privatedns.v20201028.CreateEndPoint", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.CreateEndPoint({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -118,6 +118,16 @@ it("privatedns.v20201028.AddSpecifyPrivateZoneVpc", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("privatedns.v20201028.DescribePrivateZoneRecordList", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribePrivateZoneRecordList({})
|
|
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
|
+
|
|
121
131
|
it("privatedns.v20201028.QueryAsyncBindVpcStatus", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.QueryAsyncBindVpcStatus({})
|
|
@@ -1278,16 +1278,6 @@ it("tke.v20180525.CreateClusterRoute", async function () {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
})
|
|
1280
1280
|
|
|
1281
|
-
it("tke.v20180525.DescribeExternalClusterSpec", async function () {
|
|
1282
|
-
try {
|
|
1283
|
-
const data = await client.DescribeExternalClusterSpec({})
|
|
1284
|
-
expect(data).to.be.ok
|
|
1285
|
-
} catch(error) {
|
|
1286
|
-
expect(error.requestId).to.be.ok
|
|
1287
|
-
expect(error.code).to.be.ok
|
|
1288
|
-
}
|
|
1289
|
-
})
|
|
1290
|
-
|
|
1291
1281
|
it("tke.v20180525.DescribeClusterReleaseHistory", async function () {
|
|
1292
1282
|
try {
|
|
1293
1283
|
const data = await client.DescribeClusterReleaseHistory({})
|