tencentcloud-sdk-nodejs 4.0.340 → 4.0.343

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 (117) hide show
  1. package/CHANGELOG.md +430 -0
  2. package/SERVICE_CHANGELOG.md +423 -54
  3. package/package.json +1 -1
  4. package/products.md +29 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
  7. package/src/services/apm/v20210622/apm_client.ts +47 -32
  8. package/src/services/apm/v20210622/apm_models.ts +310 -195
  9. package/src/services/cam/v20190116/cam_client.ts +2 -1
  10. package/src/services/cam/v20190116/cam_models.ts +119 -83
  11. package/src/services/ccc/v20200210/ccc_client.ts +1 -1
  12. package/src/services/ccc/v20200210/ccc_models.ts +31 -30
  13. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  14. package/src/services/cdc/index.ts +5 -0
  15. package/src/services/cdc/v20201214/cdc_client.ts +286 -0
  16. package/src/services/cdc/v20201214/cdc_models.ts +1651 -0
  17. package/src/services/cdc/v20201214/index.ts +6 -0
  18. package/src/services/cdn/v20180606/cdn_models.ts +2 -2
  19. package/src/services/cls/v20201016/cls_models.ts +9 -4
  20. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -1
  21. package/src/services/cpdp/v20190820/cpdp_models.ts +17 -9
  22. package/src/services/cvm/v20170312/cvm_models.ts +2 -0
  23. package/src/services/cwp/v20180228/cwp_models.ts +5 -0
  24. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  25. package/src/services/es/v20180416/es_models.ts +10 -5
  26. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  27. package/src/services/index.ts +1 -0
  28. package/src/services/lighthouse/v20200324/lighthouse_client.ts +12 -2
  29. package/src/services/ocr/v20181119/ocr_client.ts +0 -14
  30. package/src/services/redis/v20180412/redis_client.ts +13 -1
  31. package/src/services/redis/v20180412/redis_models.ts +46 -11
  32. package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
  33. package/src/services/sts/v20180813/sts_client.ts +1 -0
  34. package/src/services/sts/v20180813/sts_models.ts +23 -3
  35. package/src/services/teo/v20220106/teo_client.ts +23 -10
  36. package/src/services/teo/v20220106/teo_models.ts +130 -9
  37. package/src/services/tiw/v20190919/tiw_client.ts +3 -2
  38. package/src/services/tiw/v20190919/tiw_models.ts +79 -38
  39. package/src/services/tke/v20180525/tke_client.ts +510 -270
  40. package/src/services/tke/v20180525/tke_models.ts +4336 -3981
  41. package/src/services/tmt/v20180321/tmt_client.ts +61 -33
  42. package/src/services/tmt/v20180321/tmt_models.ts +285 -131
  43. package/src/services/trtc/v20190722/trtc_client.ts +215 -142
  44. package/src/services/trtc/v20190722/trtc_models.ts +772 -140
  45. package/src/services/vod/v20180717/vod_client.ts +32 -15
  46. package/src/services/vod/v20180717/vod_models.ts +69 -6
  47. package/src/services/vpc/v20170312/vpc_client.ts +36 -12
  48. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  49. package/tencentcloud/common/sdk_version.d.ts +1 -1
  50. package/tencentcloud/common/sdk_version.js +1 -1
  51. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
  52. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +14 -9
  53. package/tencentcloud/services/apm/v20210622/apm_client.js +19 -12
  54. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +267 -169
  55. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +100 -70
  56. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -1
  57. package/tencentcloud/services/ccc/v20200210/ccc_client.js +1 -1
  58. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +29 -28
  59. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  60. package/tencentcloud/services/cdc/index.d.ts +6 -0
  61. package/tencentcloud/services/cdc/index.js +7 -0
  62. package/tencentcloud/services/cdc/v20201214/cdc_client.d.ts +90 -0
  63. package/tencentcloud/services/cdc/v20201214/cdc_client.js +151 -0
  64. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +1370 -0
  65. package/tencentcloud/services/cdc/v20201214/cdc_models.js +18 -0
  66. package/tencentcloud/services/cdc/v20201214/index.d.ts +6 -0
  67. package/tencentcloud/services/cdc/v20201214/index.js +9 -0
  68. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
  69. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +7 -2
  70. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -1
  71. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +1 -1
  72. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +14 -6
  73. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -0
  74. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -0
  75. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  76. package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -4
  77. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  78. package/tencentcloud/services/index.d.ts +1 -0
  79. package/tencentcloud/services/index.js +2 -0
  80. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -2
  81. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +12 -2
  82. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -14
  83. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -14
  84. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  85. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  86. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +40 -10
  87. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
  88. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +20 -3
  89. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -5
  90. package/tencentcloud/services/teo/v20220106/teo_client.js +12 -6
  91. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +108 -4
  92. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
  93. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +69 -33
  94. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -11
  95. package/tencentcloud/services/tke/v20180525/tke_client.js +135 -15
  96. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3934 -3624
  97. package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +23 -13
  98. package/tencentcloud/services/tmt/v20180321/tmt_client.js +31 -17
  99. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +259 -123
  100. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +95 -68
  101. package/tencentcloud/services/trtc/v20190722/trtc_client.js +121 -86
  102. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +671 -134
  103. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +14 -6
  104. package/tencentcloud/services/vod/v20180717/vod_client.js +17 -7
  105. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +61 -6
  106. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +13 -5
  107. package/tencentcloud/services/vpc/v20170312/vpc_client.js +18 -6
  108. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +36 -0
  109. package/test/apm.v20210622.test.js +18 -8
  110. package/test/cdc.v20201214.test.js +221 -0
  111. package/test/redis.v20180412.test.js +10 -0
  112. package/test/teo.v20220106.test.js +14 -4
  113. package/test/tke.v20180525.test.js +210 -10
  114. package/test/tmt.v20180321.test.js +28 -8
  115. package/test/trtc.v20190722.test.js +74 -34
  116. package/test/vod.v20180717.test.js +14 -4
  117. package/test/vpc.v20170312.test.js +24 -4
