tencentcloud-sdk-nodejs 4.0.201 → 4.0.205

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 (86) hide show
  1. package/CHANGELOG.md +558 -102
  2. package/package.json +1 -1
  3. package/products.md +153 -152
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/af/v20200226/af_client.ts +1 -0
  6. package/src/services/af/v20200226/af_models.ts +23 -0
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
  8. package/src/services/billing/v20180709/billing_models.ts +34 -4
  9. package/src/services/cdn/v20180606/cdn_models.ts +14 -6
  10. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +139 -3
  12. package/src/services/cme/v20191029/cme_models.ts +19 -11
  13. package/src/services/cvm/v20170312/cvm_models.ts +2 -2
  14. package/src/services/cwp/v20180228/cwp_models.ts +1 -1
  15. package/src/services/ecm/v20190719/ecm_client.ts +401 -290
  16. package/src/services/ecm/v20190719/ecm_models.ts +4533 -3879
  17. package/src/services/essbasic/index.ts +7 -0
  18. package/src/services/essbasic/v20201222/essbasic_client.ts +736 -0
  19. package/src/services/essbasic/v20201222/essbasic_models.ts +3792 -0
  20. package/src/services/essbasic/v20201222/index.ts +6 -0
  21. package/src/services/essbasic/v20210526/essbasic_client.ts +141 -0
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +933 -0
  23. package/src/services/essbasic/v20210526/index.ts +6 -0
  24. package/src/services/gme/v20180711/gme_models.ts +5 -0
  25. package/src/services/index.ts +1 -0
  26. package/src/services/partners/v20180321/partners_client.ts +80 -95
  27. package/src/services/partners/v20180321/partners_models.ts +31 -91
  28. package/src/services/scf/v20180416/scf_client.ts +1 -0
  29. package/src/services/scf/v20180416/scf_models.ts +46 -2
  30. package/src/services/sqlserver/v20180328/sqlserver_client.ts +31 -18
  31. package/src/services/sqlserver/v20180328/sqlserver_models.ts +208 -86
  32. package/src/services/tdmq/v20200217/tdmq_models.ts +20 -0
  33. package/src/services/tke/v20180525/tke_client.ts +593 -489
  34. package/src/services/tke/v20180525/tke_models.ts +1250 -210
  35. package/src/services/trtc/v20190722/trtc_client.ts +6 -4
  36. package/src/services/vod/v20180717/vod_models.ts +1 -1
  37. package/tencentcloud/common/sdk_version.d.ts +1 -1
  38. package/tencentcloud/common/sdk_version.js +1 -1
  39. package/tencentcloud/services/af/v20200226/af_models.d.ts +20 -0
  40. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
  41. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +31 -1
  42. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +13 -6
  43. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +116 -3
  44. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -11
  45. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
  46. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
  47. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +65 -14
  48. package/tencentcloud/services/ecm/v20190719/ecm_client.js +84 -19
  49. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4147 -3602
  50. package/tencentcloud/services/essbasic/index.d.ts +10 -0
  51. package/tencentcloud/services/essbasic/index.js +9 -0
  52. package/tencentcloud/services/essbasic/v20201222/essbasic_client.d.ts +271 -0
  53. package/tencentcloud/services/essbasic/v20201222/essbasic_client.js +398 -0
  54. package/tencentcloud/services/essbasic/v20201222/essbasic_models.d.ts +3212 -0
  55. package/tencentcloud/services/essbasic/v20201222/essbasic_models.js +18 -0
  56. package/tencentcloud/services/essbasic/v20201222/index.d.ts +6 -0
  57. package/tencentcloud/services/essbasic/v20201222/index.js +9 -0
  58. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +44 -0
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +81 -0
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +775 -0
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_models.js +18 -0
  62. package/tencentcloud/services/essbasic/v20210526/index.d.ts +6 -0
  63. package/tencentcloud/services/essbasic/v20210526/index.js +9 -0
  64. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +4 -0
  65. package/tencentcloud/services/index.d.ts +1 -0
  66. package/tencentcloud/services/index.js +2 -0
  67. package/tencentcloud/services/partners/v20180321/partners_client.d.ts +29 -35
  68. package/tencentcloud/services/partners/v20180321/partners_client.js +42 -50
  69. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +29 -80
  70. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +39 -2
  71. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +10 -6
  72. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +13 -7
  73. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +183 -82
  74. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +16 -0
  75. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +185 -157
  76. package/tencentcloud/services/tke/v20180525/tke_client.js +276 -234
  77. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1069 -182
  78. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +6 -4
  79. package/tencentcloud/services/trtc/v20190722/trtc_client.js +6 -4
  80. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  81. package/test/ecm.v20190719.test.js +88 -18
  82. package/test/essbasic.v20201222.test.js +551 -0
  83. package/test/essbasic.v20210526.test.js +101 -0
  84. package/test/partners.v20180321.test.js +42 -52
  85. package/test/sqlserver.v20180328.test.js +14 -4
  86. package/test/tke.v20180525.test.js +226 -156
