tencentcloud-sdk-tse 3.0.607 → 3.0.609
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201207/client.rb +504 -0
- data/lib/v20201207/models.rb +2424 -517
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d385b72b5d7a4f77f3df36bc1fc8ca0f5c70fc51
|
4
|
+
data.tar.gz: 325a3439ca241a4b047c66114c8903a363ea273e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e25063f19d0bd747dceded4bfbe822e2d4945df0f4c775de78816bee7e95880662e363cac0d50886c5b6ba5b89b62e1ecd880f3c8ba0ae48ce2acc7bbce4fbc
|
7
|
+
data.tar.gz: 92995022f3065d8ee5812e6be62efd4864e853a504bd5c4b5ccc0dba89e158e725f820d67b1fa22462c578264a3c26a2ea15dcf6e7295d8725a3d584d08fc161
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.609
|
data/lib/v20201207/client.rb
CHANGED
@@ -29,6 +29,126 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建云原生网关的灰度规则
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayCanaryRule.
|
35
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayCanaryRuleRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayCanaryRuleResponse`
|
37
|
+
def CreateCloudNativeAPIGatewayCanaryRule(request)
|
38
|
+
body = send_request('CreateCloudNativeAPIGatewayCanaryRule', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateCloudNativeAPIGatewayCanaryRuleResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 创建云原生网关路由
|
57
|
+
|
58
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayRoute.
|
59
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayRouteRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayRouteResponse`
|
61
|
+
def CreateCloudNativeAPIGatewayRoute(request)
|
62
|
+
body = send_request('CreateCloudNativeAPIGatewayRoute', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = CreateCloudNativeAPIGatewayRouteResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 创建云原生网关限流插件(路由)
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayRouteRateLimit.
|
83
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayRouteRateLimitRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayRouteRateLimitResponse`
|
85
|
+
def CreateCloudNativeAPIGatewayRouteRateLimit(request)
|
86
|
+
body = send_request('CreateCloudNativeAPIGatewayRouteRateLimit', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateCloudNativeAPIGatewayRouteRateLimitResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 创建云原生网关服务
|
105
|
+
|
106
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayService.
|
107
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayServiceRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayServiceResponse`
|
109
|
+
def CreateCloudNativeAPIGatewayService(request)
|
110
|
+
body = send_request('CreateCloudNativeAPIGatewayService', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = CreateCloudNativeAPIGatewayServiceResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 创建云原生网关限流插件(服务)
|
129
|
+
|
130
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayServiceRateLimit.
|
131
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayServiceRateLimitRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayServiceRateLimitResponse`
|
133
|
+
def CreateCloudNativeAPIGatewayServiceRateLimit(request)
|
134
|
+
body = send_request('CreateCloudNativeAPIGatewayServiceRateLimit', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = CreateCloudNativeAPIGatewayServiceRateLimitResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
32
152
|
# 创建引擎实例
|
33
153
|
|
34
154
|
# @param request: Request instance for CreateEngine.
|
@@ -53,6 +173,126 @@ module TencentCloud
|
|
53
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
174
|
end
|
55
175
|
|
176
|
+
# 删除云原生网关的灰度规则
|
177
|
+
|
178
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayCanaryRule.
|
179
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayCanaryRuleRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayCanaryRuleResponse`
|
181
|
+
def DeleteCloudNativeAPIGatewayCanaryRule(request)
|
182
|
+
body = send_request('DeleteCloudNativeAPIGatewayCanaryRule', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = DeleteCloudNativeAPIGatewayCanaryRuleResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
200
|
+
# 删除云原生网关路由
|
201
|
+
|
202
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayRoute.
|
203
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayRouteRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayRouteResponse`
|
205
|
+
def DeleteCloudNativeAPIGatewayRoute(request)
|
206
|
+
body = send_request('DeleteCloudNativeAPIGatewayRoute', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DeleteCloudNativeAPIGatewayRouteResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 删除云原生网关的限流插件(路由)
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayRouteRateLimit.
|
227
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayRouteRateLimitRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayRouteRateLimitResponse`
|
229
|
+
def DeleteCloudNativeAPIGatewayRouteRateLimit(request)
|
230
|
+
body = send_request('DeleteCloudNativeAPIGatewayRouteRateLimit', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteCloudNativeAPIGatewayRouteRateLimitResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 删除云原生网关服务
|
249
|
+
|
250
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayService.
|
251
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayServiceRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayServiceResponse`
|
253
|
+
def DeleteCloudNativeAPIGatewayService(request)
|
254
|
+
body = send_request('DeleteCloudNativeAPIGatewayService', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeleteCloudNativeAPIGatewayServiceResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 删除云原生网关的限流插件(服务)
|
273
|
+
|
274
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayServiceRateLimit.
|
275
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayServiceRateLimitRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayServiceRateLimitResponse`
|
277
|
+
def DeleteCloudNativeAPIGatewayServiceRateLimit(request)
|
278
|
+
body = send_request('DeleteCloudNativeAPIGatewayServiceRateLimit', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DeleteCloudNativeAPIGatewayServiceRateLimitResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
56
296
|
# 删除引擎实例
|
57
297
|
|
58
298
|
# @param request: Request instance for DeleteEngine.
|
@@ -77,6 +317,30 @@ module TencentCloud
|
|
77
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
318
|
end
|
79
319
|
|
320
|
+
# 查询云原生网关灰度规则列表
|
321
|
+
|
322
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayCanaryRules.
|
323
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesResponse`
|
325
|
+
def DescribeCloudNativeAPIGatewayCanaryRules(request)
|
326
|
+
body = send_request('DescribeCloudNativeAPIGatewayCanaryRules', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DescribeCloudNativeAPIGatewayCanaryRulesResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
80
344
|
# 获取云原生网关节点列表
|
81
345
|
|
82
346
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
|
@@ -101,6 +365,102 @@ module TencentCloud
|
|
101
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
366
|
end
|
103
367
|
|
368
|
+
# 查询云原生网关的限流插件(路由)
|
369
|
+
|
370
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayRouteRateLimit.
|
371
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitResponse`
|
373
|
+
def DescribeCloudNativeAPIGatewayRouteRateLimit(request)
|
374
|
+
body = send_request('DescribeCloudNativeAPIGatewayRouteRateLimit', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = DescribeCloudNativeAPIGatewayRouteRateLimitResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
392
|
+
# 查询云原生网关路由列表
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayRoutes.
|
395
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesResponse`
|
397
|
+
def DescribeCloudNativeAPIGatewayRoutes(request)
|
398
|
+
body = send_request('DescribeCloudNativeAPIGatewayRoutes', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribeCloudNativeAPIGatewayRoutesResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 查询云原生网关的限流插件(服务)
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayServiceRateLimit.
|
419
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitResponse`
|
421
|
+
def DescribeCloudNativeAPIGatewayServiceRateLimit(request)
|
422
|
+
body = send_request('DescribeCloudNativeAPIGatewayServiceRateLimit', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeCloudNativeAPIGatewayServiceRateLimitResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 查询云原生网关服务列表
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayServices.
|
443
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesResponse`
|
445
|
+
def DescribeCloudNativeAPIGatewayServices(request)
|
446
|
+
body = send_request('DescribeCloudNativeAPIGatewayServices', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeCloudNativeAPIGatewayServicesResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
104
464
|
# 查询Nacos类型引擎实例副本信息
|
105
465
|
|
106
466
|
# @param request: Request instance for DescribeNacosReplicas.
|
@@ -149,6 +509,30 @@ module TencentCloud
|
|
149
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
510
|
end
|
151
511
|
|
512
|
+
# 获取云原生网关服务详情
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeOneCloudNativeAPIGatewayService.
|
515
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeOneCloudNativeAPIGatewayServiceRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeOneCloudNativeAPIGatewayServiceResponse`
|
517
|
+
def DescribeOneCloudNativeAPIGatewayService(request)
|
518
|
+
body = send_request('DescribeOneCloudNativeAPIGatewayService', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeOneCloudNativeAPIGatewayServiceResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
152
536
|
# 查询引擎实例访问地址
|
153
537
|
|
154
538
|
# @param request: Request instance for DescribeSREInstanceAccessAddress.
|
@@ -245,6 +629,126 @@ module TencentCloud
|
|
245
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
630
|
end
|
247
631
|
|
632
|
+
# 修改云原生网关的灰度规则
|
633
|
+
|
634
|
+
# @param request: Request instance for ModifyCloudNativeAPIGatewayCanaryRule.
|
635
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayCanaryRuleRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayCanaryRuleResponse`
|
637
|
+
def ModifyCloudNativeAPIGatewayCanaryRule(request)
|
638
|
+
body = send_request('ModifyCloudNativeAPIGatewayCanaryRule', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = ModifyCloudNativeAPIGatewayCanaryRuleResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
656
|
+
# 修改云原生网关路由
|
657
|
+
|
658
|
+
# @param request: Request instance for ModifyCloudNativeAPIGatewayRoute.
|
659
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayRouteRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayRouteResponse`
|
661
|
+
def ModifyCloudNativeAPIGatewayRoute(request)
|
662
|
+
body = send_request('ModifyCloudNativeAPIGatewayRoute', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = ModifyCloudNativeAPIGatewayRouteResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
680
|
+
# 修改云原生网关限流插件(路由)
|
681
|
+
|
682
|
+
# @param request: Request instance for ModifyCloudNativeAPIGatewayRouteRateLimit.
|
683
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayRouteRateLimitRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayRouteRateLimitResponse`
|
685
|
+
def ModifyCloudNativeAPIGatewayRouteRateLimit(request)
|
686
|
+
body = send_request('ModifyCloudNativeAPIGatewayRouteRateLimit', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = ModifyCloudNativeAPIGatewayRouteRateLimitResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
704
|
+
# 修改云原生网关服务
|
705
|
+
|
706
|
+
# @param request: Request instance for ModifyCloudNativeAPIGatewayService.
|
707
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayServiceRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayServiceResponse`
|
709
|
+
def ModifyCloudNativeAPIGatewayService(request)
|
710
|
+
body = send_request('ModifyCloudNativeAPIGatewayService', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = ModifyCloudNativeAPIGatewayServiceResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
728
|
+
# 修改云原生网关限流插件(服务)
|
729
|
+
|
730
|
+
# @param request: Request instance for ModifyCloudNativeAPIGatewayServiceRateLimit.
|
731
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayServiceRateLimitRequest`
|
732
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayServiceRateLimitResponse`
|
733
|
+
def ModifyCloudNativeAPIGatewayServiceRateLimit(request)
|
734
|
+
body = send_request('ModifyCloudNativeAPIGatewayServiceRateLimit', request.serialize)
|
735
|
+
response = JSON.parse(body)
|
736
|
+
if response['Response'].key?('Error') == false
|
737
|
+
model = ModifyCloudNativeAPIGatewayServiceRateLimitResponse.new
|
738
|
+
model.deserialize(response['Response'])
|
739
|
+
model
|
740
|
+
else
|
741
|
+
code = response['Response']['Error']['Code']
|
742
|
+
message = response['Response']['Error']['Message']
|
743
|
+
reqid = response['Response']['RequestId']
|
744
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
+
end
|
746
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
+
raise e
|
748
|
+
rescue StandardError => e
|
749
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
+
end
|
751
|
+
|
248
752
|
# 修改引擎公网访问配置
|
249
753
|
|
250
754
|
# @param request: Request instance for UpdateEngineInternetAccess.
|