@@ -0,0 +1,221 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.cdc.v20201214.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("cdc.v20201214.test.js", function () {
20
+
21
+ it("cdc.v20201214.ModifySiteDeviceInfo", async function () {
22
+ try {
23
+ const data = await client.ModifySiteDeviceInfo({})
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("cdc.v20201214.DeleteDedicatedClusters", async function () {
32
+ try {
33
+ const data = await client.DeleteDedicatedClusters({})
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("cdc.v20201214.DescribeDedicatedClusterCosCapacity", async function () {
42
+ try {
43
+ const data = await client.DescribeDedicatedClusterCosCapacity({})
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("cdc.v20201214.ModifySiteInfo", async function () {
52
+ try {
53
+ const data = await client.ModifySiteInfo({})
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("cdc.v20201214.DescribeDedicatedClusterHostStatistics", async function () {
62
+ try {
63
+ const data = await client.DescribeDedicatedClusterHostStatistics({})
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("cdc.v20201214.ModifyDedicatedClusterInfo", async function () {
72
+ try {
73
+ const data = await client.ModifyDedicatedClusterInfo({})
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("cdc.v20201214.DescribeSites", async function () {
82
+ try {
83
+ const data = await client.DescribeSites({})
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("cdc.v20201214.DescribeDedicatedClusterOrders", async function () {
92
+ try {
93
+ const data = await client.DescribeDedicatedClusterOrders({})
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("cdc.v20201214.ModifyOrderStatus", async function () {
102
+ try {
103
+ const data = await client.ModifyOrderStatus({})
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("cdc.v20201214.CreateDedicatedCluster", async function () {
112
+ try {
113
+ const data = await client.CreateDedicatedCluster({})
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("cdc.v20201214.DescribeDedicatedClusters", async function () {
122
+ try {
123
+ const data = await client.DescribeDedicatedClusters({})
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("cdc.v20201214.DescribeDedicatedClusterHosts", async function () {
132
+ try {
133
+ const data = await client.DescribeDedicatedClusterHosts({})
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("cdc.v20201214.DescribeDedicatedSupportedZones", async function () {
142
+ try {
143
+ const data = await client.DescribeDedicatedSupportedZones({})
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("cdc.v20201214.CreateDedicatedClusterOrder", async function () {
152
+ try {
153
+ const data = await client.CreateDedicatedClusterOrder({})
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("cdc.v20201214.DescribeDedicatedClusterOverview", async function () {
162
+ try {
163
+ const data = await client.DescribeDedicatedClusterOverview({})
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("cdc.v20201214.DeleteSites", async function () {
172
+ try {
173
+ const data = await client.DeleteSites({})
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("cdc.v20201214.DescribeSitesDetail", async function () {
182
+ try {
183
+ const data = await client.DescribeSitesDetail({})
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("cdc.v20201214.DescribeDedicatedClusterInstanceTypes", async function () {
192
+ try {
193
+ const data = await client.DescribeDedicatedClusterInstanceTypes({})
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("cdc.v20201214.DescribeDedicatedClusterTypes", async function () {
202
+ try {
203
+ const data = await client.DescribeDedicatedClusterTypes({})
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("cdc.v20201214.CreateSite", async function () {
212
+ try {
213
+ const data = await client.CreateSite({})
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
+ })
@@ -48,6 +48,16 @@ it("redis.v20180412.DescribeInstanceNodeInfo", async function () {
48
48
  }
49
49
  })
50
50
 
51
+ it("redis.v20180412.ModifyInstanceReadOnly", async function () {
52
+ try {
53
+ const data = await client.ModifyInstanceReadOnly({})
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
+
51
61
  it("redis.v20180412.DescribeInstanceMonitorBigKeySizeDist", async function () {
52
62
  try {
53
63
  const data = await client.DescribeInstanceMonitorBigKeySizeDist({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.teo.v20220106.Client({
18
18
  })
19
19
  describe("teo.v20220106.test.js", function () {
20
20
 
21
+ it("teo.v20220106.DownloadL7Logs", async function () {
22
+ try {
23
+ const data = await client.DownloadL7Logs({})
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
+
21
31
  it("teo.v20220106.CreatePurgeTask", async function () {
22
32
  try {
23
33
  const data = await client.CreatePurgeTask({})
@@ -38,9 +48,9 @@ it("teo.v20220106.DescribePurgeTasks", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("teo.v20220106.CreatePrefetchTask", async function () {
51
+ it("teo.v20220106.DescribePrefetchTasks", async function () {
42
52
  try {
43
- const data = await client.CreatePrefetchTask({})
53
+ const data = await client.DescribePrefetchTasks({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -48,9 +58,9 @@ it("teo.v20220106.CreatePrefetchTask", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("teo.v20220106.DescribePrefetchTasks", async function () {
61
+ it("teo.v20220106.CreatePrefetchTask", async function () {
52
62
  try {
53
- const data = await client.DescribePrefetchTasks({})
63
+ const data = await client.CreatePrefetchTask({})
54
64
  expect(data).to.be.ok
55
65
  } catch(error) {
56
66
  expect(error.requestId).to.be.ok
@@ -108,6 +108,16 @@ it("tke.v20180525.DescribeClusterCommonNames", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("tke.v20180525.EnableEventPersistence", async function () {
112
+ try {
113
+ const data = await client.EnableEventPersistence({})
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
+
111
121
  it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
112
122
  try {
113
123
  const data = await client.DescribePrometheusAlertHistory({})
@@ -168,6 +178,16 @@ it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
168
178
  }
169
179
  })
170
180
 
181
+ it("tke.v20180525.UninstallLogAgent", async function () {
182
+ try {
183
+ const data = await client.UninstallLogAgent({})
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
+
171
191
  it("tke.v20180525.DescribeVersions", async function () {
172
192
  try {
173
193
  const data = await client.DescribeVersions({})
@@ -188,6 +208,16 @@ it("tke.v20180525.DeleteEKSCluster", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("tke.v20180525.EnableClusterAudit", async function () {
212
+ try {
213
+ const data = await client.EnableClusterAudit({})
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
+
191
221
  it("tke.v20180525.ModifyClusterNodePool", async function () {
192
222
  try {
193
223
  const data = await client.ModifyClusterNodePool({})
@@ -248,6 +278,16 @@ it("tke.v20180525.DeleteClusterRouteTable", async function () {
248
278
  }
249
279
  })
250
280
 
281
+ it("tke.v20180525.ModifyPrometheusAlertPolicy", async function () {
282
+ try {
283
+ const data = await client.ModifyPrometheusAlertPolicy({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
251
291
  it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
252
292
  try {
253
293
  const data = await client.DescribeClusterAuthenticationOptions({})
@@ -348,6 +388,16 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
348
388
  }
349
389
  })
350
390
 
391
+ it("tke.v20180525.DescribeClusterNodePools", async function () {
392
+ try {
393
+ const data = await client.DescribeClusterNodePools({})
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
+
351
401
  it("tke.v20180525.DescribeEKSClusterCredential", async function () {
352
402
  try {
353
403
  const data = await client.DescribeEKSClusterCredential({})
@@ -428,6 +478,16 @@ it("tke.v20180525.AddExistedInstances", async function () {
428
478
  }
429
479
  })
430
480
 
481
+ it("tke.v20180525.ModifyClusterEndpointSP", async function () {
482
+ try {
483
+ const data = await client.ModifyClusterEndpointSP({})
484
+ expect(data).to.be.ok
485
+ } catch(error) {
486
+ expect(error.requestId).to.be.ok
487
+ expect(error.code).to.be.ok
488
+ }
489
+ })
490
+
431
491
  it("tke.v20180525.DisableClusterDeletionProtection", async function () {
432
492
  try {
433
493
  const data = await client.DisableClusterDeletionProtection({})
@@ -508,6 +568,16 @@ it("tke.v20180525.UpdateEKSContainerInstance", async function () {
508
568
  }
509
569
  })
510
570
 
571
+ it("tke.v20180525.DescribePrometheusTemp", async function () {
572
+ try {
573
+ const data = await client.DescribePrometheusTemp({})
574
+ expect(data).to.be.ok
575
+ } catch(error) {
576
+ expect(error.requestId).to.be.ok
577
+ expect(error.code).to.be.ok
578
+ }
579
+ })
580
+
511
581
  it("tke.v20180525.DescribePrometheusAlertRule", async function () {
512
582
  try {
513
583
  const data = await client.DescribePrometheusAlertRule({})
@@ -588,6 +658,16 @@ it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
588
658
  }
589
659
  })
590
660
 
661
+ it("tke.v20180525.CreatePrometheusTemp", async function () {
662
+ try {
663
+ const data = await client.CreatePrometheusTemp({})
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
+
591
671
  it("tke.v20180525.DescribeClusterAsGroups", async function () {
592
672
  try {
593
673
  const data = await client.DescribeClusterAsGroups({})
@@ -688,6 +768,16 @@ it("tke.v20180525.CreateEKSContainerInstances", async function () {
688
768
  }
689
769
  })
690
770
 
771
+ it("tke.v20180525.DescribePrometheusRecordRules", async function () {
772
+ try {
773
+ const data = await client.DescribePrometheusRecordRules({})
774
+ expect(data).to.be.ok
775
+ } catch(error) {
776
+ expect(error.requestId).to.be.ok
777
+ expect(error.code).to.be.ok
778
+ }
779
+ })
780
+
691
781
  it("tke.v20180525.DeletePrometheusAlertRule", async function () {
692
782
  try {
693
783
  const data = await client.DeletePrometheusAlertRule({})
@@ -758,6 +848,16 @@ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
758
848
  }
759
849
  })
760
850
 
851
+ it("tke.v20180525.ModifyPrometheusTemp", async function () {
852
+ try {
853
+ const data = await client.ModifyPrometheusTemp({})
854
+ expect(data).to.be.ok
855
+ } catch(error) {
856
+ expect(error.requestId).to.be.ok
857
+ expect(error.code).to.be.ok
858
+ }
859
+ })
860
+
761
861
  it("tke.v20180525.DescribeClusterControllers", async function () {
762
862
  try {
763
863
  const data = await client.DescribeClusterControllers({})
@@ -778,6 +878,16 @@ it("tke.v20180525.DescribeClusterSecurity", async function () {
778
878
  }
779
879
  })
780
880
 
881
+ it("tke.v20180525.DescribePrometheusClusterAgents", async function () {
882
+ try {
883
+ const data = await client.DescribePrometheusClusterAgents({})
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
+
781
891
  it("tke.v20180525.DeleteClusterNodePool", async function () {
782
892
  try {
783
893
  const data = await client.DeleteClusterNodePool({})
@@ -788,9 +898,9 @@ it("tke.v20180525.DeleteClusterNodePool", async function () {
788
898
  }
789
899
  })
790
900
 
791
- it("tke.v20180525.ScaleInClusterMaster", async function () {
901
+ it("tke.v20180525.InstallLogAgent", async function () {
792
902
  try {
793
- const data = await client.ScaleInClusterMaster({})
903
+ const data = await client.InstallLogAgent({})
794
904
  expect(data).to.be.ok
795
905
  } catch(error) {
796
906
  expect(error.requestId).to.be.ok
@@ -808,6 +918,16 @@ it("tke.v20180525.DescribeResourceUsage", async function () {
808
918
  }
809
919
  })
810
920
 
921
+ it("tke.v20180525.DescribePrometheusTempSync", async function () {
922
+ try {
923
+ const data = await client.DescribePrometheusTempSync({})
924
+ expect(data).to.be.ok
925
+ } catch(error) {
926
+ expect(error.requestId).to.be.ok
927
+ expect(error.code).to.be.ok
928
+ }
929
+ })
930
+
811
931
  it("tke.v20180525.DeleteClusterEndpointVip", async function () {
812
932
  try {
813
933
  const data = await client.DeleteClusterEndpointVip({})
@@ -818,9 +938,9 @@ it("tke.v20180525.DeleteClusterEndpointVip", async function () {
818
938
  }
819
939
  })
820
940
 
821
- it("tke.v20180525.DescribeClusterNodePools", async function () {
941
+ it("tke.v20180525.DescribePrometheusTemplates", async function () {
822
942
  try {
823
- const data = await client.DescribeClusterNodePools({})
943
+ const data = await client.DescribePrometheusTemplates({})
824
944
  expect(data).to.be.ok
825
945
  } catch(error) {
826
946
  expect(error.requestId).to.be.ok
@@ -838,9 +958,19 @@ it("tke.v20180525.DescribeImages", async function () {
838
958
  }
839
959
  })
840
960
 
841
- it("tke.v20180525.ModifyClusterEndpointSP", async function () {
961
+ it("tke.v20180525.DisableClusterAudit", async function () {
842
962
  try {
843
- const data = await client.ModifyClusterEndpointSP({})
963
+ const data = await client.DisableClusterAudit({})
964
+ expect(data).to.be.ok
965
+ } catch(error) {
966
+ expect(error.requestId).to.be.ok
967
+ expect(error.code).to.be.ok
968
+ }
969
+ })
970
+
971
+ it("tke.v20180525.ModifyClusterAuthenticationOptions", async function () {
972
+ try {
973
+ const data = await client.ModifyClusterAuthenticationOptions({})
844
974
  expect(data).to.be.ok
845
975
  } catch(error) {
846
976
  expect(error.requestId).to.be.ok
@@ -858,6 +988,16 @@ it("tke.v20180525.DescribeClusterRoutes", async function () {
858
988
  }
859
989
  })
860
990
 
991
+ it("tke.v20180525.SyncPrometheusTemp", async function () {
992
+ try {
993
+ const data = await client.SyncPrometheusTemp({})
994
+ expect(data).to.be.ok
995
+ } catch(error) {
996
+ expect(error.requestId).to.be.ok
997
+ expect(error.code).to.be.ok
998
+ }
999
+ })
1000
+
861
1001
  it("tke.v20180525.CreateImageCache", async function () {
862
1002
  try {
863
1003
  const data = await client.CreateImageCache({})
@@ -898,6 +1038,16 @@ it("tke.v20180525.DescribePrometheusOverviews", async function () {
898
1038
  }
899
1039
  })
900
1040
 
1041
+ it("tke.v20180525.CreatePrometheusAlertPolicy", async function () {
1042
+ try {
1043
+ const data = await client.CreatePrometheusAlertPolicy({})
1044
+ expect(data).to.be.ok
1045
+ } catch(error) {
1046
+ expect(error.requestId).to.be.ok
1047
+ expect(error.code).to.be.ok
1048
+ }
1049
+ })
1050
+
901
1051
  it("tke.v20180525.DeletePrometheusTemplate", async function () {
902
1052
  try {
903
1053
  const data = await client.DeletePrometheusTemplate({})
@@ -908,9 +1058,9 @@ it("tke.v20180525.DeletePrometheusTemplate", async function () {
908
1058
  }
909
1059
  })
910
1060
 
911
- it("tke.v20180525.ModifyClusterAuthenticationOptions", async function () {
1061
+ it("tke.v20180525.DescribePrometheusAlertPolicy", async function () {
912
1062
  try {
913
- const data = await client.ModifyClusterAuthenticationOptions({})
1063
+ const data = await client.DescribePrometheusAlertPolicy({})
914
1064
  expect(data).to.be.ok
915
1065
  } catch(error) {
916
1066
  expect(error.requestId).to.be.ok
@@ -928,6 +1078,16 @@ it("tke.v20180525.DescribePrometheusAgents", async function () {
928
1078
  }
929
1079
  })
930
1080
 
1081
+ it("tke.v20180525.DisableEventPersistence", async function () {
1082
+ try {
1083
+ const data = await client.DisableEventPersistence({})
1084
+ expect(data).to.be.ok
1085
+ } catch(error) {
1086
+ expect(error.requestId).to.be.ok
1087
+ expect(error.code).to.be.ok
1088
+ }
1089
+ })
1090
+
931
1091
  it("tke.v20180525.DeleteClusterEndpoint", async function () {
932
1092
  try {
933
1093
  const data = await client.DeleteClusterEndpoint({})
@@ -978,6 +1138,16 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
978
1138
  }
979
1139
  })
980
1140
 
1141
+ it("tke.v20180525.ScaleInClusterMaster", async function () {
1142
+ try {
1143
+ const data = await client.ScaleInClusterMaster({})
1144
+ expect(data).to.be.ok
1145
+ } catch(error) {
1146
+ expect(error.requestId).to.be.ok
1147
+ expect(error.code).to.be.ok
1148
+ }
1149
+ })
1150
+
981
1151
  it("tke.v20180525.DescribeEKSClusters", async function () {
982
1152
  try {
983
1153
  const data = await client.DescribeEKSClusters({})
@@ -998,9 +1168,9 @@ it("tke.v20180525.CreateClusterNodePool", async function () {
998
1168
  }
999
1169
  })
1000
1170
 
1001
- it("tke.v20180525.DescribePrometheusTemplates", async function () {
1171
+ it("tke.v20180525.DeletePrometheusTemp", async function () {
1002
1172
  try {
1003
- const data = await client.DescribePrometheusTemplates({})
1173
+ const data = await client.DeletePrometheusTemp({})
1004
1174
  expect(data).to.be.ok
1005
1175
  } catch(error) {
1006
1176
  expect(error.requestId).to.be.ok
@@ -1068,6 +1238,16 @@ it("tke.v20180525.DisableVpcCniNetworkType", async function () {
1068
1238
  }
1069
1239
  })
1070
1240
 
1241
+ it("tke.v20180525.DescribePrometheusInstancesOverview", async function () {
1242
+ try {
1243
+ const data = await client.DescribePrometheusInstancesOverview({})
1244
+ expect(data).to.be.ok
1245
+ } catch(error) {
1246
+ expect(error.requestId).to.be.ok
1247
+ expect(error.code).to.be.ok
1248
+ }
1249
+ })
1250
+
1071
1251
  it("tke.v20180525.DeleteClusterInstances", async function () {
1072
1252
  try {
1073
1253
  const data = await client.DeleteClusterInstances({})
@@ -1078,6 +1258,26 @@ it("tke.v20180525.DeleteClusterInstances", async function () {
1078
1258
  }
1079
1259
  })
1080
1260
 
1261
+ it("tke.v20180525.DeletePrometheusTempSync", async function () {
1262
+ try {
1263
+ const data = await client.DeletePrometheusTempSync({})
1264
+ expect(data).to.be.ok
1265
+ } catch(error) {
1266
+ expect(error.requestId).to.be.ok
1267
+ expect(error.code).to.be.ok
1268
+ }
1269
+ })
1270
+
1271
+ it("tke.v20180525.DeletePrometheusAlertPolicy", async function () {
1272
+ try {
1273
+ const data = await client.DeletePrometheusAlertPolicy({})
1274
+ expect(data).to.be.ok
1275
+ } catch(error) {
1276
+ expect(error.requestId).to.be.ok
1277
+ expect(error.code).to.be.ok
1278
+ }
1279
+ })
1280
+
1081
1281
  it("tke.v20180525.UpdateEKSCluster", async function () {
1082
1282
  try {
1083
1283
  const data = await client.UpdateEKSCluster({})