@@ -0,0 +1,101 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.essbasic.v20210526.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("essbasic.v20210526.test.js", function () {
20
+
21
+ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
22
+ try {
23
+ const data = await client.CreateFlowsByTemplates({})
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("essbasic.v20210526.PrepareFlows", async function () {
32
+ try {
33
+ const data = await client.PrepareFlows({})
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("essbasic.v20210526.CreateSignUrls", async function () {
42
+ try {
43
+ const data = await client.CreateSignUrls({})
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("essbasic.v20210526.CreateConsoleLoginUrl", async function () {
52
+ try {
53
+ const data = await client.CreateConsoleLoginUrl({})
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("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
62
+ try {
63
+ const data = await client.SyncProxyOrganizationOperators({})
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("essbasic.v20210526.DescribeUsage", async function () {
72
+ try {
73
+ const data = await client.DescribeUsage({})
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("essbasic.v20210526.SyncProxyOrganization", async function () {
82
+ try {
83
+ const data = await client.SyncProxyOrganization({})
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("essbasic.v20210526.DescribeTemplates", async function () {
92
+ try {
93
+ const data = await client.DescribeTemplates({})
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
+ })
@@ -18,19 +18,9 @@ const client = new tencentcloud.partners.v20180321.Client({
18
18
  })
19
19
  describe("partners.v20180321.test.js", function () {
20
20
 
21
- it("partners.v20180321.DescribeAgentDealsCache", async function () {
22
- try {
23
- const data = await client.DescribeAgentDealsCache({})
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("partners.v20180321.DescribeAgentBills", async function () {
21
+ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
32
22
  try {
33
- const data = await client.DescribeAgentBills({})
23
+ const data = await client.DescribeAgentSelfPayDeals({})
34
24
  expect(data).to.be.ok
35
25
  } catch(error) {
36
26
  expect(error.requestId).to.be.ok
@@ -38,9 +28,9 @@ it("partners.v20180321.DescribeAgentBills", async function () {
38
28
  }
39
29
  })
40
30
 
41
- it("partners.v20180321.AgentTransferMoney", async function () {
31
+ it("partners.v20180321.DescribeAgentDealsCache", async function () {
42
32
  try {
43
- const data = await client.AgentTransferMoney({})
33
+ const data = await client.DescribeAgentDealsCache({})
44
34
  expect(data).to.be.ok
45
35
  } catch(error) {
46
36
  expect(error.requestId).to.be.ok
@@ -48,9 +38,9 @@ it("partners.v20180321.AgentTransferMoney", async function () {
48
38
  }
49
39
  })
50
40
 
51
- it("partners.v20180321.DescribeRebateInfos", async function () {
41
+ it("partners.v20180321.ModifyClientRemark", async function () {
52
42
  try {
53
- const data = await client.DescribeRebateInfos({})
43
+ const data = await client.ModifyClientRemark({})
54
44
  expect(data).to.be.ok
55
45
  } catch(error) {
56
46
  expect(error.requestId).to.be.ok
@@ -58,9 +48,9 @@ it("partners.v20180321.DescribeRebateInfos", async function () {
58
48
  }
59
49
  })
60
50
 
61
- it("partners.v20180321.DescribeClientBaseInfo", async function () {
51
+ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
62
52
  try {
63
- const data = await client.DescribeClientBaseInfo({})
53
+ const data = await client.DescribeAgentSelfPayDealsV2({})
64
54
  expect(data).to.be.ok
65
55
  } catch(error) {
66
56
  expect(error.requestId).to.be.ok
@@ -68,9 +58,9 @@ it("partners.v20180321.DescribeClientBaseInfo", async function () {
68
58
  }
69
59
  })
70
60
 
71
- it("partners.v20180321.RemovePayRelationForClient", async function () {
61
+ it("partners.v20180321.AgentPayDeals", async function () {
72
62
  try {
73
- const data = await client.RemovePayRelationForClient({})
63
+ const data = await client.AgentPayDeals({})
74
64
  expect(data).to.be.ok
75
65
  } catch(error) {
76
66
  expect(error.requestId).to.be.ok
@@ -78,9 +68,9 @@ it("partners.v20180321.RemovePayRelationForClient", async function () {
78
68
  }
79
69
  })
80
70
 
81
- it("partners.v20180321.ModifyClientRemark", async function () {
71
+ it("partners.v20180321.DescribeAgentBills", async function () {
82
72
  try {
83
- const data = await client.ModifyClientRemark({})
73
+ const data = await client.DescribeAgentBills({})
84
74
  expect(data).to.be.ok
85
75
  } catch(error) {
86
76
  expect(error.requestId).to.be.ok
@@ -88,9 +78,9 @@ it("partners.v20180321.ModifyClientRemark", async function () {
88
78
  }
89
79
  })
90
80
 
91
- it("partners.v20180321.DescribeClientBalance", async function () {
81
+ it("partners.v20180321.AgentTransferMoney", async function () {
92
82
  try {
93
- const data = await client.DescribeClientBalance({})
83
+ const data = await client.AgentTransferMoney({})
94
84
  expect(data).to.be.ok
95
85
  } catch(error) {
96
86
  expect(error.requestId).to.be.ok
@@ -98,9 +88,9 @@ it("partners.v20180321.DescribeClientBalance", async function () {
98
88
  }
99
89
  })
100
90
 
101
- it("partners.v20180321.DescribeClientBalanceNew", async function () {
91
+ it("partners.v20180321.DescribeRebateInfos", async function () {
102
92
  try {
103
- const data = await client.DescribeClientBalanceNew({})
93
+ const data = await client.DescribeRebateInfos({})
104
94
  expect(data).to.be.ok
105
95
  } catch(error) {
106
96
  expect(error.requestId).to.be.ok
@@ -108,9 +98,9 @@ it("partners.v20180321.DescribeClientBalanceNew", async function () {
108
98
  }
109
99
  })
110
100
 
111
- it("partners.v20180321.DescribeAgentClientGrade", async function () {
101
+ it("partners.v20180321.DescribeSalesmans", async function () {
112
102
  try {
113
- const data = await client.DescribeAgentClientGrade({})
103
+ const data = await client.DescribeSalesmans({})
114
104
  expect(data).to.be.ok
115
105
  } catch(error) {
116
106
  expect(error.requestId).to.be.ok
@@ -118,9 +108,9 @@ it("partners.v20180321.DescribeAgentClientGrade", async function () {
118
108
  }
119
109
  })
120
110
 
121
- it("partners.v20180321.DescribeUnbindClientList", async function () {
111
+ it("partners.v20180321.RemovePayRelationForClient", async function () {
122
112
  try {
123
- const data = await client.DescribeUnbindClientList({})
113
+ const data = await client.RemovePayRelationForClient({})
124
114
  expect(data).to.be.ok
125
115
  } catch(error) {
126
116
  expect(error.requestId).to.be.ok
@@ -128,9 +118,9 @@ it("partners.v20180321.DescribeUnbindClientList", async function () {
128
118
  }
129
119
  })
130
120
 
131
- it("partners.v20180321.AgentPayDeals", async function () {
121
+ it("partners.v20180321.DescribeClientBalanceNew", async function () {
132
122
  try {
133
- const data = await client.AgentPayDeals({})
123
+ const data = await client.DescribeClientBalanceNew({})
134
124
  expect(data).to.be.ok
135
125
  } catch(error) {
136
126
  expect(error.requestId).to.be.ok
@@ -138,9 +128,9 @@ it("partners.v20180321.AgentPayDeals", async function () {
138
128
  }
139
129
  })
140
130
 
141
- it("partners.v20180321.DescribeSalesmans", async function () {
131
+ it("partners.v20180321.DescribeAgentPayDeals", async function () {
142
132
  try {
143
- const data = await client.DescribeSalesmans({})
133
+ const data = await client.DescribeAgentPayDeals({})
144
134
  expect(data).to.be.ok
145
135
  } catch(error) {
146
136
  expect(error.requestId).to.be.ok
@@ -148,9 +138,9 @@ it("partners.v20180321.DescribeSalesmans", async function () {
148
138
  }
149
139
  })
150
140
 
151
- it("partners.v20180321.DescribeAgentPayDeals", async function () {
141
+ it("partners.v20180321.DescribeUnbindClientList", async function () {
152
142
  try {
153
- const data = await client.DescribeAgentPayDeals({})
143
+ const data = await client.DescribeUnbindClientList({})
154
144
  expect(data).to.be.ok
155
145
  } catch(error) {
156
146
  expect(error.requestId).to.be.ok
@@ -158,9 +148,9 @@ it("partners.v20180321.DescribeAgentPayDeals", async function () {
158
148
  }
159
149
  })
160
150
 
161
- it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
151
+ it("partners.v20180321.DescribeAgentClients", async function () {
162
152
  try {
163
- const data = await client.DescribeAgentPayDealsV2({})
153
+ const data = await client.DescribeAgentClients({})
164
154
  expect(data).to.be.ok
165
155
  } catch(error) {
166
156
  expect(error.requestId).to.be.ok
@@ -168,9 +158,9 @@ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
168
158
  }
169
159
  })
170
160
 
171
- it("partners.v20180321.DescribeAgentAuditedClients", async function () {
161
+ it("partners.v20180321.DescribeClientBalance", async function () {
172
162
  try {
173
- const data = await client.DescribeAgentAuditedClients({})
163
+ const data = await client.DescribeClientBalance({})
174
164
  expect(data).to.be.ok
175
165
  } catch(error) {
176
166
  expect(error.requestId).to.be.ok
@@ -178,9 +168,9 @@ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
178
168
  }
179
169
  })
180
170
 
181
- it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
171
+ it("partners.v20180321.DescribeAgentClientGrade", async function () {
182
172
  try {
183
- const data = await client.DescribeAgentSelfPayDealsV2({})
173
+ const data = await client.DescribeAgentClientGrade({})
184
174
  expect(data).to.be.ok
185
175
  } catch(error) {
186
176
  expect(error.requestId).to.be.ok
@@ -188,9 +178,9 @@ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
188
178
  }
189
179
  })
190
180
 
191
- it("partners.v20180321.AuditApplyClient", async function () {
181
+ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
192
182
  try {
193
- const data = await client.AuditApplyClient({})
183
+ const data = await client.DescribeAgentPayDealsV2({})
194
184
  expect(data).to.be.ok
195
185
  } catch(error) {
196
186
  expect(error.requestId).to.be.ok
@@ -198,9 +188,9 @@ it("partners.v20180321.AuditApplyClient", async function () {
198
188
  }
199
189
  })
200
190
 
201
- it("partners.v20180321.DescribeAgentDealsByCache", async function () {
191
+ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
202
192
  try {
203
- const data = await client.DescribeAgentDealsByCache({})
193
+ const data = await client.DescribeAgentAuditedClients({})
204
194
  expect(data).to.be.ok
205
195
  } catch(error) {
206
196
  expect(error.requestId).to.be.ok
@@ -208,9 +198,9 @@ it("partners.v20180321.DescribeAgentDealsByCache", async function () {
208
198
  }
209
199
  })
210
200
 
211
- it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
201
+ it("partners.v20180321.CreatePayRelationForClient", async function () {
212
202
  try {
213
- const data = await client.DescribeAgentSelfPayDeals({})
203
+ const data = await client.CreatePayRelationForClient({})
214
204
  expect(data).to.be.ok
215
205
  } catch(error) {
216
206
  expect(error.requestId).to.be.ok
@@ -218,9 +208,9 @@ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
218
208
  }
219
209
  })
220
210
 
221
- it("partners.v20180321.DescribeAgentClients", async function () {
211
+ it("partners.v20180321.AuditApplyClient", async function () {
222
212
  try {
223
- const data = await client.DescribeAgentClients({})
213
+ const data = await client.AuditApplyClient({})
224
214
  expect(data).to.be.ok
225
215
  } catch(error) {
226
216
  expect(error.requestId).to.be.ok
@@ -228,9 +218,9 @@ it("partners.v20180321.DescribeAgentClients", async function () {
228
218
  }
229
219
  })
230
220
 
231
- it("partners.v20180321.CreatePayRelationForClient", async function () {
221
+ it("partners.v20180321.DescribeAgentDealsByCache", async function () {
232
222
  try {
233
- const data = await client.CreatePayRelationForClient({})
223
+ const data = await client.DescribeAgentDealsByCache({})
234
224
  expect(data).to.be.ok
235
225
  } catch(error) {
236
226
  expect(error.requestId).to.be.ok
@@ -38,6 +38,16 @@ it("sqlserver.v20180328.RecycleReadOnlyGroup", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("sqlserver.v20180328.ModifyDBInstanceRenewFlag", async function () {
42
+ try {
43
+ const data = await client.ModifyDBInstanceRenewFlag({})
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
+
41
51
  it("sqlserver.v20180328.StartIncrementalMigration", async function () {
42
52
  try {
43
53
  const data = await client.StartIncrementalMigration({})
@@ -168,9 +178,9 @@ it("sqlserver.v20180328.CreatePublishSubscribe", async function () {
168
178
  }
169
179
  })
170
180
 
171
- it("sqlserver.v20180328.DescribeReadOnlyGroupByReadOnlyInstance", async function () {
181
+ it("sqlserver.v20180328.DescribeBackupFiles", async function () {
172
182
  try {
173
- const data = await client.DescribeReadOnlyGroupByReadOnlyInstance({})
183
+ const data = await client.DescribeBackupFiles({})
174
184
  expect(data).to.be.ok
175
185
  } catch(error) {
176
186
  expect(error.requestId).to.be.ok
@@ -968,9 +978,9 @@ it("sqlserver.v20180328.ModifyReadOnlyGroupDetails", async function () {
968
978
  }
969
979
  })
970
980
 
971
- it("sqlserver.v20180328.ModifyDBInstanceRenewFlag", async function () {
981
+ it("sqlserver.v20180328.DescribeReadOnlyGroupByReadOnlyInstance", async function () {
972
982
  try {
973
- const data = await client.ModifyDBInstanceRenewFlag({})
983
+ const data = await client.DescribeReadOnlyGroupByReadOnlyInstance({})
974
984
  expect(data).to.be.ok
975
985
  } catch(error) {
976
986
  expect(error.requestId).to.be.ok
@@ -18,9 +18,9 @@ const client = new tencentcloud.tke.v20180525.Client({
18
18
  })
19
19
  describe("tke.v20180525.test.js", function () {
20
20
 
21
- it("tke.v20180525.DescribePrometheusTemplates", async function () {
21
+ it("tke.v20180525.CreateCluster", async function () {
22
22
  try {
23
- const data = await client.DescribePrometheusTemplates({})
23
+ const data = await client.CreateCluster({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("tke.v20180525.DescribePrometheusTemplates", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("tke.v20180525.DescribeEKSClusters", async function () {
31
+ it("tke.v20180525.ModifyClusterAsGroupOptionAttribute", async function () {
32
32
  try {
33
- const data = await client.DescribeEKSClusters({})
33
+ const data = await client.ModifyClusterAsGroupOptionAttribute({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("tke.v20180525.DescribeEKSClusters", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("tke.v20180525.CheckInstancesUpgradeAble", async function () {
41
+ it("tke.v20180525.EnableVpcCniNetworkType", async function () {
42
42
  try {
43
- const data = await client.CheckInstancesUpgradeAble({})
43
+ const data = await client.EnableVpcCniNetworkType({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("tke.v20180525.CheckInstancesUpgradeAble", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("tke.v20180525.CreateCluster", async function () {
51
+ it("tke.v20180525.DeleteCluster", async function () {
52
52
  try {
53
- const data = await client.CreateCluster({})
53
+ const data = await client.DeleteCluster({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("tke.v20180525.CreateCluster", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("tke.v20180525.CreatePrometheusDashboard", async function () {
61
+ it("tke.v20180525.ModifyPrometheusAlertRule", async function () {
62
62
  try {
63
- const data = await client.CreatePrometheusDashboard({})
63
+ const data = await client.ModifyPrometheusAlertRule({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("tke.v20180525.CreatePrometheusDashboard", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("tke.v20180525.DescribePrometheusOverviews", async function () {
71
+ it("tke.v20180525.SetNodePoolNodeProtection", async function () {
72
72
  try {
73
- const data = await client.DescribePrometheusOverviews({})
73
+ const data = await client.SetNodePoolNodeProtection({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("tke.v20180525.DescribePrometheusOverviews", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("tke.v20180525.CreateEKSCluster", async function () {
81
+ it("tke.v20180525.DescribeEKSContainerInstanceEvent", async function () {
82
82
  try {
83
- const data = await client.CreateEKSCluster({})
83
+ const data = await client.DescribeEKSContainerInstanceEvent({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("tke.v20180525.CreateEKSCluster", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("tke.v20180525.DescribeClusterNodePoolDetail", async function () {
91
+ it("tke.v20180525.DescribeClusterCommonNames", async function () {
92
92
  try {
93
- const data = await client.DescribeClusterNodePoolDetail({})
93
+ const data = await client.DescribeClusterCommonNames({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("tke.v20180525.DescribeClusterNodePoolDetail", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("tke.v20180525.DescribeVpcCniPodLimits", async function () {
101
+ it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
102
102
  try {
103
- const data = await client.DescribeVpcCniPodLimits({})
103
+ const data = await client.DescribePrometheusAlertHistory({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("tke.v20180525.DescribeVpcCniPodLimits", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("tke.v20180525.DeletePrometheusTemplate", async function () {
111
+ it("tke.v20180525.CreateClusterRouteTable", async function () {
112
112
  try {
113
- const data = await client.DeletePrometheusTemplate({})
113
+ const data = await client.CreateClusterRouteTable({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("tke.v20180525.DeletePrometheusTemplate", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("tke.v20180525.ModifyNodePoolDesiredCapacityAboutAsg", async function () {
121
+ it("tke.v20180525.GetUpgradeInstanceProgress", async function () {
122
122
  try {
123
- const data = await client.ModifyNodePoolDesiredCapacityAboutAsg({})
123
+ const data = await client.GetUpgradeInstanceProgress({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("tke.v20180525.ModifyNodePoolDesiredCapacityAboutAsg", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("tke.v20180525.DescribePrometheusAgents", async function () {
131
+ it("tke.v20180525.CreatePrometheusTemplate", async function () {
132
132
  try {
133
- const data = await client.DescribePrometheusAgents({})
133
+ const data = await client.CreatePrometheusTemplate({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,9 @@ it("tke.v20180525.DescribePrometheusAgents", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("tke.v20180525.DeletePrometheusTemplateSync", async function () {
141
+ it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
142
142
  try {
143
- const data = await client.DeletePrometheusTemplateSync({})
143
+ const data = await client.CreateClusterNodePoolFromExistingAsg({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("tke.v20180525.DeletePrometheusTemplateSync", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("tke.v20180525.DeleteClusterEndpoint", async function () {
151
+ it("tke.v20180525.DescribeVersions", async function () {
152
152
  try {
153
- const data = await client.DeleteClusterEndpoint({})
153
+ const data = await client.DescribeVersions({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -158,9 +158,9 @@ it("tke.v20180525.DeleteClusterEndpoint", async function () {
158
158
  }
159
159
  })
160
160
 
161
- it("tke.v20180525.DescribeEnableVpcCniProgress", async function () {
161
+ it("tke.v20180525.DeleteEKSCluster", async function () {
162
162
  try {
163
- const data = await client.DescribeEnableVpcCniProgress({})
163
+ const data = await client.DeleteEKSCluster({})
164
164
  expect(data).to.be.ok
165
165
  } catch(error) {
166
166
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("tke.v20180525.DescribeEnableVpcCniProgress", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("tke.v20180525.SyncPrometheusTemplate", async function () {
171
+ it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
172
172
  try {
173
- const data = await client.SyncPrometheusTemplate({})
173
+ const data = await client.DescribeClusterEndpointStatus({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("tke.v20180525.SyncPrometheusTemplate", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
181
+ it("tke.v20180525.DescribeClusterAsGroups", async function () {
182
182
  try {
183
- const data = await client.DescribePrometheusAlertHistory({})
183
+ const data = await client.DescribeClusterAsGroups({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("tke.v20180525.CreateClusterInstances", async function () {
191
+ it("tke.v20180525.UpdateClusterVersion", async function () {
192
192
  try {
193
- const data = await client.CreateClusterInstances({})
193
+ const data = await client.UpdateClusterVersion({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -198,9 +198,59 @@ it("tke.v20180525.CreateClusterInstances", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("tke.v20180525.DescribePrometheusTargets", async function () {
201
+ it("tke.v20180525.DescribeAvailableClusterVersion", async function () {
202
202
  try {
203
- const data = await client.DescribePrometheusTargets({})
203
+ const data = await client.DescribeAvailableClusterVersion({})
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("tke.v20180525.DeleteClusterRouteTable", async function () {
212
+ try {
213
+ const data = await client.DeleteClusterRouteTable({})
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("tke.v20180525.DescribePrometheusTemplates", async function () {
222
+ try {
223
+ const data = await client.DescribePrometheusTemplates({})
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("tke.v20180525.DescribeClusterNodePoolDetail", async function () {
232
+ try {
233
+ const data = await client.DescribeClusterNodePoolDetail({})
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("tke.v20180525.DeletePrometheusTemplateSync", async function () {
242
+ try {
243
+ const data = await client.DeletePrometheusTemplateSync({})
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("tke.v20180525.CreateClusterInstances", async function () {
252
+ try {
253
+ const data = await client.CreateClusterInstances({})
204
254
  expect(data).to.be.ok
205
255
  } catch(error) {
206
256
  expect(error.requestId).to.be.ok
@@ -238,9 +288,9 @@ it("tke.v20180525.DeleteClusterRoute", async function () {
238
288
  }
239
289
  })
240
290
 
241
- it("tke.v20180525.EnableVpcCniNetworkType", async function () {
291
+ it("tke.v20180525.AddVpcCniSubnets", async function () {
242
292
  try {
243
- const data = await client.EnableVpcCniNetworkType({})
293
+ const data = await client.AddVpcCniSubnets({})
244
294
  expect(data).to.be.ok
245
295
  } catch(error) {
246
296
  expect(error.requestId).to.be.ok
@@ -248,9 +298,9 @@ it("tke.v20180525.EnableVpcCniNetworkType", async function () {
248
298
  }
249
299
  })
250
300
 
251
- it("tke.v20180525.DescribePrometheusInstance", async function () {
301
+ it("tke.v20180525.CreateClusterAsGroup", async function () {
252
302
  try {
253
- const data = await client.DescribePrometheusInstance({})
303
+ const data = await client.CreateClusterAsGroup({})
254
304
  expect(data).to.be.ok
255
305
  } catch(error) {
256
306
  expect(error.requestId).to.be.ok
@@ -258,9 +308,9 @@ it("tke.v20180525.DescribePrometheusInstance", async function () {
258
308
  }
259
309
  })
260
310
 
261
- it("tke.v20180525.SetNodePoolNodeProtection", async function () {
311
+ it("tke.v20180525.DescribeExistedInstances", async function () {
262
312
  try {
263
- const data = await client.SetNodePoolNodeProtection({})
313
+ const data = await client.DescribeExistedInstances({})
264
314
  expect(data).to.be.ok
265
315
  } catch(error) {
266
316
  expect(error.requestId).to.be.ok
@@ -268,9 +318,9 @@ it("tke.v20180525.SetNodePoolNodeProtection", async function () {
268
318
  }
269
319
  })
270
320
 
271
- it("tke.v20180525.DescribeClusterEndpointVipStatus", async function () {
321
+ it("tke.v20180525.DescribeEKSClusterCredential", async function () {
272
322
  try {
273
- const data = await client.DescribeClusterEndpointVipStatus({})
323
+ const data = await client.DescribeEKSClusterCredential({})
274
324
  expect(data).to.be.ok
275
325
  } catch(error) {
276
326
  expect(error.requestId).to.be.ok
@@ -278,9 +328,9 @@ it("tke.v20180525.DescribeClusterEndpointVipStatus", async function () {
278
328
  }
279
329
  })
280
330
 
281
- it("tke.v20180525.AddVpcCniSubnets", async function () {
331
+ it("tke.v20180525.UpgradeClusterInstances", async function () {
282
332
  try {
283
- const data = await client.AddVpcCniSubnets({})
333
+ const data = await client.UpgradeClusterInstances({})
284
334
  expect(data).to.be.ok
285
335
  } catch(error) {
286
336
  expect(error.requestId).to.be.ok
@@ -288,9 +338,9 @@ it("tke.v20180525.AddVpcCniSubnets", async function () {
288
338
  }
289
339
  })
290
340
 
291
- it("tke.v20180525.DeleteCluster", async function () {
341
+ it("tke.v20180525.DescribeClusterRouteTables", async function () {
292
342
  try {
293
- const data = await client.DeleteCluster({})
343
+ const data = await client.DescribeClusterRouteTables({})
294
344
  expect(data).to.be.ok
295
345
  } catch(error) {
296
346
  expect(error.requestId).to.be.ok
@@ -298,9 +348,9 @@ it("tke.v20180525.DeleteCluster", async function () {
298
348
  }
299
349
  })
300
350
 
301
- it("tke.v20180525.DescribeClusterCommonNames", async function () {
351
+ it("tke.v20180525.AddNodeToNodePool", async function () {
302
352
  try {
303
- const data = await client.DescribeClusterCommonNames({})
353
+ const data = await client.AddNodeToNodePool({})
304
354
  expect(data).to.be.ok
305
355
  } catch(error) {
306
356
  expect(error.requestId).to.be.ok
@@ -308,9 +358,9 @@ it("tke.v20180525.DescribeClusterCommonNames", async function () {
308
358
  }
309
359
  })
310
360
 
311
- it("tke.v20180525.CreateClusterAsGroup", async function () {
361
+ it("tke.v20180525.DescribeClusters", async function () {
312
362
  try {
313
- const data = await client.CreateClusterAsGroup({})
363
+ const data = await client.DescribeClusters({})
314
364
  expect(data).to.be.ok
315
365
  } catch(error) {
316
366
  expect(error.requestId).to.be.ok
@@ -318,9 +368,9 @@ it("tke.v20180525.CreateClusterAsGroup", async function () {
318
368
  }
319
369
  })
320
370
 
321
- it("tke.v20180525.AcquireClusterAdminRole", async function () {
371
+ it("tke.v20180525.ModifyClusterNodePool", async function () {
322
372
  try {
323
- const data = await client.AcquireClusterAdminRole({})
373
+ const data = await client.ModifyClusterNodePool({})
324
374
  expect(data).to.be.ok
325
375
  } catch(error) {
326
376
  expect(error.requestId).to.be.ok
@@ -328,9 +378,9 @@ it("tke.v20180525.AcquireClusterAdminRole", async function () {
328
378
  }
329
379
  })
330
380
 
331
- it("tke.v20180525.DescribeExistedInstances", async function () {
381
+ it("tke.v20180525.DescribeRegions", async function () {
332
382
  try {
333
- const data = await client.DescribeExistedInstances({})
383
+ const data = await client.DescribeRegions({})
334
384
  expect(data).to.be.ok
335
385
  } catch(error) {
336
386
  expect(error.requestId).to.be.ok
@@ -338,9 +388,29 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
338
388
  }
339
389
  })
340
390
 
341
- it("tke.v20180525.CreateClusterRoute", async function () {
391
+ it("tke.v20180525.AddExistedInstances", async function () {
342
392
  try {
343
- const data = await client.CreateClusterRoute({})
393
+ const data = await client.AddExistedInstances({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
401
+ it("tke.v20180525.DescribePrometheusTargets", async function () {
402
+ try {
403
+ const data = await client.DescribePrometheusTargets({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
411
+ it("tke.v20180525.DeleteEKSContainerInstances", async function () {
412
+ try {
413
+ const data = await client.DeleteEKSContainerInstances({})
344
414
  expect(data).to.be.ok
345
415
  } catch(error) {
346
416
  expect(error.requestId).to.be.ok
@@ -358,9 +428,9 @@ it("tke.v20180525.DescribeClusterInstances", async function () {
358
428
  }
359
429
  })
360
430
 
361
- it("tke.v20180525.CreateClusterRouteTable", async function () {
431
+ it("tke.v20180525.DescribeClusterControllers", async function () {
362
432
  try {
363
- const data = await client.CreateClusterRouteTable({})
433
+ const data = await client.DescribeClusterControllers({})
364
434
  expect(data).to.be.ok
365
435
  } catch(error) {
366
436
  expect(error.requestId).to.be.ok
@@ -368,9 +438,9 @@ it("tke.v20180525.CreateClusterRouteTable", async function () {
368
438
  }
369
439
  })
370
440
 
371
- it("tke.v20180525.ModifyClusterNodePool", async function () {
441
+ it("tke.v20180525.AddClusterCIDR", async function () {
372
442
  try {
373
- const data = await client.ModifyClusterNodePool({})
443
+ const data = await client.AddClusterCIDR({})
374
444
  expect(data).to.be.ok
375
445
  } catch(error) {
376
446
  expect(error.requestId).to.be.ok
@@ -378,9 +448,9 @@ it("tke.v20180525.ModifyClusterNodePool", async function () {
378
448
  }
379
449
  })
380
450
 
381
- it("tke.v20180525.GetUpgradeInstanceProgress", async function () {
451
+ it("tke.v20180525.DescribeEksContainerInstanceLog", async function () {
382
452
  try {
383
- const data = await client.GetUpgradeInstanceProgress({})
453
+ const data = await client.DescribeEksContainerInstanceLog({})
384
454
  expect(data).to.be.ok
385
455
  } catch(error) {
386
456
  expect(error.requestId).to.be.ok
@@ -388,9 +458,9 @@ it("tke.v20180525.GetUpgradeInstanceProgress", async function () {
388
458
  }
389
459
  })
390
460
 
391
- it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
461
+ it("tke.v20180525.UpdateEKSContainerInstance", async function () {
392
462
  try {
393
- const data = await client.DescribeClusterAsGroupOption({})
463
+ const data = await client.UpdateEKSContainerInstance({})
394
464
  expect(data).to.be.ok
395
465
  } catch(error) {
396
466
  expect(error.requestId).to.be.ok
@@ -398,9 +468,9 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
398
468
  }
399
469
  })
400
470
 
401
- it("tke.v20180525.AddNodeToNodePool", async function () {
471
+ it("tke.v20180525.DescribePrometheusAlertRule", async function () {
402
472
  try {
403
- const data = await client.AddNodeToNodePool({})
473
+ const data = await client.DescribePrometheusAlertRule({})
404
474
  expect(data).to.be.ok
405
475
  } catch(error) {
406
476
  expect(error.requestId).to.be.ok
@@ -408,9 +478,9 @@ it("tke.v20180525.AddNodeToNodePool", async function () {
408
478
  }
409
479
  })
410
480
 
411
- it("tke.v20180525.CreatePrometheusTemplate", async function () {
481
+ it("tke.v20180525.RestartEKSContainerInstances", async function () {
412
482
  try {
413
- const data = await client.CreatePrometheusTemplate({})
483
+ const data = await client.RestartEKSContainerInstances({})
414
484
  expect(data).to.be.ok
415
485
  } catch(error) {
416
486
  expect(error.requestId).to.be.ok
@@ -418,9 +488,9 @@ it("tke.v20180525.CreatePrometheusTemplate", async function () {
418
488
  }
419
489
  })
420
490
 
421
- it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
491
+ it("tke.v20180525.ModifyNodePoolDesiredCapacityAboutAsg", async function () {
422
492
  try {
423
- const data = await client.DescribeClusterEndpointStatus({})
493
+ const data = await client.ModifyNodePoolDesiredCapacityAboutAsg({})
424
494
  expect(data).to.be.ok
425
495
  } catch(error) {
426
496
  expect(error.requestId).to.be.ok
@@ -428,9 +498,9 @@ it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
428
498
  }
429
499
  })
430
500
 
431
- it("tke.v20180525.DescribeClusterAsGroups", async function () {
501
+ it("tke.v20180525.CreateEKSCluster", async function () {
432
502
  try {
433
- const data = await client.DescribeClusterAsGroups({})
503
+ const data = await client.CreateEKSCluster({})
434
504
  expect(data).to.be.ok
435
505
  } catch(error) {
436
506
  expect(error.requestId).to.be.ok
@@ -438,9 +508,9 @@ it("tke.v20180525.DescribeClusterAsGroups", async function () {
438
508
  }
439
509
  })
440
510
 
441
- it("tke.v20180525.CreateClusterNodePool", async function () {
511
+ it("tke.v20180525.DescribeVpcCniPodLimits", async function () {
442
512
  try {
443
- const data = await client.CreateClusterNodePool({})
513
+ const data = await client.DescribeVpcCniPodLimits({})
444
514
  expect(data).to.be.ok
445
515
  } catch(error) {
446
516
  expect(error.requestId).to.be.ok
@@ -448,9 +518,9 @@ it("tke.v20180525.CreateClusterNodePool", async function () {
448
518
  }
449
519
  })
450
520
 
451
- it("tke.v20180525.UpgradeClusterInstances", async function () {
521
+ it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
452
522
  try {
453
- const data = await client.UpgradeClusterInstances({})
523
+ const data = await client.ModifyClusterAsGroupAttribute({})
454
524
  expect(data).to.be.ok
455
525
  } catch(error) {
456
526
  expect(error.requestId).to.be.ok
@@ -458,9 +528,9 @@ it("tke.v20180525.UpgradeClusterInstances", async function () {
458
528
  }
459
529
  })
460
530
 
461
- it("tke.v20180525.DescribeImages", async function () {
531
+ it("tke.v20180525.DescribePrometheusTemplateSync", async function () {
462
532
  try {
463
- const data = await client.DescribeImages({})
533
+ const data = await client.DescribePrometheusTemplateSync({})
464
534
  expect(data).to.be.ok
465
535
  } catch(error) {
466
536
  expect(error.requestId).to.be.ok
@@ -468,9 +538,9 @@ it("tke.v20180525.DescribeImages", async function () {
468
538
  }
469
539
  })
470
540
 
471
- it("tke.v20180525.CreateClusterEndpoint", async function () {
541
+ it("tke.v20180525.DescribePrometheusInstance", async function () {
472
542
  try {
473
- const data = await client.CreateClusterEndpoint({})
543
+ const data = await client.DescribePrometheusInstance({})
474
544
  expect(data).to.be.ok
475
545
  } catch(error) {
476
546
  expect(error.requestId).to.be.ok
@@ -478,9 +548,9 @@ it("tke.v20180525.CreateClusterEndpoint", async function () {
478
548
  }
479
549
  })
480
550
 
481
- it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
551
+ it("tke.v20180525.DescribeClusterEndpointVipStatus", async function () {
482
552
  try {
483
- const data = await client.CreateClusterNodePoolFromExistingAsg({})
553
+ const data = await client.DescribeClusterEndpointVipStatus({})
484
554
  expect(data).to.be.ok
485
555
  } catch(error) {
486
556
  expect(error.requestId).to.be.ok
@@ -488,9 +558,9 @@ it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
488
558
  }
489
559
  })
490
560
 
491
- it("tke.v20180525.DescribeClusters", async function () {
561
+ it("tke.v20180525.DescribeEKSContainerInstances", async function () {
492
562
  try {
493
- const data = await client.DescribeClusters({})
563
+ const data = await client.DescribeEKSContainerInstances({})
494
564
  expect(data).to.be.ok
495
565
  } catch(error) {
496
566
  expect(error.requestId).to.be.ok
@@ -498,9 +568,9 @@ it("tke.v20180525.DescribeClusters", async function () {
498
568
  }
499
569
  })
500
570
 
501
- it("tke.v20180525.DescribePrometheusAgentInstances", async function () {
571
+ it("tke.v20180525.DescribeRouteTableConflicts", async function () {
502
572
  try {
503
- const data = await client.DescribePrometheusAgentInstances({})
573
+ const data = await client.DescribeRouteTableConflicts({})
504
574
  expect(data).to.be.ok
505
575
  } catch(error) {
506
576
  expect(error.requestId).to.be.ok
@@ -508,9 +578,9 @@ it("tke.v20180525.DescribePrometheusAgentInstances", async function () {
508
578
  }
509
579
  })
510
580
 
511
- it("tke.v20180525.DescribeClusterRouteTables", async function () {
581
+ it("tke.v20180525.AcquireClusterAdminRole", async function () {
512
582
  try {
513
- const data = await client.DescribeClusterRouteTables({})
583
+ const data = await client.AcquireClusterAdminRole({})
514
584
  expect(data).to.be.ok
515
585
  } catch(error) {
516
586
  expect(error.requestId).to.be.ok
@@ -518,9 +588,9 @@ it("tke.v20180525.DescribeClusterRouteTables", async function () {
518
588
  }
519
589
  })
520
590
 
521
- it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
591
+ it("tke.v20180525.CreateClusterRoute", async function () {
522
592
  try {
523
- const data = await client.ModifyNodePoolInstanceTypes({})
593
+ const data = await client.CreateClusterRoute({})
524
594
  expect(data).to.be.ok
525
595
  } catch(error) {
526
596
  expect(error.requestId).to.be.ok
@@ -528,9 +598,9 @@ it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
528
598
  }
529
599
  })
530
600
 
531
- it("tke.v20180525.CreatePrometheusAlertRule", async function () {
601
+ it("tke.v20180525.CreateEKSContainerInstances", async function () {
532
602
  try {
533
- const data = await client.CreatePrometheusAlertRule({})
603
+ const data = await client.CreateEKSContainerInstances({})
534
604
  expect(data).to.be.ok
535
605
  } catch(error) {
536
606
  expect(error.requestId).to.be.ok
@@ -538,9 +608,9 @@ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
538
608
  }
539
609
  })
540
610
 
541
- it("tke.v20180525.DescribeRegions", async function () {
611
+ it("tke.v20180525.DeletePrometheusAlertRule", async function () {
542
612
  try {
543
- const data = await client.DescribeRegions({})
613
+ const data = await client.DeletePrometheusAlertRule({})
544
614
  expect(data).to.be.ok
545
615
  } catch(error) {
546
616
  expect(error.requestId).to.be.ok
@@ -548,9 +618,9 @@ it("tke.v20180525.DescribeRegions", async function () {
548
618
  }
549
619
  })
550
620
 
551
- it("tke.v20180525.AddExistedInstances", async function () {
621
+ it("tke.v20180525.CreateClusterEndpoint", async function () {
552
622
  try {
553
- const data = await client.AddExistedInstances({})
623
+ const data = await client.CreateClusterEndpoint({})
554
624
  expect(data).to.be.ok
555
625
  } catch(error) {
556
626
  expect(error.requestId).to.be.ok
@@ -558,9 +628,9 @@ it("tke.v20180525.AddExistedInstances", async function () {
558
628
  }
559
629
  })
560
630
 
561
- it("tke.v20180525.DescribeEKSContainerInstanceRegions", async function () {
631
+ it("tke.v20180525.DescribePrometheusAgentInstances", async function () {
562
632
  try {
563
- const data = await client.DescribeEKSContainerInstanceRegions({})
633
+ const data = await client.DescribePrometheusAgentInstances({})
564
634
  expect(data).to.be.ok
565
635
  } catch(error) {
566
636
  expect(error.requestId).to.be.ok
@@ -568,9 +638,9 @@ it("tke.v20180525.DescribeEKSContainerInstanceRegions", async function () {
568
638
  }
569
639
  })
570
640
 
571
- it("tke.v20180525.ModifyPrometheusAlertRule", async function () {
641
+ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
572
642
  try {
573
- const data = await client.ModifyPrometheusAlertRule({})
643
+ const data = await client.CreatePrometheusAlertRule({})
574
644
  expect(data).to.be.ok
575
645
  } catch(error) {
576
646
  expect(error.requestId).to.be.ok
@@ -578,9 +648,9 @@ it("tke.v20180525.ModifyPrometheusAlertRule", async function () {
578
648
  }
579
649
  })
580
650
 
581
- it("tke.v20180525.DeleteEKSCluster", async function () {
651
+ it("tke.v20180525.DescribeClusterSecurity", async function () {
582
652
  try {
583
- const data = await client.DeleteEKSCluster({})
653
+ const data = await client.DescribeClusterSecurity({})
584
654
  expect(data).to.be.ok
585
655
  } catch(error) {
586
656
  expect(error.requestId).to.be.ok
@@ -588,9 +658,9 @@ it("tke.v20180525.DeleteEKSCluster", async function () {
588
658
  }
589
659
  })
590
660
 
591
- it("tke.v20180525.DescribeClusterNodePools", async function () {
661
+ it("tke.v20180525.DeleteClusterNodePool", async function () {
592
662
  try {
593
- const data = await client.DescribeClusterNodePools({})
663
+ const data = await client.DeleteClusterNodePool({})
594
664
  expect(data).to.be.ok
595
665
  } catch(error) {
596
666
  expect(error.requestId).to.be.ok
@@ -598,9 +668,9 @@ it("tke.v20180525.DescribeClusterNodePools", async function () {
598
668
  }
599
669
  })
600
670
 
601
- it("tke.v20180525.ModifyPrometheusTemplate", async function () {
671
+ it("tke.v20180525.DeleteClusterEndpointVip", async function () {
602
672
  try {
603
- const data = await client.ModifyPrometheusTemplate({})
673
+ const data = await client.DeleteClusterEndpointVip({})
604
674
  expect(data).to.be.ok
605
675
  } catch(error) {
606
676
  expect(error.requestId).to.be.ok
@@ -608,9 +678,9 @@ it("tke.v20180525.ModifyPrometheusTemplate", async function () {
608
678
  }
609
679
  })
610
680
 
611
- it("tke.v20180525.DescribeClusterSecurity", async function () {
681
+ it("tke.v20180525.DescribeClusterNodePools", async function () {
612
682
  try {
613
- const data = await client.DescribeClusterSecurity({})
683
+ const data = await client.DescribeClusterNodePools({})
614
684
  expect(data).to.be.ok
615
685
  } catch(error) {
616
686
  expect(error.requestId).to.be.ok
@@ -618,9 +688,9 @@ it("tke.v20180525.DescribeClusterSecurity", async function () {
618
688
  }
619
689
  })
620
690
 
621
- it("tke.v20180525.DisableVpcCniNetworkType", async function () {
691
+ it("tke.v20180525.DescribeImages", async function () {
622
692
  try {
623
- const data = await client.DisableVpcCniNetworkType({})
693
+ const data = await client.DescribeImages({})
624
694
  expect(data).to.be.ok
625
695
  } catch(error) {
626
696
  expect(error.requestId).to.be.ok
@@ -628,9 +698,9 @@ it("tke.v20180525.DisableVpcCniNetworkType", async function () {
628
698
  }
629
699
  })
630
700
 
631
- it("tke.v20180525.DescribeRouteTableConflicts", async function () {
701
+ it("tke.v20180525.ModifyClusterEndpointSP", async function () {
632
702
  try {
633
- const data = await client.DescribeRouteTableConflicts({})
703
+ const data = await client.ModifyClusterEndpointSP({})
634
704
  expect(data).to.be.ok
635
705
  } catch(error) {
636
706
  expect(error.requestId).to.be.ok
@@ -638,9 +708,9 @@ it("tke.v20180525.DescribeRouteTableConflicts", async function () {
638
708
  }
639
709
  })
640
710
 
641
- it("tke.v20180525.DeletePrometheusAlertRule", async function () {
711
+ it("tke.v20180525.DescribeClusterRoutes", async function () {
642
712
  try {
643
- const data = await client.DeletePrometheusAlertRule({})
713
+ const data = await client.DescribeClusterRoutes({})
644
714
  expect(data).to.be.ok
645
715
  } catch(error) {
646
716
  expect(error.requestId).to.be.ok
@@ -648,9 +718,9 @@ it("tke.v20180525.DeletePrometheusAlertRule", async function () {
648
718
  }
649
719
  })
650
720
 
651
- it("tke.v20180525.DeleteClusterNodePool", async function () {
721
+ it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
652
722
  try {
653
- const data = await client.DeleteClusterNodePool({})
723
+ const data = await client.ModifyNodePoolInstanceTypes({})
654
724
  expect(data).to.be.ok
655
725
  } catch(error) {
656
726
  expect(error.requestId).to.be.ok
@@ -658,9 +728,9 @@ it("tke.v20180525.DeleteClusterNodePool", async function () {
658
728
  }
659
729
  })
660
730
 
661
- it("tke.v20180525.DescribeVersions", async function () {
731
+ it("tke.v20180525.CheckInstancesUpgradeAble", async function () {
662
732
  try {
663
- const data = await client.DescribeVersions({})
733
+ const data = await client.CheckInstancesUpgradeAble({})
664
734
  expect(data).to.be.ok
665
735
  } catch(error) {
666
736
  expect(error.requestId).to.be.ok
@@ -668,9 +738,9 @@ it("tke.v20180525.DescribeVersions", async function () {
668
738
  }
669
739
  })
670
740
 
671
- it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
741
+ it("tke.v20180525.CreatePrometheusDashboard", async function () {
672
742
  try {
673
- const data = await client.ModifyClusterAsGroupAttribute({})
743
+ const data = await client.CreatePrometheusDashboard({})
674
744
  expect(data).to.be.ok
675
745
  } catch(error) {
676
746
  expect(error.requestId).to.be.ok
@@ -678,9 +748,9 @@ it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
678
748
  }
679
749
  })
680
750
 
681
- it("tke.v20180525.DeleteClusterEndpointVip", async function () {
751
+ it("tke.v20180525.DescribePrometheusOverviews", async function () {
682
752
  try {
683
- const data = await client.DeleteClusterEndpointVip({})
753
+ const data = await client.DescribePrometheusOverviews({})
684
754
  expect(data).to.be.ok
685
755
  } catch(error) {
686
756
  expect(error.requestId).to.be.ok
@@ -688,9 +758,9 @@ it("tke.v20180525.DeleteClusterEndpointVip", async function () {
688
758
  }
689
759
  })
690
760
 
691
- it("tke.v20180525.DescribeClusterControllers", async function () {
761
+ it("tke.v20180525.DeletePrometheusTemplate", async function () {
692
762
  try {
693
- const data = await client.DescribeClusterControllers({})
763
+ const data = await client.DeletePrometheusTemplate({})
694
764
  expect(data).to.be.ok
695
765
  } catch(error) {
696
766
  expect(error.requestId).to.be.ok
@@ -698,9 +768,9 @@ it("tke.v20180525.DescribeClusterControllers", async function () {
698
768
  }
699
769
  })
700
770
 
701
- it("tke.v20180525.DeleteClusterInstances", async function () {
771
+ it("tke.v20180525.DescribePrometheusAgents", async function () {
702
772
  try {
703
- const data = await client.DeleteClusterInstances({})
773
+ const data = await client.DescribePrometheusAgents({})
704
774
  expect(data).to.be.ok
705
775
  } catch(error) {
706
776
  expect(error.requestId).to.be.ok
@@ -708,9 +778,9 @@ it("tke.v20180525.DeleteClusterInstances", async function () {
708
778
  }
709
779
  })
710
780
 
711
- it("tke.v20180525.DescribePrometheusTemplateSync", async function () {
781
+ it("tke.v20180525.DeleteClusterEndpoint", async function () {
712
782
  try {
713
- const data = await client.DescribePrometheusTemplateSync({})
783
+ const data = await client.DeleteClusterEndpoint({})
714
784
  expect(data).to.be.ok
715
785
  } catch(error) {
716
786
  expect(error.requestId).to.be.ok
@@ -718,9 +788,9 @@ it("tke.v20180525.DescribePrometheusTemplateSync", async function () {
718
788
  }
719
789
  })
720
790
 
721
- it("tke.v20180525.AddClusterCIDR", async function () {
791
+ it("tke.v20180525.ModifyPrometheusTemplate", async function () {
722
792
  try {
723
- const data = await client.AddClusterCIDR({})
793
+ const data = await client.ModifyPrometheusTemplate({})
724
794
  expect(data).to.be.ok
725
795
  } catch(error) {
726
796
  expect(error.requestId).to.be.ok
@@ -738,9 +808,9 @@ it("tke.v20180525.DescribeClusterKubeconfig", async function () {
738
808
  }
739
809
  })
740
810
 
741
- it("tke.v20180525.UpdateEKSCluster", async function () {
811
+ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
742
812
  try {
743
- const data = await client.UpdateEKSCluster({})
813
+ const data = await client.DescribeClusterAsGroupOption({})
744
814
  expect(data).to.be.ok
745
815
  } catch(error) {
746
816
  expect(error.requestId).to.be.ok
@@ -748,9 +818,9 @@ it("tke.v20180525.UpdateEKSCluster", async function () {
748
818
  }
749
819
  })
750
820
 
751
- it("tke.v20180525.UpdateClusterVersion", async function () {
821
+ it("tke.v20180525.DescribeEKSClusters", async function () {
752
822
  try {
753
- const data = await client.UpdateClusterVersion({})
823
+ const data = await client.DescribeEKSClusters({})
754
824
  expect(data).to.be.ok
755
825
  } catch(error) {
756
826
  expect(error.requestId).to.be.ok
@@ -758,9 +828,9 @@ it("tke.v20180525.UpdateClusterVersion", async function () {
758
828
  }
759
829
  })
760
830
 
761
- it("tke.v20180525.DescribeEKSClusterCredential", async function () {
831
+ it("tke.v20180525.CreateClusterNodePool", async function () {
762
832
  try {
763
- const data = await client.DescribeEKSClusterCredential({})
833
+ const data = await client.CreateClusterNodePool({})
764
834
  expect(data).to.be.ok
765
835
  } catch(error) {
766
836
  expect(error.requestId).to.be.ok
@@ -768,9 +838,9 @@ it("tke.v20180525.DescribeEKSClusterCredential", async function () {
768
838
  }
769
839
  })
770
840
 
771
- it("tke.v20180525.RemoveNodeFromNodePool", async function () {
841
+ it("tke.v20180525.DescribeEnableVpcCniProgress", async function () {
772
842
  try {
773
- const data = await client.RemoveNodeFromNodePool({})
843
+ const data = await client.DescribeEnableVpcCniProgress({})
774
844
  expect(data).to.be.ok
775
845
  } catch(error) {
776
846
  expect(error.requestId).to.be.ok
@@ -778,9 +848,9 @@ it("tke.v20180525.RemoveNodeFromNodePool", async function () {
778
848
  }
779
849
  })
780
850
 
781
- it("tke.v20180525.DescribePrometheusAlertRule", async function () {
851
+ it("tke.v20180525.SyncPrometheusTemplate", async function () {
782
852
  try {
783
- const data = await client.DescribePrometheusAlertRule({})
853
+ const data = await client.SyncPrometheusTemplate({})
784
854
  expect(data).to.be.ok
785
855
  } catch(error) {
786
856
  expect(error.requestId).to.be.ok
@@ -788,9 +858,9 @@ it("tke.v20180525.DescribePrometheusAlertRule", async function () {
788
858
  }
789
859
  })
790
860
 
791
- it("tke.v20180525.DescribeAvailableClusterVersion", async function () {
861
+ it("tke.v20180525.DescribeEKSContainerInstanceRegions", async function () {
792
862
  try {
793
- const data = await client.DescribeAvailableClusterVersion({})
863
+ const data = await client.DescribeEKSContainerInstanceRegions({})
794
864
  expect(data).to.be.ok
795
865
  } catch(error) {
796
866
  expect(error.requestId).to.be.ok
@@ -798,9 +868,9 @@ it("tke.v20180525.DescribeAvailableClusterVersion", async function () {
798
868
  }
799
869
  })
800
870
 
801
- it("tke.v20180525.ModifyClusterEndpointSP", async function () {
871
+ it("tke.v20180525.RemoveNodeFromNodePool", async function () {
802
872
  try {
803
- const data = await client.ModifyClusterEndpointSP({})
873
+ const data = await client.RemoveNodeFromNodePool({})
804
874
  expect(data).to.be.ok
805
875
  } catch(error) {
806
876
  expect(error.requestId).to.be.ok
@@ -808,9 +878,9 @@ it("tke.v20180525.ModifyClusterEndpointSP", async function () {
808
878
  }
809
879
  })
810
880
 
811
- it("tke.v20180525.CreateClusterEndpointVip", async function () {
881
+ it("tke.v20180525.DisableVpcCniNetworkType", async function () {
812
882
  try {
813
- const data = await client.CreateClusterEndpointVip({})
883
+ const data = await client.DisableVpcCniNetworkType({})
814
884
  expect(data).to.be.ok
815
885
  } catch(error) {
816
886
  expect(error.requestId).to.be.ok
@@ -818,9 +888,9 @@ it("tke.v20180525.CreateClusterEndpointVip", async function () {
818
888
  }
819
889
  })
820
890
 
821
- it("tke.v20180525.DeleteClusterRouteTable", async function () {
891
+ it("tke.v20180525.DeleteClusterInstances", async function () {
822
892
  try {
823
- const data = await client.DeleteClusterRouteTable({})
893
+ const data = await client.DeleteClusterInstances({})
824
894
  expect(data).to.be.ok
825
895
  } catch(error) {
826
896
  expect(error.requestId).to.be.ok
@@ -828,9 +898,9 @@ it("tke.v20180525.DeleteClusterRouteTable", async function () {
828
898
  }
829
899
  })
830
900
 
831
- it("tke.v20180525.DescribeClusterRoutes", async function () {
901
+ it("tke.v20180525.UpdateEKSCluster", async function () {
832
902
  try {
833
- const data = await client.DescribeClusterRoutes({})
903
+ const data = await client.UpdateEKSCluster({})
834
904
  expect(data).to.be.ok
835
905
  } catch(error) {
836
906
  expect(error.requestId).to.be.ok
@@ -838,9 +908,9 @@ it("tke.v20180525.DescribeClusterRoutes", async function () {
838
908
  }
839
909
  })
840
910
 
841
- it("tke.v20180525.ModifyClusterAsGroupOptionAttribute", async function () {
911
+ it("tke.v20180525.CreateClusterEndpointVip", async function () {
842
912
  try {
843
- const data = await client.ModifyClusterAsGroupOptionAttribute({})
913
+ const data = await client.CreateClusterEndpointVip({})
844
914
  expect(data).to.be.ok
845
915
  } catch(error) {
846
916
  expect(error.requestId).to.be.ok