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
data/lib/v20201207/models.rb
CHANGED
@@ -86,6 +86,170 @@ module TencentCloud
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
# 灰度规则列表
|
90
|
+
class CloudAPIGatewayCanaryRuleList < TencentCloud::Common::AbstractModel
|
91
|
+
# @param CanaryRuleList: 灰度规则
|
92
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
93
|
+
# @type CanaryRuleList: Array
|
94
|
+
# @param TotalCount: 总数
|
95
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
96
|
+
# @type TotalCount: Integer
|
97
|
+
|
98
|
+
attr_accessor :CanaryRuleList, :TotalCount
|
99
|
+
|
100
|
+
def initialize(canaryrulelist=nil, totalcount=nil)
|
101
|
+
@CanaryRuleList = canaryrulelist
|
102
|
+
@TotalCount = totalcount
|
103
|
+
end
|
104
|
+
|
105
|
+
def deserialize(params)
|
106
|
+
unless params['CanaryRuleList'].nil?
|
107
|
+
@CanaryRuleList = []
|
108
|
+
params['CanaryRuleList'].each do |i|
|
109
|
+
cloudnativeapigatewaycanaryrule_tmp = CloudNativeAPIGatewayCanaryRule.new
|
110
|
+
cloudnativeapigatewaycanaryrule_tmp.deserialize(i)
|
111
|
+
@CanaryRuleList << cloudnativeapigatewaycanaryrule_tmp
|
112
|
+
end
|
113
|
+
end
|
114
|
+
@TotalCount = params['TotalCount']
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# 含百分比流量配置的服务
|
119
|
+
class CloudNativeAPIGatewayBalancedService < TencentCloud::Common::AbstractModel
|
120
|
+
# @param ServiceID: 服务 ID,作为入参时,必填
|
121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
122
|
+
# @type ServiceID: String
|
123
|
+
# @param ServiceName: 服务名称,作为入参时,无意义
|
124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
125
|
+
# @type ServiceName: String
|
126
|
+
# @param UpstreamName: Upstream 名称,作为入参时,无意义
|
127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
128
|
+
# @type UpstreamName: String
|
129
|
+
# @param Percent: 百分比,10 即 10%,范围0-100
|
130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
131
|
+
# @type Percent: Float
|
132
|
+
|
133
|
+
attr_accessor :ServiceID, :ServiceName, :UpstreamName, :Percent
|
134
|
+
|
135
|
+
def initialize(serviceid=nil, servicename=nil, upstreamname=nil, percent=nil)
|
136
|
+
@ServiceID = serviceid
|
137
|
+
@ServiceName = servicename
|
138
|
+
@UpstreamName = upstreamname
|
139
|
+
@Percent = percent
|
140
|
+
end
|
141
|
+
|
142
|
+
def deserialize(params)
|
143
|
+
@ServiceID = params['ServiceID']
|
144
|
+
@ServiceName = params['ServiceName']
|
145
|
+
@UpstreamName = params['UpstreamName']
|
146
|
+
@Percent = params['Percent']
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# 灰度规则
|
151
|
+
class CloudNativeAPIGatewayCanaryRule < TencentCloud::Common::AbstractModel
|
152
|
+
# @param Priority: 优先级,值范围为 0 到 100;值越大,优先级越高;不同规则间优先级不可重复
|
153
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
154
|
+
# @type Priority: Integer
|
155
|
+
# @param Enabled: 是否启用规则
|
156
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
157
|
+
# @type Enabled: Boolean
|
158
|
+
# @param ConditionList: 参数匹配条件
|
159
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
160
|
+
# @type ConditionList: Array
|
161
|
+
# @param BalancedServiceList: 服务的流量百分比配置
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type BalancedServiceList: Array
|
164
|
+
# @param ServiceId: 归属服务 ID
|
165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
166
|
+
# @type ServiceId: String
|
167
|
+
# @param ServiceName: 归属服务名称
|
168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
169
|
+
# @type ServiceName: String
|
170
|
+
|
171
|
+
attr_accessor :Priority, :Enabled, :ConditionList, :BalancedServiceList, :ServiceId, :ServiceName
|
172
|
+
|
173
|
+
def initialize(priority=nil, enabled=nil, conditionlist=nil, balancedservicelist=nil, serviceid=nil, servicename=nil)
|
174
|
+
@Priority = priority
|
175
|
+
@Enabled = enabled
|
176
|
+
@ConditionList = conditionlist
|
177
|
+
@BalancedServiceList = balancedservicelist
|
178
|
+
@ServiceId = serviceid
|
179
|
+
@ServiceName = servicename
|
180
|
+
end
|
181
|
+
|
182
|
+
def deserialize(params)
|
183
|
+
@Priority = params['Priority']
|
184
|
+
@Enabled = params['Enabled']
|
185
|
+
unless params['ConditionList'].nil?
|
186
|
+
@ConditionList = []
|
187
|
+
params['ConditionList'].each do |i|
|
188
|
+
cloudnativeapigatewaycanaryrulecondition_tmp = CloudNativeAPIGatewayCanaryRuleCondition.new
|
189
|
+
cloudnativeapigatewaycanaryrulecondition_tmp.deserialize(i)
|
190
|
+
@ConditionList << cloudnativeapigatewaycanaryrulecondition_tmp
|
191
|
+
end
|
192
|
+
end
|
193
|
+
unless params['BalancedServiceList'].nil?
|
194
|
+
@BalancedServiceList = []
|
195
|
+
params['BalancedServiceList'].each do |i|
|
196
|
+
cloudnativeapigatewaybalancedservice_tmp = CloudNativeAPIGatewayBalancedService.new
|
197
|
+
cloudnativeapigatewaybalancedservice_tmp.deserialize(i)
|
198
|
+
@BalancedServiceList << cloudnativeapigatewaybalancedservice_tmp
|
199
|
+
end
|
200
|
+
end
|
201
|
+
@ServiceId = params['ServiceId']
|
202
|
+
@ServiceName = params['ServiceName']
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# 灰度规则中的条件配置
|
207
|
+
class CloudNativeAPIGatewayCanaryRuleCondition < TencentCloud::Common::AbstractModel
|
208
|
+
# @param Type: 条件类型,支持 path, method, query, header, cookie, body 和 system。
|
209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
210
|
+
# @type Type: String
|
211
|
+
# @param Key: 参数名
|
212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
213
|
+
# @type Key: String
|
214
|
+
# @param Operator: 操作符,支持 "le", "eq", "lt", "ne", "ge", "gt", "regex", "exists", "in", "not in", "prefix" ,"exact", "regex" 等
|
215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
216
|
+
# @type Operator: String
|
217
|
+
# @param Value: 目标参数值
|
218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
219
|
+
# @type Value: String
|
220
|
+
# @param Delimiter: 分隔符,当 Operator 为 in 或者 not in 时生效。支持值为英文逗号,英文分号,空格,换行符。
|
221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
222
|
+
# @type Delimiter: String
|
223
|
+
# @param GlobalConfigId: 全局配置 Id
|
224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
+
# @type GlobalConfigId: String
|
226
|
+
# @param GlobalConfigName: 全局配置名称
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type GlobalConfigName: String
|
229
|
+
|
230
|
+
attr_accessor :Type, :Key, :Operator, :Value, :Delimiter, :GlobalConfigId, :GlobalConfigName
|
231
|
+
|
232
|
+
def initialize(type=nil, key=nil, operator=nil, value=nil, delimiter=nil, globalconfigid=nil, globalconfigname=nil)
|
233
|
+
@Type = type
|
234
|
+
@Key = key
|
235
|
+
@Operator = operator
|
236
|
+
@Value = value
|
237
|
+
@Delimiter = delimiter
|
238
|
+
@GlobalConfigId = globalconfigid
|
239
|
+
@GlobalConfigName = globalconfigname
|
240
|
+
end
|
241
|
+
|
242
|
+
def deserialize(params)
|
243
|
+
@Type = params['Type']
|
244
|
+
@Key = params['Key']
|
245
|
+
@Operator = params['Operator']
|
246
|
+
@Value = params['Value']
|
247
|
+
@Delimiter = params['Delimiter']
|
248
|
+
@GlobalConfigId = params['GlobalConfigId']
|
249
|
+
@GlobalConfigName = params['GlobalConfigName']
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
89
253
|
# 云原生API网关节点信息。
|
90
254
|
class CloudNativeAPIGatewayNode < TencentCloud::Common::AbstractModel
|
91
255
|
# @param NodeId: 云原生网关节点 id
|
@@ -131,6 +295,408 @@ module TencentCloud
|
|
131
295
|
end
|
132
296
|
end
|
133
297
|
|
298
|
+
# 云原生网关Tse 限流插件配置
|
299
|
+
class CloudNativeAPIGatewayRateLimitDetail < TencentCloud::Common::AbstractModel
|
300
|
+
# @param Enabled: 插件启用状态
|
301
|
+
# @type Enabled: Boolean
|
302
|
+
# @param QpsThresholds: qps阈值
|
303
|
+
# @type QpsThresholds: Array
|
304
|
+
# @param LimitBy: 限流依据
|
305
|
+
# ip service consumer credential path header
|
306
|
+
# @type LimitBy: String
|
307
|
+
# @param ResponseType: 响应策略
|
308
|
+
# url请求转发
|
309
|
+
# text 响应配置
|
310
|
+
# default 直接返回
|
311
|
+
# @type ResponseType: String
|
312
|
+
# @param HideClientHeaders: 是否隐藏限流客户端响应头
|
313
|
+
# @type HideClientHeaders: Boolean
|
314
|
+
# @param IsDelay: 是否开启请求排队
|
315
|
+
# @type IsDelay: Boolean
|
316
|
+
# @param Path: 需要进行流量控制的请求路径
|
317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
318
|
+
# @type Path: String
|
319
|
+
# @param Header: 需要进行流量控制的请求头Key
|
320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
321
|
+
# @type Header: String
|
322
|
+
# @param ExternalRedis: 外部redis配置
|
323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
324
|
+
# @type ExternalRedis: :class:`Tencentcloud::Tse.v20201207.models.ExternalRedis`
|
325
|
+
# @param Policy: 计数器策略
|
326
|
+
# local 单机
|
327
|
+
# redis 默认redis
|
328
|
+
# external_redis 外部redis
|
329
|
+
|
330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
331
|
+
# @type Policy: String
|
332
|
+
# @param RateLimitResponse: 响应配置,响应策略为text
|
333
|
+
|
334
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
335
|
+
# @type RateLimitResponse: :class:`Tencentcloud::Tse.v20201207.models.RateLimitResponse`
|
336
|
+
# @param RateLimitResponseUrl: 请求转发地址
|
337
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
338
|
+
# @type RateLimitResponseUrl: String
|
339
|
+
# @param LineUpTime: 排队时间
|
340
|
+
# @type LineUpTime: Integer
|
341
|
+
|
342
|
+
attr_accessor :Enabled, :QpsThresholds, :LimitBy, :ResponseType, :HideClientHeaders, :IsDelay, :Path, :Header, :ExternalRedis, :Policy, :RateLimitResponse, :RateLimitResponseUrl, :LineUpTime
|
343
|
+
|
344
|
+
def initialize(enabled=nil, qpsthresholds=nil, limitby=nil, responsetype=nil, hideclientheaders=nil, isdelay=nil, path=nil, header=nil, externalredis=nil, policy=nil, ratelimitresponse=nil, ratelimitresponseurl=nil, lineuptime=nil)
|
345
|
+
@Enabled = enabled
|
346
|
+
@QpsThresholds = qpsthresholds
|
347
|
+
@LimitBy = limitby
|
348
|
+
@ResponseType = responsetype
|
349
|
+
@HideClientHeaders = hideclientheaders
|
350
|
+
@IsDelay = isdelay
|
351
|
+
@Path = path
|
352
|
+
@Header = header
|
353
|
+
@ExternalRedis = externalredis
|
354
|
+
@Policy = policy
|
355
|
+
@RateLimitResponse = ratelimitresponse
|
356
|
+
@RateLimitResponseUrl = ratelimitresponseurl
|
357
|
+
@LineUpTime = lineuptime
|
358
|
+
end
|
359
|
+
|
360
|
+
def deserialize(params)
|
361
|
+
@Enabled = params['Enabled']
|
362
|
+
unless params['QpsThresholds'].nil?
|
363
|
+
@QpsThresholds = []
|
364
|
+
params['QpsThresholds'].each do |i|
|
365
|
+
qpsthreshold_tmp = QpsThreshold.new
|
366
|
+
qpsthreshold_tmp.deserialize(i)
|
367
|
+
@QpsThresholds << qpsthreshold_tmp
|
368
|
+
end
|
369
|
+
end
|
370
|
+
@LimitBy = params['LimitBy']
|
371
|
+
@ResponseType = params['ResponseType']
|
372
|
+
@HideClientHeaders = params['HideClientHeaders']
|
373
|
+
@IsDelay = params['IsDelay']
|
374
|
+
@Path = params['Path']
|
375
|
+
@Header = params['Header']
|
376
|
+
unless params['ExternalRedis'].nil?
|
377
|
+
@ExternalRedis = ExternalRedis.new
|
378
|
+
@ExternalRedis.deserialize(params['ExternalRedis'])
|
379
|
+
end
|
380
|
+
@Policy = params['Policy']
|
381
|
+
unless params['RateLimitResponse'].nil?
|
382
|
+
@RateLimitResponse = RateLimitResponse.new
|
383
|
+
@RateLimitResponse.deserialize(params['RateLimitResponse'])
|
384
|
+
end
|
385
|
+
@RateLimitResponseUrl = params['RateLimitResponseUrl']
|
386
|
+
@LineUpTime = params['LineUpTime']
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
# CreateCloudNativeAPIGatewayCanaryRule请求参数结构体
|
391
|
+
class CreateCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
|
392
|
+
# @param GatewayId: 网关 ID
|
393
|
+
# @type GatewayId: String
|
394
|
+
# @param ServiceId: 服务 ID
|
395
|
+
# @type ServiceId: String
|
396
|
+
# @param CanaryRule: 灰度规则配置
|
397
|
+
# @type CanaryRule: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayCanaryRule`
|
398
|
+
|
399
|
+
attr_accessor :GatewayId, :ServiceId, :CanaryRule
|
400
|
+
|
401
|
+
def initialize(gatewayid=nil, serviceid=nil, canaryrule=nil)
|
402
|
+
@GatewayId = gatewayid
|
403
|
+
@ServiceId = serviceid
|
404
|
+
@CanaryRule = canaryrule
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
@GatewayId = params['GatewayId']
|
409
|
+
@ServiceId = params['ServiceId']
|
410
|
+
unless params['CanaryRule'].nil?
|
411
|
+
@CanaryRule = CloudNativeAPIGatewayCanaryRule.new
|
412
|
+
@CanaryRule.deserialize(params['CanaryRule'])
|
413
|
+
end
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
# CreateCloudNativeAPIGatewayCanaryRule返回参数结构体
|
418
|
+
class CreateCloudNativeAPIGatewayCanaryRuleResponse < TencentCloud::Common::AbstractModel
|
419
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
420
|
+
# @type RequestId: String
|
421
|
+
|
422
|
+
attr_accessor :RequestId
|
423
|
+
|
424
|
+
def initialize(requestid=nil)
|
425
|
+
@RequestId = requestid
|
426
|
+
end
|
427
|
+
|
428
|
+
def deserialize(params)
|
429
|
+
@RequestId = params['RequestId']
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# CreateCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
434
|
+
class CreateCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
435
|
+
# @param GatewayId: 网关ID
|
436
|
+
# @type GatewayId: String
|
437
|
+
# @param Id: 路由id,或路由名称。
|
438
|
+
# 不支持“未命名”
|
439
|
+
# @type Id: String
|
440
|
+
# @param LimitDetail: 限流配置
|
441
|
+
# @type LimitDetail: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
442
|
+
|
443
|
+
attr_accessor :GatewayId, :Id, :LimitDetail
|
444
|
+
|
445
|
+
def initialize(gatewayid=nil, id=nil, limitdetail=nil)
|
446
|
+
@GatewayId = gatewayid
|
447
|
+
@Id = id
|
448
|
+
@LimitDetail = limitdetail
|
449
|
+
end
|
450
|
+
|
451
|
+
def deserialize(params)
|
452
|
+
@GatewayId = params['GatewayId']
|
453
|
+
@Id = params['Id']
|
454
|
+
unless params['LimitDetail'].nil?
|
455
|
+
@LimitDetail = CloudNativeAPIGatewayRateLimitDetail.new
|
456
|
+
@LimitDetail.deserialize(params['LimitDetail'])
|
457
|
+
end
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
# CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
462
|
+
class CreateCloudNativeAPIGatewayRouteRateLimitResponse < TencentCloud::Common::AbstractModel
|
463
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
464
|
+
# @type RequestId: String
|
465
|
+
|
466
|
+
attr_accessor :RequestId
|
467
|
+
|
468
|
+
def initialize(requestid=nil)
|
469
|
+
@RequestId = requestid
|
470
|
+
end
|
471
|
+
|
472
|
+
def deserialize(params)
|
473
|
+
@RequestId = params['RequestId']
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# CreateCloudNativeAPIGatewayRoute请求参数结构体
|
478
|
+
class CreateCloudNativeAPIGatewayRouteRequest < TencentCloud::Common::AbstractModel
|
479
|
+
# @param GatewayId: 网关ID
|
480
|
+
# @type GatewayId: String
|
481
|
+
# @param ServiceID: 所属服务的ID
|
482
|
+
# @type ServiceID: String
|
483
|
+
# @param RouteName: 路由的名字,实例级别唯一,可以不提供
|
484
|
+
# @type RouteName: String
|
485
|
+
# @param Methods: 路由的方法,其中方法可选值:
|
486
|
+
# - GET
|
487
|
+
# - POST
|
488
|
+
# - DELETE
|
489
|
+
# - PUT
|
490
|
+
# - OPTIONS
|
491
|
+
# - PATCH
|
492
|
+
# - HEAD
|
493
|
+
# - ANY
|
494
|
+
# - TRACE
|
495
|
+
# - COPY
|
496
|
+
# - MOVE
|
497
|
+
# - PROPFIND
|
498
|
+
# - PROPPATCH
|
499
|
+
# - MKCOL
|
500
|
+
# - LOCK
|
501
|
+
# - UNLOCK
|
502
|
+
# @type Methods: Array
|
503
|
+
# @param Hosts: 路由的域名
|
504
|
+
# @type Hosts: Array
|
505
|
+
# @param Paths: 路由的路径
|
506
|
+
# @type Paths: Array
|
507
|
+
# @param Protocols: 路由的协议,可选
|
508
|
+
# - https
|
509
|
+
# - http
|
510
|
+
# @type Protocols: Array
|
511
|
+
# @param PreserveHost: 转发到后端时是否保留Host
|
512
|
+
# @type PreserveHost: Boolean
|
513
|
+
# @param HttpsRedirectStatusCode: https重定向状态码
|
514
|
+
# @type HttpsRedirectStatusCode: Integer
|
515
|
+
# @param StripPath: 转发到后端时是否StripPath
|
516
|
+
# @type StripPath: Boolean
|
517
|
+
# @param ForceHttps: 是否开启强制HTTPS
|
518
|
+
# @type ForceHttps: Boolean
|
519
|
+
# @param DestinationPorts: 四层匹配的目的端口
|
520
|
+
# @type DestinationPorts: Array
|
521
|
+
# @param Headers: 路由的Headers
|
522
|
+
# @type Headers: Array
|
523
|
+
|
524
|
+
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
525
|
+
extend Gem::Deprecate
|
526
|
+
deprecate :ForceHttps, :none, 2023, 7
|
527
|
+
deprecate :ForceHttps=, :none, 2023, 7
|
528
|
+
|
529
|
+
def initialize(gatewayid=nil, serviceid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
|
530
|
+
@GatewayId = gatewayid
|
531
|
+
@ServiceID = serviceid
|
532
|
+
@RouteName = routename
|
533
|
+
@Methods = methods
|
534
|
+
@Hosts = hosts
|
535
|
+
@Paths = paths
|
536
|
+
@Protocols = protocols
|
537
|
+
@PreserveHost = preservehost
|
538
|
+
@HttpsRedirectStatusCode = httpsredirectstatuscode
|
539
|
+
@StripPath = strippath
|
540
|
+
@ForceHttps = forcehttps
|
541
|
+
@DestinationPorts = destinationports
|
542
|
+
@Headers = headers
|
543
|
+
end
|
544
|
+
|
545
|
+
def deserialize(params)
|
546
|
+
@GatewayId = params['GatewayId']
|
547
|
+
@ServiceID = params['ServiceID']
|
548
|
+
@RouteName = params['RouteName']
|
549
|
+
@Methods = params['Methods']
|
550
|
+
@Hosts = params['Hosts']
|
551
|
+
@Paths = params['Paths']
|
552
|
+
@Protocols = params['Protocols']
|
553
|
+
@PreserveHost = params['PreserveHost']
|
554
|
+
@HttpsRedirectStatusCode = params['HttpsRedirectStatusCode']
|
555
|
+
@StripPath = params['StripPath']
|
556
|
+
@ForceHttps = params['ForceHttps']
|
557
|
+
@DestinationPorts = params['DestinationPorts']
|
558
|
+
unless params['Headers'].nil?
|
559
|
+
@Headers = []
|
560
|
+
params['Headers'].each do |i|
|
561
|
+
kvmapping_tmp = KVMapping.new
|
562
|
+
kvmapping_tmp.deserialize(i)
|
563
|
+
@Headers << kvmapping_tmp
|
564
|
+
end
|
565
|
+
end
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# CreateCloudNativeAPIGatewayRoute返回参数结构体
|
570
|
+
class CreateCloudNativeAPIGatewayRouteResponse < TencentCloud::Common::AbstractModel
|
571
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
572
|
+
# @type RequestId: String
|
573
|
+
|
574
|
+
attr_accessor :RequestId
|
575
|
+
|
576
|
+
def initialize(requestid=nil)
|
577
|
+
@RequestId = requestid
|
578
|
+
end
|
579
|
+
|
580
|
+
def deserialize(params)
|
581
|
+
@RequestId = params['RequestId']
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
585
|
+
# CreateCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
586
|
+
class CreateCloudNativeAPIGatewayServiceRateLimitRequest < TencentCloud::Common::AbstractModel
|
587
|
+
# @param GatewayId: 网关ID
|
588
|
+
# @type GatewayId: String
|
589
|
+
# @param Name: 服务名称,或服务ID
|
590
|
+
# @type Name: String
|
591
|
+
# @param LimitDetail: 限流配置
|
592
|
+
# @type LimitDetail: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
593
|
+
|
594
|
+
attr_accessor :GatewayId, :Name, :LimitDetail
|
595
|
+
|
596
|
+
def initialize(gatewayid=nil, name=nil, limitdetail=nil)
|
597
|
+
@GatewayId = gatewayid
|
598
|
+
@Name = name
|
599
|
+
@LimitDetail = limitdetail
|
600
|
+
end
|
601
|
+
|
602
|
+
def deserialize(params)
|
603
|
+
@GatewayId = params['GatewayId']
|
604
|
+
@Name = params['Name']
|
605
|
+
unless params['LimitDetail'].nil?
|
606
|
+
@LimitDetail = CloudNativeAPIGatewayRateLimitDetail.new
|
607
|
+
@LimitDetail.deserialize(params['LimitDetail'])
|
608
|
+
end
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
# CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
613
|
+
class CreateCloudNativeAPIGatewayServiceRateLimitResponse < TencentCloud::Common::AbstractModel
|
614
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
615
|
+
# @type RequestId: String
|
616
|
+
|
617
|
+
attr_accessor :RequestId
|
618
|
+
|
619
|
+
def initialize(requestid=nil)
|
620
|
+
@RequestId = requestid
|
621
|
+
end
|
622
|
+
|
623
|
+
def deserialize(params)
|
624
|
+
@RequestId = params['RequestId']
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
# CreateCloudNativeAPIGatewayService请求参数结构体
|
629
|
+
class CreateCloudNativeAPIGatewayServiceRequest < TencentCloud::Common::AbstractModel
|
630
|
+
# @param GatewayId: 网关ID
|
631
|
+
# @type GatewayId: String
|
632
|
+
# @param Name: 服务名称
|
633
|
+
# @type Name: String
|
634
|
+
# @param Protocol: 请求协议:
|
635
|
+
# - https
|
636
|
+
# - http
|
637
|
+
# - tcp
|
638
|
+
# - udp
|
639
|
+
# @type Protocol: String
|
640
|
+
# @param Path: 请求路径
|
641
|
+
# @type Path: String
|
642
|
+
# @param Timeout: 超时时间,单位ms
|
643
|
+
# @type Timeout: Integer
|
644
|
+
# @param Retries: 重试次数
|
645
|
+
# @type Retries: Integer
|
646
|
+
# @param UpstreamType: 服务类型:
|
647
|
+
# - Kubernetes
|
648
|
+
# - Registry
|
649
|
+
# - IPList
|
650
|
+
# - HostIP
|
651
|
+
# - Scf
|
652
|
+
# @type UpstreamType: String
|
653
|
+
# @param UpstreamInfo: 服务配置信息
|
654
|
+
# @type UpstreamInfo: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamInfo`
|
655
|
+
|
656
|
+
attr_accessor :GatewayId, :Name, :Protocol, :Path, :Timeout, :Retries, :UpstreamType, :UpstreamInfo
|
657
|
+
|
658
|
+
def initialize(gatewayid=nil, name=nil, protocol=nil, path=nil, timeout=nil, retries=nil, upstreamtype=nil, upstreaminfo=nil)
|
659
|
+
@GatewayId = gatewayid
|
660
|
+
@Name = name
|
661
|
+
@Protocol = protocol
|
662
|
+
@Path = path
|
663
|
+
@Timeout = timeout
|
664
|
+
@Retries = retries
|
665
|
+
@UpstreamType = upstreamtype
|
666
|
+
@UpstreamInfo = upstreaminfo
|
667
|
+
end
|
668
|
+
|
669
|
+
def deserialize(params)
|
670
|
+
@GatewayId = params['GatewayId']
|
671
|
+
@Name = params['Name']
|
672
|
+
@Protocol = params['Protocol']
|
673
|
+
@Path = params['Path']
|
674
|
+
@Timeout = params['Timeout']
|
675
|
+
@Retries = params['Retries']
|
676
|
+
@UpstreamType = params['UpstreamType']
|
677
|
+
unless params['UpstreamInfo'].nil?
|
678
|
+
@UpstreamInfo = KongUpstreamInfo.new
|
679
|
+
@UpstreamInfo.deserialize(params['UpstreamInfo'])
|
680
|
+
end
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
# CreateCloudNativeAPIGatewayService返回参数结构体
|
685
|
+
class CreateCloudNativeAPIGatewayServiceResponse < TencentCloud::Common::AbstractModel
|
686
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
687
|
+
# @type RequestId: String
|
688
|
+
|
689
|
+
attr_accessor :RequestId
|
690
|
+
|
691
|
+
def initialize(requestid=nil)
|
692
|
+
@RequestId = requestid
|
693
|
+
end
|
694
|
+
|
695
|
+
def deserialize(params)
|
696
|
+
@RequestId = params['RequestId']
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
134
700
|
# CreateEngine请求参数结构体
|
135
701
|
class CreateEngineRequest < TencentCloud::Common::AbstractModel
|
136
702
|
# @param EngineType: 引擎类型。参考值:
|
@@ -307,24 +873,32 @@ module TencentCloud
|
|
307
873
|
end
|
308
874
|
end
|
309
875
|
|
310
|
-
#
|
311
|
-
class
|
312
|
-
# @param
|
313
|
-
# @type
|
876
|
+
# DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
|
877
|
+
class DeleteCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
|
878
|
+
# @param GatewayId: 网关 ID
|
879
|
+
# @type GatewayId: String
|
880
|
+
# @param ServiceId: 服务 ID
|
881
|
+
# @type ServiceId: String
|
882
|
+
# @param Priority: 优先级
|
883
|
+
# @type Priority: Integer
|
314
884
|
|
315
|
-
attr_accessor :
|
885
|
+
attr_accessor :GatewayId, :ServiceId, :Priority
|
316
886
|
|
317
|
-
def initialize(
|
318
|
-
@
|
887
|
+
def initialize(gatewayid=nil, serviceid=nil, priority=nil)
|
888
|
+
@GatewayId = gatewayid
|
889
|
+
@ServiceId = serviceid
|
890
|
+
@Priority = priority
|
319
891
|
end
|
320
892
|
|
321
893
|
def deserialize(params)
|
322
|
-
@
|
894
|
+
@GatewayId = params['GatewayId']
|
895
|
+
@ServiceId = params['ServiceId']
|
896
|
+
@Priority = params['Priority']
|
323
897
|
end
|
324
898
|
end
|
325
899
|
|
326
|
-
#
|
327
|
-
class
|
900
|
+
# DeleteCloudNativeAPIGatewayCanaryRule返回参数结构体
|
901
|
+
class DeleteCloudNativeAPIGatewayCanaryRuleResponse < TencentCloud::Common::AbstractModel
|
328
902
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
329
903
|
# @type RequestId: String
|
330
904
|
|
@@ -339,750 +913,2029 @@ module TencentCloud
|
|
339
913
|
end
|
340
914
|
end
|
341
915
|
|
342
|
-
#
|
343
|
-
class
|
344
|
-
# @param GatewayId:
|
916
|
+
# DeleteCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
917
|
+
class DeleteCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
918
|
+
# @param GatewayId: 网关Id
|
345
919
|
# @type GatewayId: String
|
346
|
-
# @param
|
347
|
-
#
|
348
|
-
# @
|
349
|
-
# @type Limit: Integer
|
350
|
-
# @param Offset: 翻页从第几个开始获取
|
351
|
-
# @type Offset: Integer
|
920
|
+
# @param Id: 路由Id,或路由名称。
|
921
|
+
# 不支持“未命名”
|
922
|
+
# @type Id: String
|
352
923
|
|
353
|
-
attr_accessor :GatewayId, :
|
924
|
+
attr_accessor :GatewayId, :Id
|
354
925
|
|
355
|
-
def initialize(gatewayid=nil,
|
926
|
+
def initialize(gatewayid=nil, id=nil)
|
356
927
|
@GatewayId = gatewayid
|
357
|
-
@
|
358
|
-
@Limit = limit
|
359
|
-
@Offset = offset
|
928
|
+
@Id = id
|
360
929
|
end
|
361
930
|
|
362
931
|
def deserialize(params)
|
363
932
|
@GatewayId = params['GatewayId']
|
364
|
-
@
|
365
|
-
@Limit = params['Limit']
|
366
|
-
@Offset = params['Offset']
|
933
|
+
@Id = params['Id']
|
367
934
|
end
|
368
935
|
end
|
369
936
|
|
370
|
-
#
|
371
|
-
class
|
372
|
-
# @param Result: 获取云原生网关节点列表结果。
|
373
|
-
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeCloudNativeAPIGatewayNodesResult`
|
937
|
+
# DeleteCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
938
|
+
class DeleteCloudNativeAPIGatewayRouteRateLimitResponse < TencentCloud::Common::AbstractModel
|
374
939
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
375
940
|
# @type RequestId: String
|
376
941
|
|
377
|
-
attr_accessor :
|
942
|
+
attr_accessor :RequestId
|
378
943
|
|
379
|
-
def initialize(
|
380
|
-
@Result = result
|
944
|
+
def initialize(requestid=nil)
|
381
945
|
@RequestId = requestid
|
382
946
|
end
|
383
947
|
|
384
948
|
def deserialize(params)
|
385
|
-
unless params['Result'].nil?
|
386
|
-
@Result = DescribeCloudNativeAPIGatewayNodesResult.new
|
387
|
-
@Result.deserialize(params['Result'])
|
388
|
-
end
|
389
949
|
@RequestId = params['RequestId']
|
390
950
|
end
|
391
951
|
end
|
392
952
|
|
393
|
-
#
|
394
|
-
class
|
395
|
-
# @param
|
396
|
-
# @type
|
397
|
-
# @param
|
398
|
-
# @type
|
953
|
+
# DeleteCloudNativeAPIGatewayRoute请求参数结构体
|
954
|
+
class DeleteCloudNativeAPIGatewayRouteRequest < TencentCloud::Common::AbstractModel
|
955
|
+
# @param GatewayId: 网关ID
|
956
|
+
# @type GatewayId: String
|
957
|
+
# @param Name: 路由的ID或名字,不支持名称“未命名”
|
958
|
+
# @type Name: String
|
399
959
|
|
400
|
-
attr_accessor :
|
960
|
+
attr_accessor :GatewayId, :Name
|
401
961
|
|
402
|
-
def initialize(
|
403
|
-
@
|
404
|
-
@
|
962
|
+
def initialize(gatewayid=nil, name=nil)
|
963
|
+
@GatewayId = gatewayid
|
964
|
+
@Name = name
|
405
965
|
end
|
406
966
|
|
407
967
|
def deserialize(params)
|
408
|
-
@
|
409
|
-
|
410
|
-
@NodeList = []
|
411
|
-
params['NodeList'].each do |i|
|
412
|
-
cloudnativeapigatewaynode_tmp = CloudNativeAPIGatewayNode.new
|
413
|
-
cloudnativeapigatewaynode_tmp.deserialize(i)
|
414
|
-
@NodeList << cloudnativeapigatewaynode_tmp
|
415
|
-
end
|
416
|
-
end
|
968
|
+
@GatewayId = params['GatewayId']
|
969
|
+
@Name = params['Name']
|
417
970
|
end
|
418
971
|
end
|
419
972
|
|
420
|
-
#
|
421
|
-
class
|
422
|
-
# @param
|
423
|
-
#
|
424
|
-
# @type EngineRegion: String
|
425
|
-
# @param Replica: 引擎在该地域的副本数
|
426
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
427
|
-
# @type Replica: Integer
|
428
|
-
# @param SpecId: 引擎在该地域的规格id
|
429
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
430
|
-
# @type SpecId: String
|
431
|
-
# @param IntranetVpcInfos: 内网的网络信息
|
432
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
433
|
-
# @type IntranetVpcInfos: Array
|
434
|
-
# @param EnableClientInternet: 是否开公网
|
435
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
436
|
-
# @type EnableClientInternet: Boolean
|
973
|
+
# DeleteCloudNativeAPIGatewayRoute返回参数结构体
|
974
|
+
class DeleteCloudNativeAPIGatewayRouteResponse < TencentCloud::Common::AbstractModel
|
975
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
976
|
+
# @type RequestId: String
|
437
977
|
|
438
|
-
attr_accessor :
|
978
|
+
attr_accessor :RequestId
|
439
979
|
|
440
|
-
def initialize(
|
441
|
-
@
|
442
|
-
@Replica = replica
|
443
|
-
@SpecId = specid
|
444
|
-
@IntranetVpcInfos = intranetvpcinfos
|
445
|
-
@EnableClientInternet = enableclientinternet
|
980
|
+
def initialize(requestid=nil)
|
981
|
+
@RequestId = requestid
|
446
982
|
end
|
447
983
|
|
448
984
|
def deserialize(params)
|
449
|
-
@
|
450
|
-
@Replica = params['Replica']
|
451
|
-
@SpecId = params['SpecId']
|
452
|
-
unless params['IntranetVpcInfos'].nil?
|
453
|
-
@IntranetVpcInfos = []
|
454
|
-
params['IntranetVpcInfos'].each do |i|
|
455
|
-
vpcinfo_tmp = VpcInfo.new
|
456
|
-
vpcinfo_tmp.deserialize(i)
|
457
|
-
@IntranetVpcInfos << vpcinfo_tmp
|
458
|
-
end
|
459
|
-
end
|
460
|
-
@EnableClientInternet = params['EnableClientInternet']
|
985
|
+
@RequestId = params['RequestId']
|
461
986
|
end
|
462
987
|
end
|
463
988
|
|
464
|
-
#
|
465
|
-
class
|
466
|
-
# @param
|
467
|
-
# @type
|
468
|
-
# @param
|
469
|
-
# @type
|
470
|
-
# @param Offset: 副本列表Offset
|
471
|
-
# @type Offset: Integer
|
989
|
+
# DeleteCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
990
|
+
class DeleteCloudNativeAPIGatewayServiceRateLimitRequest < TencentCloud::Common::AbstractModel
|
991
|
+
# @param GatewayId: 网关Id
|
992
|
+
# @type GatewayId: String
|
993
|
+
# @param Name: 服务名称,或服务ID
|
994
|
+
# @type Name: String
|
472
995
|
|
473
|
-
attr_accessor :
|
996
|
+
attr_accessor :GatewayId, :Name
|
474
997
|
|
475
|
-
def initialize(
|
476
|
-
@
|
477
|
-
@
|
478
|
-
@Offset = offset
|
998
|
+
def initialize(gatewayid=nil, name=nil)
|
999
|
+
@GatewayId = gatewayid
|
1000
|
+
@Name = name
|
479
1001
|
end
|
480
1002
|
|
481
1003
|
def deserialize(params)
|
482
|
-
@
|
483
|
-
@
|
484
|
-
@Offset = params['Offset']
|
1004
|
+
@GatewayId = params['GatewayId']
|
1005
|
+
@Name = params['Name']
|
485
1006
|
end
|
486
1007
|
end
|
487
1008
|
|
488
|
-
#
|
489
|
-
class
|
490
|
-
# @param Replicas: 引擎实例副本信息
|
491
|
-
# @type Replicas: Array
|
492
|
-
# @param TotalCount: 副本个数
|
493
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
494
|
-
# @type TotalCount: Integer
|
1009
|
+
# DeleteCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
1010
|
+
class DeleteCloudNativeAPIGatewayServiceRateLimitResponse < TencentCloud::Common::AbstractModel
|
495
1011
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
496
1012
|
# @type RequestId: String
|
497
1013
|
|
498
|
-
attr_accessor :
|
1014
|
+
attr_accessor :RequestId
|
499
1015
|
|
500
|
-
def initialize(
|
501
|
-
@Replicas = replicas
|
502
|
-
@TotalCount = totalcount
|
1016
|
+
def initialize(requestid=nil)
|
503
1017
|
@RequestId = requestid
|
504
1018
|
end
|
505
1019
|
|
506
1020
|
def deserialize(params)
|
507
|
-
unless params['Replicas'].nil?
|
508
|
-
@Replicas = []
|
509
|
-
params['Replicas'].each do |i|
|
510
|
-
nacosreplica_tmp = NacosReplica.new
|
511
|
-
nacosreplica_tmp.deserialize(i)
|
512
|
-
@Replicas << nacosreplica_tmp
|
513
|
-
end
|
514
|
-
end
|
515
|
-
@TotalCount = params['TotalCount']
|
516
1021
|
@RequestId = params['RequestId']
|
517
1022
|
end
|
518
1023
|
end
|
519
1024
|
|
520
|
-
#
|
521
|
-
class
|
522
|
-
# @param
|
523
|
-
# @type
|
524
|
-
# @param
|
525
|
-
# @type
|
526
|
-
# @param Offset: 返回的列表起始偏移量
|
527
|
-
# @type Offset: Integer
|
1025
|
+
# DeleteCloudNativeAPIGatewayService请求参数结构体
|
1026
|
+
class DeleteCloudNativeAPIGatewayServiceRequest < TencentCloud::Common::AbstractModel
|
1027
|
+
# @param GatewayId: 网关ID
|
1028
|
+
# @type GatewayId: String
|
1029
|
+
# @param Name: 服务名字,服务ID
|
1030
|
+
# @type Name: String
|
528
1031
|
|
529
|
-
attr_accessor :
|
1032
|
+
attr_accessor :GatewayId, :Name
|
530
1033
|
|
531
|
-
def initialize(
|
532
|
-
@
|
533
|
-
@
|
534
|
-
@Offset = offset
|
1034
|
+
def initialize(gatewayid=nil, name=nil)
|
1035
|
+
@GatewayId = gatewayid
|
1036
|
+
@Name = name
|
535
1037
|
end
|
536
1038
|
|
537
1039
|
def deserialize(params)
|
538
|
-
@
|
539
|
-
@
|
540
|
-
@Offset = params['Offset']
|
1040
|
+
@GatewayId = params['GatewayId']
|
1041
|
+
@Name = params['Name']
|
541
1042
|
end
|
542
1043
|
end
|
543
1044
|
|
544
|
-
#
|
545
|
-
class
|
546
|
-
# @param TotalCount: 接口总个数
|
547
|
-
# @type TotalCount: Integer
|
548
|
-
# @param Content: 接口列表
|
549
|
-
# @type Content: Array
|
1045
|
+
# DeleteCloudNativeAPIGatewayService返回参数结构体
|
1046
|
+
class DeleteCloudNativeAPIGatewayServiceResponse < TencentCloud::Common::AbstractModel
|
550
1047
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
551
1048
|
# @type RequestId: String
|
552
1049
|
|
553
|
-
attr_accessor :
|
1050
|
+
attr_accessor :RequestId
|
554
1051
|
|
555
|
-
def initialize(
|
556
|
-
@TotalCount = totalcount
|
557
|
-
@Content = content
|
1052
|
+
def initialize(requestid=nil)
|
558
1053
|
@RequestId = requestid
|
559
1054
|
end
|
560
1055
|
|
561
1056
|
def deserialize(params)
|
562
|
-
@TotalCount = params['TotalCount']
|
563
|
-
unless params['Content'].nil?
|
564
|
-
@Content = []
|
565
|
-
params['Content'].each do |i|
|
566
|
-
nacosserverinterface_tmp = NacosServerInterface.new
|
567
|
-
nacosserverinterface_tmp.deserialize(i)
|
568
|
-
@Content << nacosserverinterface_tmp
|
569
|
-
end
|
570
|
-
end
|
571
1057
|
@RequestId = params['RequestId']
|
572
1058
|
end
|
573
1059
|
end
|
574
1060
|
|
575
|
-
#
|
576
|
-
class
|
577
|
-
# @param InstanceId:
|
1061
|
+
# DeleteEngine请求参数结构体
|
1062
|
+
class DeleteEngineRequest < TencentCloud::Common::AbstractModel
|
1063
|
+
# @param InstanceId: 引擎实例 ID
|
578
1064
|
# @type InstanceId: String
|
579
|
-
# @param VpcId: VPC ID
|
580
|
-
# @type VpcId: String
|
581
|
-
# @param SubnetId: 子网ID
|
582
|
-
# @type SubnetId: String
|
583
|
-
# @param Workload: 引擎其他组件名称(pushgateway、polaris-limiter)
|
584
|
-
# @type Workload: String
|
585
|
-
# @param EngineRegion: 部署地域
|
586
|
-
# @type EngineRegion: String
|
587
1065
|
|
588
|
-
attr_accessor :InstanceId
|
1066
|
+
attr_accessor :InstanceId
|
589
1067
|
|
590
|
-
def initialize(instanceid=nil
|
1068
|
+
def initialize(instanceid=nil)
|
591
1069
|
@InstanceId = instanceid
|
592
|
-
@VpcId = vpcid
|
593
|
-
@SubnetId = subnetid
|
594
|
-
@Workload = workload
|
595
|
-
@EngineRegion = engineregion
|
596
1070
|
end
|
597
1071
|
|
598
1072
|
def deserialize(params)
|
599
1073
|
@InstanceId = params['InstanceId']
|
600
|
-
@VpcId = params['VpcId']
|
601
|
-
@SubnetId = params['SubnetId']
|
602
|
-
@Workload = params['Workload']
|
603
|
-
@EngineRegion = params['EngineRegion']
|
604
1074
|
end
|
605
1075
|
end
|
606
1076
|
|
607
|
-
#
|
608
|
-
class
|
609
|
-
# @param IntranetAddress: 内网访问地址
|
610
|
-
# @type IntranetAddress: String
|
611
|
-
# @param InternetAddress: 公网访问地址
|
612
|
-
# @type InternetAddress: String
|
613
|
-
# @param EnvAddressInfos: apollo多环境公网ip
|
614
|
-
# @type EnvAddressInfos: Array
|
615
|
-
# @param ConsoleInternetAddress: 控制台公网访问地址
|
616
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
617
|
-
# @type ConsoleInternetAddress: String
|
618
|
-
# @param ConsoleIntranetAddress: 控制台内网访问地址
|
619
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
620
|
-
# @type ConsoleIntranetAddress: String
|
621
|
-
# @param InternetBandWidth: 客户端公网带宽
|
622
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
623
|
-
# @type InternetBandWidth: Integer
|
624
|
-
# @param ConsoleInternetBandWidth: 控制台公网带宽
|
625
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
626
|
-
# @type ConsoleInternetBandWidth: Integer
|
627
|
-
# @param LimiterAddressInfos: 北极星限流server节点接入IP
|
628
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
629
|
-
# @type LimiterAddressInfos: Array
|
1077
|
+
# DeleteEngine返回参数结构体
|
1078
|
+
class DeleteEngineResponse < TencentCloud::Common::AbstractModel
|
630
1079
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
631
1080
|
# @type RequestId: String
|
632
1081
|
|
633
|
-
attr_accessor :
|
1082
|
+
attr_accessor :RequestId
|
634
1083
|
|
635
|
-
def initialize(
|
636
|
-
@IntranetAddress = intranetaddress
|
637
|
-
@InternetAddress = internetaddress
|
638
|
-
@EnvAddressInfos = envaddressinfos
|
639
|
-
@ConsoleInternetAddress = consoleinternetaddress
|
640
|
-
@ConsoleIntranetAddress = consoleintranetaddress
|
641
|
-
@InternetBandWidth = internetbandwidth
|
642
|
-
@ConsoleInternetBandWidth = consoleinternetbandwidth
|
643
|
-
@LimiterAddressInfos = limiteraddressinfos
|
1084
|
+
def initialize(requestid=nil)
|
644
1085
|
@RequestId = requestid
|
645
1086
|
end
|
646
1087
|
|
647
1088
|
def deserialize(params)
|
648
|
-
@IntranetAddress = params['IntranetAddress']
|
649
|
-
@InternetAddress = params['InternetAddress']
|
650
|
-
unless params['EnvAddressInfos'].nil?
|
651
|
-
@EnvAddressInfos = []
|
652
|
-
params['EnvAddressInfos'].each do |i|
|
653
|
-
envaddressinfo_tmp = EnvAddressInfo.new
|
654
|
-
envaddressinfo_tmp.deserialize(i)
|
655
|
-
@EnvAddressInfos << envaddressinfo_tmp
|
656
|
-
end
|
657
|
-
end
|
658
|
-
@ConsoleInternetAddress = params['ConsoleInternetAddress']
|
659
|
-
@ConsoleIntranetAddress = params['ConsoleIntranetAddress']
|
660
|
-
@InternetBandWidth = params['InternetBandWidth']
|
661
|
-
@ConsoleInternetBandWidth = params['ConsoleInternetBandWidth']
|
662
|
-
unless params['LimiterAddressInfos'].nil?
|
663
|
-
@LimiterAddressInfos = []
|
664
|
-
params['LimiterAddressInfos'].each do |i|
|
665
|
-
polarislimiteraddress_tmp = PolarisLimiterAddress.new
|
666
|
-
polarislimiteraddress_tmp.deserialize(i)
|
667
|
-
@LimiterAddressInfos << polarislimiteraddress_tmp
|
668
|
-
end
|
669
|
-
end
|
670
1089
|
@RequestId = params['RequestId']
|
671
1090
|
end
|
672
1091
|
end
|
673
1092
|
|
674
|
-
#
|
675
|
-
class
|
676
|
-
# @param
|
677
|
-
# @type
|
678
|
-
# @param
|
1093
|
+
# DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
|
1094
|
+
class DescribeCloudNativeAPIGatewayCanaryRulesRequest < TencentCloud::Common::AbstractModel
|
1095
|
+
# @param GatewayId: 网关ID
|
1096
|
+
# @type GatewayId: String
|
1097
|
+
# @param ServiceId: 服务 ID
|
1098
|
+
# @type ServiceId: String
|
1099
|
+
# @param Limit: 列表数量
|
679
1100
|
# @type Limit: Integer
|
680
|
-
# @param Offset:
|
1101
|
+
# @param Offset: 列表offset
|
681
1102
|
# @type Offset: Integer
|
682
|
-
# @param QueryType: 查询类型
|
683
|
-
# @type QueryType: String
|
684
|
-
# @param QuerySource: 调用方来源
|
685
|
-
# @type QuerySource: String
|
686
1103
|
|
687
|
-
attr_accessor :
|
1104
|
+
attr_accessor :GatewayId, :ServiceId, :Limit, :Offset
|
688
1105
|
|
689
|
-
def initialize(
|
690
|
-
@
|
1106
|
+
def initialize(gatewayid=nil, serviceid=nil, limit=nil, offset=nil)
|
1107
|
+
@GatewayId = gatewayid
|
1108
|
+
@ServiceId = serviceid
|
691
1109
|
@Limit = limit
|
692
1110
|
@Offset = offset
|
693
|
-
@QueryType = querytype
|
694
|
-
@QuerySource = querysource
|
695
1111
|
end
|
696
1112
|
|
697
1113
|
def deserialize(params)
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
1114
|
+
@GatewayId = params['GatewayId']
|
1115
|
+
@ServiceId = params['ServiceId']
|
1116
|
+
@Limit = params['Limit']
|
1117
|
+
@Offset = params['Offset']
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# DescribeCloudNativeAPIGatewayCanaryRules返回参数结构体
|
1122
|
+
class DescribeCloudNativeAPIGatewayCanaryRulesResponse < TencentCloud::Common::AbstractModel
|
1123
|
+
# @param Result: 灰度规则列表
|
1124
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CloudAPIGatewayCanaryRuleList`
|
1125
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1126
|
+
# @type RequestId: String
|
1127
|
+
|
1128
|
+
attr_accessor :Result, :RequestId
|
1129
|
+
|
1130
|
+
def initialize(result=nil, requestid=nil)
|
1131
|
+
@Result = result
|
1132
|
+
@RequestId = requestid
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
def deserialize(params)
|
1136
|
+
unless params['Result'].nil?
|
1137
|
+
@Result = CloudAPIGatewayCanaryRuleList.new
|
1138
|
+
@Result.deserialize(params['Result'])
|
705
1139
|
end
|
1140
|
+
@RequestId = params['RequestId']
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# DescribeCloudNativeAPIGatewayNodes请求参数结构体
|
1145
|
+
class DescribeCloudNativeAPIGatewayNodesRequest < TencentCloud::Common::AbstractModel
|
1146
|
+
# @param GatewayId: 云原生API网关实例ID。
|
1147
|
+
# @type GatewayId: String
|
1148
|
+
# @param GroupId: 实例分组id
|
1149
|
+
# @type GroupId: String
|
1150
|
+
# @param Limit: 翻页获取多少个
|
1151
|
+
# @type Limit: Integer
|
1152
|
+
# @param Offset: 翻页从第几个开始获取
|
1153
|
+
# @type Offset: Integer
|
1154
|
+
|
1155
|
+
attr_accessor :GatewayId, :GroupId, :Limit, :Offset
|
1156
|
+
|
1157
|
+
def initialize(gatewayid=nil, groupid=nil, limit=nil, offset=nil)
|
1158
|
+
@GatewayId = gatewayid
|
1159
|
+
@GroupId = groupid
|
1160
|
+
@Limit = limit
|
1161
|
+
@Offset = offset
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def deserialize(params)
|
1165
|
+
@GatewayId = params['GatewayId']
|
1166
|
+
@GroupId = params['GroupId']
|
706
1167
|
@Limit = params['Limit']
|
707
1168
|
@Offset = params['Offset']
|
708
|
-
@QueryType = params['QueryType']
|
709
|
-
@QuerySource = params['QuerySource']
|
710
1169
|
end
|
711
1170
|
end
|
712
1171
|
|
713
|
-
#
|
714
|
-
class
|
715
|
-
# @param
|
716
|
-
# @type
|
717
|
-
# @param Content: 实例记录
|
718
|
-
# @type Content: Array
|
1172
|
+
# DescribeCloudNativeAPIGatewayNodes返回参数结构体
|
1173
|
+
class DescribeCloudNativeAPIGatewayNodesResponse < TencentCloud::Common::AbstractModel
|
1174
|
+
# @param Result: 获取云原生网关节点列表结果。
|
1175
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeCloudNativeAPIGatewayNodesResult`
|
719
1176
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
720
1177
|
# @type RequestId: String
|
721
1178
|
|
722
|
-
attr_accessor :
|
1179
|
+
attr_accessor :Result, :RequestId
|
723
1180
|
|
724
|
-
def initialize(
|
725
|
-
@
|
726
|
-
@Content = content
|
1181
|
+
def initialize(result=nil, requestid=nil)
|
1182
|
+
@Result = result
|
727
1183
|
@RequestId = requestid
|
728
1184
|
end
|
729
1185
|
|
1186
|
+
def deserialize(params)
|
1187
|
+
unless params['Result'].nil?
|
1188
|
+
@Result = DescribeCloudNativeAPIGatewayNodesResult.new
|
1189
|
+
@Result.deserialize(params['Result'])
|
1190
|
+
end
|
1191
|
+
@RequestId = params['RequestId']
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# 获取网关节点信息
|
1196
|
+
class DescribeCloudNativeAPIGatewayNodesResult < TencentCloud::Common::AbstractModel
|
1197
|
+
# @param TotalCount: 获取云原生API网关节点列表响应结果。
|
1198
|
+
# @type TotalCount: Integer
|
1199
|
+
# @param NodeList: 云原生API网关节点列表。
|
1200
|
+
# @type NodeList: Array
|
1201
|
+
|
1202
|
+
attr_accessor :TotalCount, :NodeList
|
1203
|
+
|
1204
|
+
def initialize(totalcount=nil, nodelist=nil)
|
1205
|
+
@TotalCount = totalcount
|
1206
|
+
@NodeList = nodelist
|
1207
|
+
end
|
1208
|
+
|
730
1209
|
def deserialize(params)
|
731
1210
|
@TotalCount = params['TotalCount']
|
732
|
-
unless params['
|
733
|
-
@
|
734
|
-
params['
|
735
|
-
|
736
|
-
|
737
|
-
@
|
1211
|
+
unless params['NodeList'].nil?
|
1212
|
+
@NodeList = []
|
1213
|
+
params['NodeList'].each do |i|
|
1214
|
+
cloudnativeapigatewaynode_tmp = CloudNativeAPIGatewayNode.new
|
1215
|
+
cloudnativeapigatewaynode_tmp.deserialize(i)
|
1216
|
+
@NodeList << cloudnativeapigatewaynode_tmp
|
738
1217
|
end
|
739
1218
|
end
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
# DescribeCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
1223
|
+
class DescribeCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
1224
|
+
# @param GatewayId: 网关Id
|
1225
|
+
# @type GatewayId: String
|
1226
|
+
# @param Id: 路由Id,或路由名称。
|
1227
|
+
# 不支持“未命名”
|
1228
|
+
# @type Id: String
|
1229
|
+
|
1230
|
+
attr_accessor :GatewayId, :Id
|
1231
|
+
|
1232
|
+
def initialize(gatewayid=nil, id=nil)
|
1233
|
+
@GatewayId = gatewayid
|
1234
|
+
@Id = id
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
def deserialize(params)
|
1238
|
+
@GatewayId = params['GatewayId']
|
1239
|
+
@Id = params['Id']
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# DescribeCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
1244
|
+
class DescribeCloudNativeAPIGatewayRouteRateLimitResponse < TencentCloud::Common::AbstractModel
|
1245
|
+
# @param Result: 获取云原生网关限流插件(路由)
|
1246
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
1247
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1248
|
+
# @type RequestId: String
|
1249
|
+
|
1250
|
+
attr_accessor :Result, :RequestId
|
1251
|
+
|
1252
|
+
def initialize(result=nil, requestid=nil)
|
1253
|
+
@Result = result
|
1254
|
+
@RequestId = requestid
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
def deserialize(params)
|
1258
|
+
unless params['Result'].nil?
|
1259
|
+
@Result = CloudNativeAPIGatewayRateLimitDetail.new
|
1260
|
+
@Result.deserialize(params['Result'])
|
1261
|
+
end
|
740
1262
|
@RequestId = params['RequestId']
|
741
1263
|
end
|
742
1264
|
end
|
743
1265
|
|
744
|
-
#
|
745
|
-
class
|
746
|
-
# @param
|
747
|
-
# @type
|
748
|
-
# @param Limit:
|
1266
|
+
# DescribeCloudNativeAPIGatewayRoutes请求参数结构体
|
1267
|
+
class DescribeCloudNativeAPIGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
1268
|
+
# @param GatewayId: 网关ID
|
1269
|
+
# @type GatewayId: String
|
1270
|
+
# @param Limit: 翻页单页查询限制数量[0,1000], 默认值0
|
749
1271
|
# @type Limit: Integer
|
750
|
-
# @param Offset:
|
1272
|
+
# @param Offset: 翻页单页偏移量,默认值0
|
751
1273
|
# @type Offset: Integer
|
1274
|
+
# @param ServiceName: 服务的名字,精确匹配
|
1275
|
+
# @type ServiceName: String
|
1276
|
+
# @param RouteName: 路由的名字,精确匹配
|
1277
|
+
# @type RouteName: String
|
1278
|
+
# @param Filters: 过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol
|
1279
|
+
# @type Filters: Array
|
752
1280
|
|
753
|
-
attr_accessor :
|
1281
|
+
attr_accessor :GatewayId, :Limit, :Offset, :ServiceName, :RouteName, :Filters
|
754
1282
|
|
755
|
-
def initialize(
|
756
|
-
@
|
1283
|
+
def initialize(gatewayid=nil, limit=nil, offset=nil, servicename=nil, routename=nil, filters=nil)
|
1284
|
+
@GatewayId = gatewayid
|
757
1285
|
@Limit = limit
|
758
1286
|
@Offset = offset
|
1287
|
+
@ServiceName = servicename
|
1288
|
+
@RouteName = routename
|
1289
|
+
@Filters = filters
|
759
1290
|
end
|
760
1291
|
|
761
1292
|
def deserialize(params)
|
762
|
-
@
|
1293
|
+
@GatewayId = params['GatewayId']
|
763
1294
|
@Limit = params['Limit']
|
764
1295
|
@Offset = params['Offset']
|
1296
|
+
@ServiceName = params['ServiceName']
|
1297
|
+
@RouteName = params['RouteName']
|
1298
|
+
unless params['Filters'].nil?
|
1299
|
+
@Filters = []
|
1300
|
+
params['Filters'].each do |i|
|
1301
|
+
listfilter_tmp = ListFilter.new
|
1302
|
+
listfilter_tmp.deserialize(i)
|
1303
|
+
@Filters << listfilter_tmp
|
1304
|
+
end
|
1305
|
+
end
|
765
1306
|
end
|
766
1307
|
end
|
767
1308
|
|
768
|
-
#
|
769
|
-
class
|
770
|
-
# @param
|
771
|
-
# @type Replicas: Array
|
772
|
-
# @param TotalCount: 副本个数
|
1309
|
+
# DescribeCloudNativeAPIGatewayRoutes返回参数结构体
|
1310
|
+
class DescribeCloudNativeAPIGatewayRoutesResponse < TencentCloud::Common::AbstractModel
|
1311
|
+
# @param Result: 无
|
773
1312
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
774
|
-
# @type
|
1313
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongServiceRouteList`
|
775
1314
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
776
1315
|
# @type RequestId: String
|
777
1316
|
|
778
|
-
attr_accessor :
|
1317
|
+
attr_accessor :Result, :RequestId
|
779
1318
|
|
780
|
-
def initialize(
|
781
|
-
@
|
782
|
-
@TotalCount = totalcount
|
1319
|
+
def initialize(result=nil, requestid=nil)
|
1320
|
+
@Result = result
|
783
1321
|
@RequestId = requestid
|
784
1322
|
end
|
785
1323
|
|
786
1324
|
def deserialize(params)
|
787
|
-
unless params['
|
788
|
-
@
|
789
|
-
params['
|
790
|
-
zookeeperreplica_tmp = ZookeeperReplica.new
|
791
|
-
zookeeperreplica_tmp.deserialize(i)
|
792
|
-
@Replicas << zookeeperreplica_tmp
|
793
|
-
end
|
1325
|
+
unless params['Result'].nil?
|
1326
|
+
@Result = KongServiceRouteList.new
|
1327
|
+
@Result.deserialize(params['Result'])
|
794
1328
|
end
|
795
|
-
@TotalCount = params['TotalCount']
|
796
1329
|
@RequestId = params['RequestId']
|
797
1330
|
end
|
798
1331
|
end
|
799
1332
|
|
800
|
-
#
|
801
|
-
class
|
802
|
-
# @param
|
803
|
-
# @type
|
804
|
-
# @param
|
1333
|
+
# DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
1334
|
+
class DescribeCloudNativeAPIGatewayServiceRateLimitRequest < TencentCloud::Common::AbstractModel
|
1335
|
+
# @param GatewayId: 网关Id
|
1336
|
+
# @type GatewayId: String
|
1337
|
+
# @param Name: 服务名称,或服务ID。
|
1338
|
+
# @type Name: String
|
1339
|
+
|
1340
|
+
attr_accessor :GatewayId, :Name
|
1341
|
+
|
1342
|
+
def initialize(gatewayid=nil, name=nil)
|
1343
|
+
@GatewayId = gatewayid
|
1344
|
+
@Name = name
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def deserialize(params)
|
1348
|
+
@GatewayId = params['GatewayId']
|
1349
|
+
@Name = params['Name']
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# DescribeCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
1354
|
+
class DescribeCloudNativeAPIGatewayServiceRateLimitResponse < TencentCloud::Common::AbstractModel
|
1355
|
+
# @param Result: 获取云原生网关限流插件(服务)
|
1356
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
1357
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1358
|
+
# @type RequestId: String
|
1359
|
+
|
1360
|
+
attr_accessor :Result, :RequestId
|
1361
|
+
|
1362
|
+
def initialize(result=nil, requestid=nil)
|
1363
|
+
@Result = result
|
1364
|
+
@RequestId = requestid
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
def deserialize(params)
|
1368
|
+
unless params['Result'].nil?
|
1369
|
+
@Result = CloudNativeAPIGatewayRateLimitDetail.new
|
1370
|
+
@Result.deserialize(params['Result'])
|
1371
|
+
end
|
1372
|
+
@RequestId = params['RequestId']
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# DescribeCloudNativeAPIGatewayServices请求参数结构体
|
1377
|
+
class DescribeCloudNativeAPIGatewayServicesRequest < TencentCloud::Common::AbstractModel
|
1378
|
+
# @param GatewayId: 网关ID
|
1379
|
+
# @type GatewayId: String
|
1380
|
+
# @param Limit: 列表数量
|
805
1381
|
# @type Limit: Integer
|
806
|
-
# @param Offset:
|
1382
|
+
# @param Offset: 列表 offset
|
807
1383
|
# @type Offset: Integer
|
1384
|
+
# @param Filters: 过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType
|
1385
|
+
# @type Filters: Array
|
808
1386
|
|
809
|
-
attr_accessor :
|
1387
|
+
attr_accessor :GatewayId, :Limit, :Offset, :Filters
|
810
1388
|
|
811
|
-
def initialize(
|
812
|
-
@
|
1389
|
+
def initialize(gatewayid=nil, limit=nil, offset=nil, filters=nil)
|
1390
|
+
@GatewayId = gatewayid
|
813
1391
|
@Limit = limit
|
814
1392
|
@Offset = offset
|
1393
|
+
@Filters = filters
|
815
1394
|
end
|
816
1395
|
|
817
1396
|
def deserialize(params)
|
818
|
-
@
|
1397
|
+
@GatewayId = params['GatewayId']
|
819
1398
|
@Limit = params['Limit']
|
820
1399
|
@Offset = params['Offset']
|
1400
|
+
unless params['Filters'].nil?
|
1401
|
+
@Filters = []
|
1402
|
+
params['Filters'].each do |i|
|
1403
|
+
listfilter_tmp = ListFilter.new
|
1404
|
+
listfilter_tmp.deserialize(i)
|
1405
|
+
@Filters << listfilter_tmp
|
1406
|
+
end
|
1407
|
+
end
|
821
1408
|
end
|
822
1409
|
end
|
823
1410
|
|
824
|
-
#
|
825
|
-
class
|
826
|
-
# @param
|
827
|
-
#
|
828
|
-
# @
|
829
|
-
# @type Content: Array
|
1411
|
+
# DescribeCloudNativeAPIGatewayServices返回参数结构体
|
1412
|
+
class DescribeCloudNativeAPIGatewayServicesResponse < TencentCloud::Common::AbstractModel
|
1413
|
+
# @param Result: 无
|
1414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1415
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongServices`
|
830
1416
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
831
1417
|
# @type RequestId: String
|
832
1418
|
|
833
|
-
attr_accessor :
|
1419
|
+
attr_accessor :Result, :RequestId
|
1420
|
+
|
1421
|
+
def initialize(result=nil, requestid=nil)
|
1422
|
+
@Result = result
|
1423
|
+
@RequestId = requestid
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
def deserialize(params)
|
1427
|
+
unless params['Result'].nil?
|
1428
|
+
@Result = KongServices.new
|
1429
|
+
@Result.deserialize(params['Result'])
|
1430
|
+
end
|
1431
|
+
@RequestId = params['RequestId']
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# 实例地域信息描述
|
1436
|
+
class DescribeInstanceRegionInfo < TencentCloud::Common::AbstractModel
|
1437
|
+
# @param EngineRegion: 引擎部署地域信息
|
1438
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1439
|
+
# @type EngineRegion: String
|
1440
|
+
# @param Replica: 引擎在该地域的副本数
|
1441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1442
|
+
# @type Replica: Integer
|
1443
|
+
# @param SpecId: 引擎在该地域的规格id
|
1444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1445
|
+
# @type SpecId: String
|
1446
|
+
# @param IntranetVpcInfos: 内网的网络信息
|
1447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1448
|
+
# @type IntranetVpcInfos: Array
|
1449
|
+
# @param EnableClientInternet: 是否开公网
|
1450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1451
|
+
# @type EnableClientInternet: Boolean
|
1452
|
+
|
1453
|
+
attr_accessor :EngineRegion, :Replica, :SpecId, :IntranetVpcInfos, :EnableClientInternet
|
1454
|
+
|
1455
|
+
def initialize(engineregion=nil, replica=nil, specid=nil, intranetvpcinfos=nil, enableclientinternet=nil)
|
1456
|
+
@EngineRegion = engineregion
|
1457
|
+
@Replica = replica
|
1458
|
+
@SpecId = specid
|
1459
|
+
@IntranetVpcInfos = intranetvpcinfos
|
1460
|
+
@EnableClientInternet = enableclientinternet
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
def deserialize(params)
|
1464
|
+
@EngineRegion = params['EngineRegion']
|
1465
|
+
@Replica = params['Replica']
|
1466
|
+
@SpecId = params['SpecId']
|
1467
|
+
unless params['IntranetVpcInfos'].nil?
|
1468
|
+
@IntranetVpcInfos = []
|
1469
|
+
params['IntranetVpcInfos'].each do |i|
|
1470
|
+
vpcinfo_tmp = VpcInfo.new
|
1471
|
+
vpcinfo_tmp.deserialize(i)
|
1472
|
+
@IntranetVpcInfos << vpcinfo_tmp
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
@EnableClientInternet = params['EnableClientInternet']
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# DescribeNacosReplicas请求参数结构体
|
1480
|
+
class DescribeNacosReplicasRequest < TencentCloud::Common::AbstractModel
|
1481
|
+
# @param InstanceId: 引擎实例ID
|
1482
|
+
# @type InstanceId: String
|
1483
|
+
# @param Limit: 副本列表Limit
|
1484
|
+
# @type Limit: Integer
|
1485
|
+
# @param Offset: 副本列表Offset
|
1486
|
+
# @type Offset: Integer
|
1487
|
+
|
1488
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
1489
|
+
|
1490
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
1491
|
+
@InstanceId = instanceid
|
1492
|
+
@Limit = limit
|
1493
|
+
@Offset = offset
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
def deserialize(params)
|
1497
|
+
@InstanceId = params['InstanceId']
|
1498
|
+
@Limit = params['Limit']
|
1499
|
+
@Offset = params['Offset']
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# DescribeNacosReplicas返回参数结构体
|
1504
|
+
class DescribeNacosReplicasResponse < TencentCloud::Common::AbstractModel
|
1505
|
+
# @param Replicas: 引擎实例副本信息
|
1506
|
+
# @type Replicas: Array
|
1507
|
+
# @param TotalCount: 副本个数
|
1508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1509
|
+
# @type TotalCount: Integer
|
1510
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1511
|
+
# @type RequestId: String
|
1512
|
+
|
1513
|
+
attr_accessor :Replicas, :TotalCount, :RequestId
|
1514
|
+
|
1515
|
+
def initialize(replicas=nil, totalcount=nil, requestid=nil)
|
1516
|
+
@Replicas = replicas
|
1517
|
+
@TotalCount = totalcount
|
1518
|
+
@RequestId = requestid
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
def deserialize(params)
|
1522
|
+
unless params['Replicas'].nil?
|
1523
|
+
@Replicas = []
|
1524
|
+
params['Replicas'].each do |i|
|
1525
|
+
nacosreplica_tmp = NacosReplica.new
|
1526
|
+
nacosreplica_tmp.deserialize(i)
|
1527
|
+
@Replicas << nacosreplica_tmp
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
@TotalCount = params['TotalCount']
|
1531
|
+
@RequestId = params['RequestId']
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# DescribeNacosServerInterfaces请求参数结构体
|
1536
|
+
class DescribeNacosServerInterfacesRequest < TencentCloud::Common::AbstractModel
|
1537
|
+
# @param InstanceId: 实例id
|
1538
|
+
# @type InstanceId: String
|
1539
|
+
# @param Limit: 返回的列表个数
|
1540
|
+
# @type Limit: Integer
|
1541
|
+
# @param Offset: 返回的列表起始偏移量
|
1542
|
+
# @type Offset: Integer
|
1543
|
+
|
1544
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
1545
|
+
|
1546
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
1547
|
+
@InstanceId = instanceid
|
1548
|
+
@Limit = limit
|
1549
|
+
@Offset = offset
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
def deserialize(params)
|
1553
|
+
@InstanceId = params['InstanceId']
|
1554
|
+
@Limit = params['Limit']
|
1555
|
+
@Offset = params['Offset']
|
1556
|
+
end
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# DescribeNacosServerInterfaces返回参数结构体
|
1560
|
+
class DescribeNacosServerInterfacesResponse < TencentCloud::Common::AbstractModel
|
1561
|
+
# @param TotalCount: 接口总个数
|
1562
|
+
# @type TotalCount: Integer
|
1563
|
+
# @param Content: 接口列表
|
1564
|
+
# @type Content: Array
|
1565
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1566
|
+
# @type RequestId: String
|
1567
|
+
|
1568
|
+
attr_accessor :TotalCount, :Content, :RequestId
|
1569
|
+
|
1570
|
+
def initialize(totalcount=nil, content=nil, requestid=nil)
|
1571
|
+
@TotalCount = totalcount
|
1572
|
+
@Content = content
|
1573
|
+
@RequestId = requestid
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
def deserialize(params)
|
1577
|
+
@TotalCount = params['TotalCount']
|
1578
|
+
unless params['Content'].nil?
|
1579
|
+
@Content = []
|
1580
|
+
params['Content'].each do |i|
|
1581
|
+
nacosserverinterface_tmp = NacosServerInterface.new
|
1582
|
+
nacosserverinterface_tmp.deserialize(i)
|
1583
|
+
@Content << nacosserverinterface_tmp
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
@RequestId = params['RequestId']
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
# DescribeOneCloudNativeAPIGatewayService请求参数结构体
|
1591
|
+
class DescribeOneCloudNativeAPIGatewayServiceRequest < TencentCloud::Common::AbstractModel
|
1592
|
+
# @param GatewayId: 网关ID
|
1593
|
+
# @type GatewayId: String
|
1594
|
+
# @param Name: 服务名字,或服务ID
|
1595
|
+
# @type Name: String
|
1596
|
+
|
1597
|
+
attr_accessor :GatewayId, :Name
|
1598
|
+
|
1599
|
+
def initialize(gatewayid=nil, name=nil)
|
1600
|
+
@GatewayId = gatewayid
|
1601
|
+
@Name = name
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
def deserialize(params)
|
1605
|
+
@GatewayId = params['GatewayId']
|
1606
|
+
@Name = params['Name']
|
1607
|
+
end
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
# DescribeOneCloudNativeAPIGatewayService返回参数结构体
|
1611
|
+
class DescribeOneCloudNativeAPIGatewayServiceResponse < TencentCloud::Common::AbstractModel
|
1612
|
+
# @param Result: 无
|
1613
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongServiceDetail`
|
1614
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1615
|
+
# @type RequestId: String
|
1616
|
+
|
1617
|
+
attr_accessor :Result, :RequestId
|
1618
|
+
|
1619
|
+
def initialize(result=nil, requestid=nil)
|
1620
|
+
@Result = result
|
1621
|
+
@RequestId = requestid
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
def deserialize(params)
|
1625
|
+
unless params['Result'].nil?
|
1626
|
+
@Result = KongServiceDetail.new
|
1627
|
+
@Result.deserialize(params['Result'])
|
1628
|
+
end
|
1629
|
+
@RequestId = params['RequestId']
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# DescribeSREInstanceAccessAddress请求参数结构体
|
1634
|
+
class DescribeSREInstanceAccessAddressRequest < TencentCloud::Common::AbstractModel
|
1635
|
+
# @param InstanceId: 注册引擎实例Id
|
1636
|
+
# @type InstanceId: String
|
1637
|
+
# @param VpcId: VPC ID
|
1638
|
+
# @type VpcId: String
|
1639
|
+
# @param SubnetId: 子网ID
|
1640
|
+
# @type SubnetId: String
|
1641
|
+
# @param Workload: 引擎其他组件名称(pushgateway、polaris-limiter)
|
1642
|
+
# @type Workload: String
|
1643
|
+
# @param EngineRegion: 部署地域
|
1644
|
+
# @type EngineRegion: String
|
1645
|
+
|
1646
|
+
attr_accessor :InstanceId, :VpcId, :SubnetId, :Workload, :EngineRegion
|
1647
|
+
|
1648
|
+
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, workload=nil, engineregion=nil)
|
1649
|
+
@InstanceId = instanceid
|
1650
|
+
@VpcId = vpcid
|
1651
|
+
@SubnetId = subnetid
|
1652
|
+
@Workload = workload
|
1653
|
+
@EngineRegion = engineregion
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
def deserialize(params)
|
1657
|
+
@InstanceId = params['InstanceId']
|
1658
|
+
@VpcId = params['VpcId']
|
1659
|
+
@SubnetId = params['SubnetId']
|
1660
|
+
@Workload = params['Workload']
|
1661
|
+
@EngineRegion = params['EngineRegion']
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
# DescribeSREInstanceAccessAddress返回参数结构体
|
1666
|
+
class DescribeSREInstanceAccessAddressResponse < TencentCloud::Common::AbstractModel
|
1667
|
+
# @param IntranetAddress: 内网访问地址
|
1668
|
+
# @type IntranetAddress: String
|
1669
|
+
# @param InternetAddress: 公网访问地址
|
1670
|
+
# @type InternetAddress: String
|
1671
|
+
# @param EnvAddressInfos: apollo多环境公网ip
|
1672
|
+
# @type EnvAddressInfos: Array
|
1673
|
+
# @param ConsoleInternetAddress: 控制台公网访问地址
|
1674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1675
|
+
# @type ConsoleInternetAddress: String
|
1676
|
+
# @param ConsoleIntranetAddress: 控制台内网访问地址
|
1677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1678
|
+
# @type ConsoleIntranetAddress: String
|
1679
|
+
# @param InternetBandWidth: 客户端公网带宽
|
1680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1681
|
+
# @type InternetBandWidth: Integer
|
1682
|
+
# @param ConsoleInternetBandWidth: 控制台公网带宽
|
1683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1684
|
+
# @type ConsoleInternetBandWidth: Integer
|
1685
|
+
# @param LimiterAddressInfos: 北极星限流server节点接入IP
|
1686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1687
|
+
# @type LimiterAddressInfos: Array
|
1688
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1689
|
+
# @type RequestId: String
|
1690
|
+
|
1691
|
+
attr_accessor :IntranetAddress, :InternetAddress, :EnvAddressInfos, :ConsoleInternetAddress, :ConsoleIntranetAddress, :InternetBandWidth, :ConsoleInternetBandWidth, :LimiterAddressInfos, :RequestId
|
1692
|
+
|
1693
|
+
def initialize(intranetaddress=nil, internetaddress=nil, envaddressinfos=nil, consoleinternetaddress=nil, consoleintranetaddress=nil, internetbandwidth=nil, consoleinternetbandwidth=nil, limiteraddressinfos=nil, requestid=nil)
|
1694
|
+
@IntranetAddress = intranetaddress
|
1695
|
+
@InternetAddress = internetaddress
|
1696
|
+
@EnvAddressInfos = envaddressinfos
|
1697
|
+
@ConsoleInternetAddress = consoleinternetaddress
|
1698
|
+
@ConsoleIntranetAddress = consoleintranetaddress
|
1699
|
+
@InternetBandWidth = internetbandwidth
|
1700
|
+
@ConsoleInternetBandWidth = consoleinternetbandwidth
|
1701
|
+
@LimiterAddressInfos = limiteraddressinfos
|
1702
|
+
@RequestId = requestid
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
def deserialize(params)
|
1706
|
+
@IntranetAddress = params['IntranetAddress']
|
1707
|
+
@InternetAddress = params['InternetAddress']
|
1708
|
+
unless params['EnvAddressInfos'].nil?
|
1709
|
+
@EnvAddressInfos = []
|
1710
|
+
params['EnvAddressInfos'].each do |i|
|
1711
|
+
envaddressinfo_tmp = EnvAddressInfo.new
|
1712
|
+
envaddressinfo_tmp.deserialize(i)
|
1713
|
+
@EnvAddressInfos << envaddressinfo_tmp
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
@ConsoleInternetAddress = params['ConsoleInternetAddress']
|
1717
|
+
@ConsoleIntranetAddress = params['ConsoleIntranetAddress']
|
1718
|
+
@InternetBandWidth = params['InternetBandWidth']
|
1719
|
+
@ConsoleInternetBandWidth = params['ConsoleInternetBandWidth']
|
1720
|
+
unless params['LimiterAddressInfos'].nil?
|
1721
|
+
@LimiterAddressInfos = []
|
1722
|
+
params['LimiterAddressInfos'].each do |i|
|
1723
|
+
polarislimiteraddress_tmp = PolarisLimiterAddress.new
|
1724
|
+
polarislimiteraddress_tmp.deserialize(i)
|
1725
|
+
@LimiterAddressInfos << polarislimiteraddress_tmp
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
@RequestId = params['RequestId']
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
# DescribeSREInstances请求参数结构体
|
1733
|
+
class DescribeSREInstancesRequest < TencentCloud::Common::AbstractModel
|
1734
|
+
# @param Filters: 请求过滤参数
|
1735
|
+
# @type Filters: Array
|
1736
|
+
# @param Limit: 翻页单页查询限制数量[0,1000], 默认值0
|
1737
|
+
# @type Limit: Integer
|
1738
|
+
# @param Offset: 翻页单页偏移量,默认值0
|
1739
|
+
# @type Offset: Integer
|
1740
|
+
# @param QueryType: 查询类型
|
1741
|
+
# @type QueryType: String
|
1742
|
+
# @param QuerySource: 调用方来源
|
1743
|
+
# @type QuerySource: String
|
1744
|
+
|
1745
|
+
attr_accessor :Filters, :Limit, :Offset, :QueryType, :QuerySource
|
1746
|
+
|
1747
|
+
def initialize(filters=nil, limit=nil, offset=nil, querytype=nil, querysource=nil)
|
1748
|
+
@Filters = filters
|
1749
|
+
@Limit = limit
|
1750
|
+
@Offset = offset
|
1751
|
+
@QueryType = querytype
|
1752
|
+
@QuerySource = querysource
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
def deserialize(params)
|
1756
|
+
unless params['Filters'].nil?
|
1757
|
+
@Filters = []
|
1758
|
+
params['Filters'].each do |i|
|
1759
|
+
filter_tmp = Filter.new
|
1760
|
+
filter_tmp.deserialize(i)
|
1761
|
+
@Filters << filter_tmp
|
1762
|
+
end
|
1763
|
+
end
|
1764
|
+
@Limit = params['Limit']
|
1765
|
+
@Offset = params['Offset']
|
1766
|
+
@QueryType = params['QueryType']
|
1767
|
+
@QuerySource = params['QuerySource']
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# DescribeSREInstances返回参数结构体
|
1772
|
+
class DescribeSREInstancesResponse < TencentCloud::Common::AbstractModel
|
1773
|
+
# @param TotalCount: 总数量
|
1774
|
+
# @type TotalCount: Integer
|
1775
|
+
# @param Content: 实例记录
|
1776
|
+
# @type Content: Array
|
1777
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1778
|
+
# @type RequestId: String
|
1779
|
+
|
1780
|
+
attr_accessor :TotalCount, :Content, :RequestId
|
1781
|
+
|
1782
|
+
def initialize(totalcount=nil, content=nil, requestid=nil)
|
1783
|
+
@TotalCount = totalcount
|
1784
|
+
@Content = content
|
1785
|
+
@RequestId = requestid
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
def deserialize(params)
|
1789
|
+
@TotalCount = params['TotalCount']
|
1790
|
+
unless params['Content'].nil?
|
1791
|
+
@Content = []
|
1792
|
+
params['Content'].each do |i|
|
1793
|
+
sreinstance_tmp = SREInstance.new
|
1794
|
+
sreinstance_tmp.deserialize(i)
|
1795
|
+
@Content << sreinstance_tmp
|
1796
|
+
end
|
1797
|
+
end
|
1798
|
+
@RequestId = params['RequestId']
|
1799
|
+
end
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
# DescribeZookeeperReplicas请求参数结构体
|
1803
|
+
class DescribeZookeeperReplicasRequest < TencentCloud::Common::AbstractModel
|
1804
|
+
# @param InstanceId: 注册引擎实例ID
|
1805
|
+
# @type InstanceId: String
|
1806
|
+
# @param Limit: 副本列表Limit
|
1807
|
+
# @type Limit: Integer
|
1808
|
+
# @param Offset: 副本列表Offset
|
1809
|
+
# @type Offset: Integer
|
1810
|
+
|
1811
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
1812
|
+
|
1813
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
1814
|
+
@InstanceId = instanceid
|
1815
|
+
@Limit = limit
|
1816
|
+
@Offset = offset
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def deserialize(params)
|
1820
|
+
@InstanceId = params['InstanceId']
|
1821
|
+
@Limit = params['Limit']
|
1822
|
+
@Offset = params['Offset']
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# DescribeZookeeperReplicas返回参数结构体
|
1827
|
+
class DescribeZookeeperReplicasResponse < TencentCloud::Common::AbstractModel
|
1828
|
+
# @param Replicas: 注册引擎实例副本信息
|
1829
|
+
# @type Replicas: Array
|
1830
|
+
# @param TotalCount: 副本个数
|
1831
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1832
|
+
# @type TotalCount: Integer
|
1833
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1834
|
+
# @type RequestId: String
|
1835
|
+
|
1836
|
+
attr_accessor :Replicas, :TotalCount, :RequestId
|
1837
|
+
|
1838
|
+
def initialize(replicas=nil, totalcount=nil, requestid=nil)
|
1839
|
+
@Replicas = replicas
|
1840
|
+
@TotalCount = totalcount
|
1841
|
+
@RequestId = requestid
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
def deserialize(params)
|
1845
|
+
unless params['Replicas'].nil?
|
1846
|
+
@Replicas = []
|
1847
|
+
params['Replicas'].each do |i|
|
1848
|
+
zookeeperreplica_tmp = ZookeeperReplica.new
|
1849
|
+
zookeeperreplica_tmp.deserialize(i)
|
1850
|
+
@Replicas << zookeeperreplica_tmp
|
1851
|
+
end
|
1852
|
+
end
|
1853
|
+
@TotalCount = params['TotalCount']
|
1854
|
+
@RequestId = params['RequestId']
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# DescribeZookeeperServerInterfaces请求参数结构体
|
1859
|
+
class DescribeZookeeperServerInterfacesRequest < TencentCloud::Common::AbstractModel
|
1860
|
+
# @param InstanceId: 实例id
|
1861
|
+
# @type InstanceId: String
|
1862
|
+
# @param Limit: 返回的列表个数
|
1863
|
+
# @type Limit: Integer
|
1864
|
+
# @param Offset: 返回的列表起始偏移量
|
1865
|
+
# @type Offset: Integer
|
1866
|
+
|
1867
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
1868
|
+
|
1869
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
1870
|
+
@InstanceId = instanceid
|
1871
|
+
@Limit = limit
|
1872
|
+
@Offset = offset
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
def deserialize(params)
|
1876
|
+
@InstanceId = params['InstanceId']
|
1877
|
+
@Limit = params['Limit']
|
1878
|
+
@Offset = params['Offset']
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
# DescribeZookeeperServerInterfaces返回参数结构体
|
1883
|
+
class DescribeZookeeperServerInterfacesResponse < TencentCloud::Common::AbstractModel
|
1884
|
+
# @param TotalCount: 接口总个数
|
1885
|
+
# @type TotalCount: Integer
|
1886
|
+
# @param Content: 接口列表
|
1887
|
+
# @type Content: Array
|
1888
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1889
|
+
# @type RequestId: String
|
1890
|
+
|
1891
|
+
attr_accessor :TotalCount, :Content, :RequestId
|
1892
|
+
|
1893
|
+
def initialize(totalcount=nil, content=nil, requestid=nil)
|
1894
|
+
@TotalCount = totalcount
|
1895
|
+
@Content = content
|
1896
|
+
@RequestId = requestid
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
def deserialize(params)
|
1900
|
+
@TotalCount = params['TotalCount']
|
1901
|
+
unless params['Content'].nil?
|
1902
|
+
@Content = []
|
1903
|
+
params['Content'].each do |i|
|
1904
|
+
zookeeperserverinterface_tmp = ZookeeperServerInterface.new
|
1905
|
+
zookeeperserverinterface_tmp.deserialize(i)
|
1906
|
+
@Content << zookeeperserverinterface_tmp
|
1907
|
+
end
|
1908
|
+
end
|
1909
|
+
@RequestId = params['RequestId']
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
# 引擎的初始管理帐号
|
1914
|
+
class EngineAdmin < TencentCloud::Common::AbstractModel
|
1915
|
+
# @param Name: 控制台初始用户名
|
1916
|
+
# @type Name: String
|
1917
|
+
# @param Password: 控制台初始密码
|
1918
|
+
# @type Password: String
|
1919
|
+
# @param Token: 引擎接口的管理员 Token
|
1920
|
+
# @type Token: String
|
1921
|
+
|
1922
|
+
attr_accessor :Name, :Password, :Token
|
1923
|
+
|
1924
|
+
def initialize(name=nil, password=nil, token=nil)
|
1925
|
+
@Name = name
|
1926
|
+
@Password = password
|
1927
|
+
@Token = token
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
def deserialize(params)
|
1931
|
+
@Name = params['Name']
|
1932
|
+
@Password = params['Password']
|
1933
|
+
@Token = params['Token']
|
1934
|
+
end
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
# 引擎地域配置详情
|
1938
|
+
class EngineRegionInfo < TencentCloud::Common::AbstractModel
|
1939
|
+
# @param EngineRegion: 引擎节点所在地域
|
1940
|
+
# @type EngineRegion: String
|
1941
|
+
# @param Replica: 此地域节点分配数量
|
1942
|
+
# @type Replica: Integer
|
1943
|
+
# @param VpcInfos: 集群网络信息
|
1944
|
+
# @type VpcInfos: Array
|
1945
|
+
|
1946
|
+
attr_accessor :EngineRegion, :Replica, :VpcInfos
|
1947
|
+
|
1948
|
+
def initialize(engineregion=nil, replica=nil, vpcinfos=nil)
|
1949
|
+
@EngineRegion = engineregion
|
1950
|
+
@Replica = replica
|
1951
|
+
@VpcInfos = vpcinfos
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
def deserialize(params)
|
1955
|
+
@EngineRegion = params['EngineRegion']
|
1956
|
+
@Replica = params['Replica']
|
1957
|
+
unless params['VpcInfos'].nil?
|
1958
|
+
@VpcInfos = []
|
1959
|
+
params['VpcInfos'].each do |i|
|
1960
|
+
vpcinfo_tmp = VpcInfo.new
|
1961
|
+
vpcinfo_tmp.deserialize(i)
|
1962
|
+
@VpcInfos << vpcinfo_tmp
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# 多环境网络信息
|
1969
|
+
class EnvAddressInfo < TencentCloud::Common::AbstractModel
|
1970
|
+
# @param EnvName: 环境名
|
1971
|
+
# @type EnvName: String
|
1972
|
+
# @param EnableConfigInternet: 是否开启config公网
|
1973
|
+
# @type EnableConfigInternet: Boolean
|
1974
|
+
# @param ConfigInternetServiceIp: config公网ip
|
1975
|
+
# @type ConfigInternetServiceIp: String
|
1976
|
+
# @param ConfigIntranetAddress: config内网访问地址
|
1977
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1978
|
+
# @type ConfigIntranetAddress: String
|
1979
|
+
# @param EnableConfigIntranet: 是否开启config内网clb
|
1980
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1981
|
+
# @type EnableConfigIntranet: Boolean
|
1982
|
+
# @param InternetBandWidth: 客户端公网带宽
|
1983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1984
|
+
# @type InternetBandWidth: Integer
|
1985
|
+
|
1986
|
+
attr_accessor :EnvName, :EnableConfigInternet, :ConfigInternetServiceIp, :ConfigIntranetAddress, :EnableConfigIntranet, :InternetBandWidth
|
1987
|
+
|
1988
|
+
def initialize(envname=nil, enableconfiginternet=nil, configinternetserviceip=nil, configintranetaddress=nil, enableconfigintranet=nil, internetbandwidth=nil)
|
1989
|
+
@EnvName = envname
|
1990
|
+
@EnableConfigInternet = enableconfiginternet
|
1991
|
+
@ConfigInternetServiceIp = configinternetserviceip
|
1992
|
+
@ConfigIntranetAddress = configintranetaddress
|
1993
|
+
@EnableConfigIntranet = enableconfigintranet
|
1994
|
+
@InternetBandWidth = internetbandwidth
|
1995
|
+
end
|
1996
|
+
|
1997
|
+
def deserialize(params)
|
1998
|
+
@EnvName = params['EnvName']
|
1999
|
+
@EnableConfigInternet = params['EnableConfigInternet']
|
2000
|
+
@ConfigInternetServiceIp = params['ConfigInternetServiceIp']
|
2001
|
+
@ConfigIntranetAddress = params['ConfigIntranetAddress']
|
2002
|
+
@EnableConfigIntranet = params['EnableConfigIntranet']
|
2003
|
+
@InternetBandWidth = params['InternetBandWidth']
|
2004
|
+
end
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# 环境具体信息
|
2008
|
+
class EnvInfo < TencentCloud::Common::AbstractModel
|
2009
|
+
# @param EnvName: 环境名称
|
2010
|
+
# @type EnvName: String
|
2011
|
+
# @param VpcInfos: 环境对应的网络信息
|
2012
|
+
# @type VpcInfos: Array
|
2013
|
+
# @param StorageCapacity: 云硬盘容量
|
2014
|
+
# @type StorageCapacity: Integer
|
2015
|
+
# @param Status: 运行状态
|
2016
|
+
# @type Status: String
|
2017
|
+
# @param AdminServiceIp: Admin service 访问地址
|
2018
|
+
# @type AdminServiceIp: String
|
2019
|
+
# @param ConfigServiceIp: Config service访问地址
|
2020
|
+
# @type ConfigServiceIp: String
|
2021
|
+
# @param EnableConfigInternet: 是否开启config-server公网
|
2022
|
+
# @type EnableConfigInternet: Boolean
|
2023
|
+
# @param ConfigInternetServiceIp: config-server公网访问地址
|
2024
|
+
# @type ConfigInternetServiceIp: String
|
2025
|
+
# @param SpecId: 规格ID
|
2026
|
+
# @type SpecId: String
|
2027
|
+
# @param EnvReplica: 环境的节点数
|
2028
|
+
# @type EnvReplica: Integer
|
2029
|
+
# @param RunningCount: 环境运行的节点数
|
2030
|
+
# @type RunningCount: Integer
|
2031
|
+
# @param AliasEnvName: 环境别名
|
2032
|
+
# @type AliasEnvName: String
|
2033
|
+
# @param EnvDesc: 环境描述
|
2034
|
+
# @type EnvDesc: String
|
2035
|
+
# @param ClientBandWidth: 客户端带宽
|
2036
|
+
# @type ClientBandWidth: Integer
|
2037
|
+
# @param EnableConfigIntranet: 客户端内网开关
|
2038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2039
|
+
# @type EnableConfigIntranet: Boolean
|
2040
|
+
|
2041
|
+
attr_accessor :EnvName, :VpcInfos, :StorageCapacity, :Status, :AdminServiceIp, :ConfigServiceIp, :EnableConfigInternet, :ConfigInternetServiceIp, :SpecId, :EnvReplica, :RunningCount, :AliasEnvName, :EnvDesc, :ClientBandWidth, :EnableConfigIntranet
|
2042
|
+
|
2043
|
+
def initialize(envname=nil, vpcinfos=nil, storagecapacity=nil, status=nil, adminserviceip=nil, configserviceip=nil, enableconfiginternet=nil, configinternetserviceip=nil, specid=nil, envreplica=nil, runningcount=nil, aliasenvname=nil, envdesc=nil, clientbandwidth=nil, enableconfigintranet=nil)
|
2044
|
+
@EnvName = envname
|
2045
|
+
@VpcInfos = vpcinfos
|
2046
|
+
@StorageCapacity = storagecapacity
|
2047
|
+
@Status = status
|
2048
|
+
@AdminServiceIp = adminserviceip
|
2049
|
+
@ConfigServiceIp = configserviceip
|
2050
|
+
@EnableConfigInternet = enableconfiginternet
|
2051
|
+
@ConfigInternetServiceIp = configinternetserviceip
|
2052
|
+
@SpecId = specid
|
2053
|
+
@EnvReplica = envreplica
|
2054
|
+
@RunningCount = runningcount
|
2055
|
+
@AliasEnvName = aliasenvname
|
2056
|
+
@EnvDesc = envdesc
|
2057
|
+
@ClientBandWidth = clientbandwidth
|
2058
|
+
@EnableConfigIntranet = enableconfigintranet
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
def deserialize(params)
|
2062
|
+
@EnvName = params['EnvName']
|
2063
|
+
unless params['VpcInfos'].nil?
|
2064
|
+
@VpcInfos = []
|
2065
|
+
params['VpcInfos'].each do |i|
|
2066
|
+
vpcinfo_tmp = VpcInfo.new
|
2067
|
+
vpcinfo_tmp.deserialize(i)
|
2068
|
+
@VpcInfos << vpcinfo_tmp
|
2069
|
+
end
|
2070
|
+
end
|
2071
|
+
@StorageCapacity = params['StorageCapacity']
|
2072
|
+
@Status = params['Status']
|
2073
|
+
@AdminServiceIp = params['AdminServiceIp']
|
2074
|
+
@ConfigServiceIp = params['ConfigServiceIp']
|
2075
|
+
@EnableConfigInternet = params['EnableConfigInternet']
|
2076
|
+
@ConfigInternetServiceIp = params['ConfigInternetServiceIp']
|
2077
|
+
@SpecId = params['SpecId']
|
2078
|
+
@EnvReplica = params['EnvReplica']
|
2079
|
+
@RunningCount = params['RunningCount']
|
2080
|
+
@AliasEnvName = params['AliasEnvName']
|
2081
|
+
@EnvDesc = params['EnvDesc']
|
2082
|
+
@ClientBandWidth = params['ClientBandWidth']
|
2083
|
+
@EnableConfigIntranet = params['EnableConfigIntranet']
|
2084
|
+
end
|
2085
|
+
end
|
2086
|
+
|
2087
|
+
# 云原生网关限流插件外部redis配置
|
2088
|
+
class ExternalRedis < TencentCloud::Common::AbstractModel
|
2089
|
+
# @param RedisHost: redis ip
|
2090
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2091
|
+
# @type RedisHost: String
|
2092
|
+
# @param RedisPassword: redis密码
|
2093
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2094
|
+
# @type RedisPassword: String
|
2095
|
+
# @param RedisPort: redis端口
|
2096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2097
|
+
# @type RedisPort: Integer
|
2098
|
+
# @param RedisTimeout: 超时时间 ms
|
2099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2100
|
+
# @type RedisTimeout: Integer
|
2101
|
+
|
2102
|
+
attr_accessor :RedisHost, :RedisPassword, :RedisPort, :RedisTimeout
|
2103
|
+
|
2104
|
+
def initialize(redishost=nil, redispassword=nil, redisport=nil, redistimeout=nil)
|
2105
|
+
@RedisHost = redishost
|
2106
|
+
@RedisPassword = redispassword
|
2107
|
+
@RedisPort = redisport
|
2108
|
+
@RedisTimeout = redistimeout
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
def deserialize(params)
|
2112
|
+
@RedisHost = params['RedisHost']
|
2113
|
+
@RedisPassword = params['RedisPassword']
|
2114
|
+
@RedisPort = params['RedisPort']
|
2115
|
+
@RedisTimeout = params['RedisTimeout']
|
2116
|
+
end
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
# 查询过滤通用对象
|
2120
|
+
class Filter < TencentCloud::Common::AbstractModel
|
2121
|
+
# @param Name: 过滤参数名
|
2122
|
+
# @type Name: String
|
2123
|
+
# @param Values: 过滤参数值
|
2124
|
+
# @type Values: Array
|
2125
|
+
|
2126
|
+
attr_accessor :Name, :Values
|
2127
|
+
|
2128
|
+
def initialize(name=nil, values=nil)
|
2129
|
+
@Name = name
|
2130
|
+
@Values = values
|
2131
|
+
end
|
2132
|
+
|
2133
|
+
def deserialize(params)
|
2134
|
+
@Name = params['Name']
|
2135
|
+
@Values = params['Values']
|
2136
|
+
end
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
# 引擎实例的标签信息
|
2140
|
+
class InstanceTagInfo < TencentCloud::Common::AbstractModel
|
2141
|
+
# @param TagKey: 标签键
|
2142
|
+
# @type TagKey: String
|
2143
|
+
# @param TagValue: 标签值
|
2144
|
+
# @type TagValue: String
|
2145
|
+
|
2146
|
+
attr_accessor :TagKey, :TagValue
|
2147
|
+
|
2148
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
2149
|
+
@TagKey = tagkey
|
2150
|
+
@TagValue = tagvalue
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
def deserialize(params)
|
2154
|
+
@TagKey = params['TagKey']
|
2155
|
+
@TagValue = params['TagValue']
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
# 键值对
|
2160
|
+
class KVMapping < TencentCloud::Common::AbstractModel
|
2161
|
+
# @param Key: key
|
2162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2163
|
+
# @type Key: String
|
2164
|
+
# @param Value: value
|
2165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2166
|
+
# @type Value: String
|
2167
|
+
|
2168
|
+
attr_accessor :Key, :Value
|
2169
|
+
|
2170
|
+
def initialize(key=nil, value=nil)
|
2171
|
+
@Key = key
|
2172
|
+
@Value = value
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
def deserialize(params)
|
2176
|
+
@Key = params['Key']
|
2177
|
+
@Value = params['Value']
|
2178
|
+
end
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
# 键值对
|
2182
|
+
class KVPair < TencentCloud::Common::AbstractModel
|
2183
|
+
# @param Key: 键
|
2184
|
+
# @type Key: String
|
2185
|
+
# @param Value: 值
|
2186
|
+
# @type Value: String
|
2187
|
+
|
2188
|
+
attr_accessor :Key, :Value
|
2189
|
+
|
2190
|
+
def initialize(key=nil, value=nil)
|
2191
|
+
@Key = key
|
2192
|
+
@Value = value
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
def deserialize(params)
|
2196
|
+
@Key = params['Key']
|
2197
|
+
@Value = params['Value']
|
2198
|
+
end
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
# 云原生网关路由信息
|
2202
|
+
class KongRoutePreview < TencentCloud::Common::AbstractModel
|
2203
|
+
# @param ID: 服务ID
|
2204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2205
|
+
# @type ID: String
|
2206
|
+
# @param Name: 服务名字
|
2207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2208
|
+
# @type Name: String
|
2209
|
+
# @param Methods: 无
|
2210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2211
|
+
# @type Methods: Array
|
2212
|
+
# @param Paths: 无
|
2213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2214
|
+
# @type Paths: Array
|
2215
|
+
# @param Hosts: 无
|
2216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2217
|
+
# @type Hosts: Array
|
2218
|
+
# @param Protocols: 无
|
2219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2220
|
+
# @type Protocols: Array
|
2221
|
+
# @param PreserveHost: 无
|
2222
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2223
|
+
# @type PreserveHost: Boolean
|
2224
|
+
# @param HttpsRedirectStatusCode: 无
|
2225
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2226
|
+
# @type HttpsRedirectStatusCode: Integer
|
2227
|
+
# @param StripPath: 无
|
2228
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2229
|
+
# @type StripPath: Boolean
|
2230
|
+
# @param CreatedTime: 无
|
2231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2232
|
+
# @type CreatedTime: String
|
2233
|
+
# @param ForceHttps: 是否开启了强制HTTPS
|
2234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2235
|
+
# @type ForceHttps: Boolean
|
2236
|
+
# @param ServiceName: 服务名
|
2237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2238
|
+
# @type ServiceName: String
|
2239
|
+
# @param ServiceID: 服务ID
|
2240
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2241
|
+
# @type ServiceID: String
|
2242
|
+
# @param DestinationPorts: 目的端口
|
2243
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2244
|
+
# @type DestinationPorts: Array
|
2245
|
+
# @param Headers: 路由的Headers
|
2246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2247
|
+
# @type Headers: :class:`Tencentcloud::Tse.v20201207.models.KVMapping`
|
2248
|
+
|
2249
|
+
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
2250
|
+
|
2251
|
+
def initialize(id=nil, name=nil, methods=nil, paths=nil, hosts=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, createdtime=nil, forcehttps=nil, servicename=nil, serviceid=nil, destinationports=nil, headers=nil)
|
2252
|
+
@ID = id
|
2253
|
+
@Name = name
|
2254
|
+
@Methods = methods
|
2255
|
+
@Paths = paths
|
2256
|
+
@Hosts = hosts
|
2257
|
+
@Protocols = protocols
|
2258
|
+
@PreserveHost = preservehost
|
2259
|
+
@HttpsRedirectStatusCode = httpsredirectstatuscode
|
2260
|
+
@StripPath = strippath
|
2261
|
+
@CreatedTime = createdtime
|
2262
|
+
@ForceHttps = forcehttps
|
2263
|
+
@ServiceName = servicename
|
2264
|
+
@ServiceID = serviceid
|
2265
|
+
@DestinationPorts = destinationports
|
2266
|
+
@Headers = headers
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
def deserialize(params)
|
2270
|
+
@ID = params['ID']
|
2271
|
+
@Name = params['Name']
|
2272
|
+
@Methods = params['Methods']
|
2273
|
+
@Paths = params['Paths']
|
2274
|
+
@Hosts = params['Hosts']
|
2275
|
+
@Protocols = params['Protocols']
|
2276
|
+
@PreserveHost = params['PreserveHost']
|
2277
|
+
@HttpsRedirectStatusCode = params['HttpsRedirectStatusCode']
|
2278
|
+
@StripPath = params['StripPath']
|
2279
|
+
@CreatedTime = params['CreatedTime']
|
2280
|
+
@ForceHttps = params['ForceHttps']
|
2281
|
+
@ServiceName = params['ServiceName']
|
2282
|
+
@ServiceID = params['ServiceID']
|
2283
|
+
@DestinationPorts = params['DestinationPorts']
|
2284
|
+
unless params['Headers'].nil?
|
2285
|
+
@Headers = KVMapping.new
|
2286
|
+
@Headers.deserialize(params['Headers'])
|
2287
|
+
end
|
2288
|
+
end
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# 云原生网关服务详细信息
|
2292
|
+
class KongServiceDetail < TencentCloud::Common::AbstractModel
|
2293
|
+
# @param ID: 服务ID
|
2294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2295
|
+
# @type ID: String
|
2296
|
+
# @param Name: 服务名字
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2298
|
+
# @type Name: String
|
2299
|
+
# @param Protocol: 后端协议
|
2300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2301
|
+
# @type Protocol: String
|
2302
|
+
# @param Path: 后端路径
|
2303
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2304
|
+
# @type Path: String
|
2305
|
+
# @param Timeout: 后端延时,单位ms
|
2306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2307
|
+
# @type Timeout: Integer
|
2308
|
+
# @param Retries: 重试次数
|
2309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2310
|
+
# @type Retries: Integer
|
2311
|
+
# @param Tags: 标签
|
2312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2313
|
+
# @type Tags: Array
|
2314
|
+
# @param UpstreamInfo: 后端配置
|
2315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2316
|
+
# @type UpstreamInfo: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamInfo`
|
2317
|
+
# @param UpstreamType: 后端类型
|
2318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2319
|
+
# @type UpstreamType: String
|
2320
|
+
# @param Editable: 是否可编辑
|
2321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2322
|
+
# @type Editable: Boolean
|
2323
|
+
# @param CreatedTime: 创建时间
|
2324
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2325
|
+
# @type CreatedTime: String
|
2326
|
+
|
2327
|
+
attr_accessor :ID, :Name, :Protocol, :Path, :Timeout, :Retries, :Tags, :UpstreamInfo, :UpstreamType, :Editable, :CreatedTime
|
2328
|
+
|
2329
|
+
def initialize(id=nil, name=nil, protocol=nil, path=nil, timeout=nil, retries=nil, tags=nil, upstreaminfo=nil, upstreamtype=nil, editable=nil, createdtime=nil)
|
2330
|
+
@ID = id
|
2331
|
+
@Name = name
|
2332
|
+
@Protocol = protocol
|
2333
|
+
@Path = path
|
2334
|
+
@Timeout = timeout
|
2335
|
+
@Retries = retries
|
2336
|
+
@Tags = tags
|
2337
|
+
@UpstreamInfo = upstreaminfo
|
2338
|
+
@UpstreamType = upstreamtype
|
2339
|
+
@Editable = editable
|
2340
|
+
@CreatedTime = createdtime
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
def deserialize(params)
|
2344
|
+
@ID = params['ID']
|
2345
|
+
@Name = params['Name']
|
2346
|
+
@Protocol = params['Protocol']
|
2347
|
+
@Path = params['Path']
|
2348
|
+
@Timeout = params['Timeout']
|
2349
|
+
@Retries = params['Retries']
|
2350
|
+
@Tags = params['Tags']
|
2351
|
+
unless params['UpstreamInfo'].nil?
|
2352
|
+
@UpstreamInfo = KongUpstreamInfo.new
|
2353
|
+
@UpstreamInfo.deserialize(params['UpstreamInfo'])
|
2354
|
+
end
|
2355
|
+
@UpstreamType = params['UpstreamType']
|
2356
|
+
@Editable = params['Editable']
|
2357
|
+
@CreatedTime = params['CreatedTime']
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
# 云原生网关服务预览信息
|
2362
|
+
class KongServicePreview < TencentCloud::Common::AbstractModel
|
2363
|
+
# @param ID: 服务ID
|
2364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2365
|
+
# @type ID: String
|
2366
|
+
# @param Name: 服务名字
|
2367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2368
|
+
# @type Name: String
|
2369
|
+
# @param Tags: 标签
|
2370
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2371
|
+
# @type Tags: Array
|
2372
|
+
# @param UpstreamInfo: 后端配置
|
2373
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2374
|
+
# @type UpstreamInfo: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamInfo`
|
2375
|
+
# @param UpstreamType: 后端类型
|
2376
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2377
|
+
# @type UpstreamType: String
|
2378
|
+
# @param CreatedTime: 创建时间
|
2379
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2380
|
+
# @type CreatedTime: String
|
2381
|
+
# @param Editable: 是否可编辑
|
2382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2383
|
+
# @type Editable: Boolean
|
2384
|
+
|
2385
|
+
attr_accessor :ID, :Name, :Tags, :UpstreamInfo, :UpstreamType, :CreatedTime, :Editable
|
2386
|
+
|
2387
|
+
def initialize(id=nil, name=nil, tags=nil, upstreaminfo=nil, upstreamtype=nil, createdtime=nil, editable=nil)
|
2388
|
+
@ID = id
|
2389
|
+
@Name = name
|
2390
|
+
@Tags = tags
|
2391
|
+
@UpstreamInfo = upstreaminfo
|
2392
|
+
@UpstreamType = upstreamtype
|
2393
|
+
@CreatedTime = createdtime
|
2394
|
+
@Editable = editable
|
2395
|
+
end
|
2396
|
+
|
2397
|
+
def deserialize(params)
|
2398
|
+
@ID = params['ID']
|
2399
|
+
@Name = params['Name']
|
2400
|
+
@Tags = params['Tags']
|
2401
|
+
unless params['UpstreamInfo'].nil?
|
2402
|
+
@UpstreamInfo = KongUpstreamInfo.new
|
2403
|
+
@UpstreamInfo.deserialize(params['UpstreamInfo'])
|
2404
|
+
end
|
2405
|
+
@UpstreamType = params['UpstreamType']
|
2406
|
+
@CreatedTime = params['CreatedTime']
|
2407
|
+
@Editable = params['Editable']
|
2408
|
+
end
|
2409
|
+
end
|
2410
|
+
|
2411
|
+
# kong服务路由列表
|
2412
|
+
class KongServiceRouteList < TencentCloud::Common::AbstractModel
|
2413
|
+
# @param RouteList: 无
|
2414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2415
|
+
# @type RouteList: Array
|
2416
|
+
# @param TotalCount: 总数
|
2417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2418
|
+
# @type TotalCount: Integer
|
2419
|
+
|
2420
|
+
attr_accessor :RouteList, :TotalCount
|
2421
|
+
|
2422
|
+
def initialize(routelist=nil, totalcount=nil)
|
2423
|
+
@RouteList = routelist
|
2424
|
+
@TotalCount = totalcount
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
def deserialize(params)
|
2428
|
+
unless params['RouteList'].nil?
|
2429
|
+
@RouteList = []
|
2430
|
+
params['RouteList'].each do |i|
|
2431
|
+
kongroutepreview_tmp = KongRoutePreview.new
|
2432
|
+
kongroutepreview_tmp.deserialize(i)
|
2433
|
+
@RouteList << kongroutepreview_tmp
|
2434
|
+
end
|
2435
|
+
end
|
2436
|
+
@TotalCount = params['TotalCount']
|
2437
|
+
end
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
# kong实例的服务列表
|
2441
|
+
class KongServices < TencentCloud::Common::AbstractModel
|
2442
|
+
# @param ServiceList: kong实例的服务列表
|
2443
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2444
|
+
# @type ServiceList: Array
|
2445
|
+
# @param TotalCount: 列表总数
|
2446
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2447
|
+
# @type TotalCount: Integer
|
2448
|
+
|
2449
|
+
attr_accessor :ServiceList, :TotalCount
|
2450
|
+
|
2451
|
+
def initialize(servicelist=nil, totalcount=nil)
|
2452
|
+
@ServiceList = servicelist
|
2453
|
+
@TotalCount = totalcount
|
2454
|
+
end
|
2455
|
+
|
2456
|
+
def deserialize(params)
|
2457
|
+
unless params['ServiceList'].nil?
|
2458
|
+
@ServiceList = []
|
2459
|
+
params['ServiceList'].each do |i|
|
2460
|
+
kongservicepreview_tmp = KongServicePreview.new
|
2461
|
+
kongservicepreview_tmp.deserialize(i)
|
2462
|
+
@ServiceList << kongservicepreview_tmp
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
@TotalCount = params['TotalCount']
|
2466
|
+
end
|
2467
|
+
end
|
2468
|
+
|
2469
|
+
# Kong Upstream中的Target
|
2470
|
+
class KongTarget < TencentCloud::Common::AbstractModel
|
2471
|
+
# @param Host: Host
|
2472
|
+
# @type Host: String
|
2473
|
+
# @param Port: 端口
|
2474
|
+
# @type Port: Integer
|
2475
|
+
# @param Weight: 权重
|
2476
|
+
# @type Weight: Integer
|
2477
|
+
# @param Health: 健康状态
|
2478
|
+
# @type Health: String
|
2479
|
+
# @param CreatedTime: 创建时间
|
2480
|
+
# @type CreatedTime: String
|
2481
|
+
# @param Source: Target的来源
|
2482
|
+
# @type Source: String
|
2483
|
+
|
2484
|
+
attr_accessor :Host, :Port, :Weight, :Health, :CreatedTime, :Source
|
2485
|
+
|
2486
|
+
def initialize(host=nil, port=nil, weight=nil, health=nil, createdtime=nil, source=nil)
|
2487
|
+
@Host = host
|
2488
|
+
@Port = port
|
2489
|
+
@Weight = weight
|
2490
|
+
@Health = health
|
2491
|
+
@CreatedTime = createdtime
|
2492
|
+
@Source = source
|
2493
|
+
end
|
2494
|
+
|
2495
|
+
def deserialize(params)
|
2496
|
+
@Host = params['Host']
|
2497
|
+
@Port = params['Port']
|
2498
|
+
@Weight = params['Weight']
|
2499
|
+
@Health = params['Health']
|
2500
|
+
@CreatedTime = params['CreatedTime']
|
2501
|
+
@Source = params['Source']
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
# 服务的后端配置
|
2506
|
+
class KongUpstreamInfo < TencentCloud::Common::AbstractModel
|
2507
|
+
# @param Host: IP或域名
|
2508
|
+
# @type Host: String
|
2509
|
+
# @param Port: 端口
|
2510
|
+
# @type Port: Integer
|
2511
|
+
# @param SourceID: 服务来源ID
|
2512
|
+
# @type SourceID: String
|
2513
|
+
# @param Namespace: 名字空间
|
2514
|
+
# @type Namespace: String
|
2515
|
+
# @param ServiceName: 服务(注册中心或Kubernetes中的服务)名字
|
2516
|
+
# @type ServiceName: String
|
2517
|
+
# @param Targets: 服务后端类型是IPList时提供
|
2518
|
+
# @type Targets: Array
|
2519
|
+
# @param SourceType: 服务来源类型
|
2520
|
+
# @type SourceType: String
|
2521
|
+
# @param ScfType: SCF函数类型
|
2522
|
+
# @type ScfType: String
|
2523
|
+
# @param ScfNamespace: SCF函数命名空间
|
2524
|
+
# @type ScfNamespace: String
|
2525
|
+
# @param ScfLambdaName: SCF函数名
|
2526
|
+
# @type ScfLambdaName: String
|
2527
|
+
# @param ScfLambdaQualifier: SCF函数版本
|
2528
|
+
# @type ScfLambdaQualifier: String
|
2529
|
+
# @param SlowStart: 冷启动时间,单位秒
|
2530
|
+
# @type SlowStart: Integer
|
2531
|
+
# @param Algorithm: 负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing
|
2532
|
+
# @type Algorithm: String
|
2533
|
+
# @param AutoScalingGroupID: CVM弹性伸缩组ID
|
2534
|
+
# @type AutoScalingGroupID: String
|
2535
|
+
# @param AutoScalingCvmPort: CVM弹性伸缩组端口
|
2536
|
+
# @type AutoScalingCvmPort: Integer
|
2537
|
+
# @param AutoScalingTatCmdStatus: CVM弹性伸缩组使用的CVM TAT命令状态
|
2538
|
+
# @type AutoScalingTatCmdStatus: String
|
2539
|
+
# @param AutoScalingHookStatus: CVM弹性伸缩组生命周期挂钩状态
|
2540
|
+
# @type AutoScalingHookStatus: String
|
2541
|
+
# @param SourceName: 服务来源的名字
|
2542
|
+
# @type SourceName: String
|
2543
|
+
# @param RealSourceType: 精确的服务来源类型,新建服务来源时候传入的类型
|
2544
|
+
# @type RealSourceType: String
|
2545
|
+
|
2546
|
+
attr_accessor :Host, :Port, :SourceID, :Namespace, :ServiceName, :Targets, :SourceType, :ScfType, :ScfNamespace, :ScfLambdaName, :ScfLambdaQualifier, :SlowStart, :Algorithm, :AutoScalingGroupID, :AutoScalingCvmPort, :AutoScalingTatCmdStatus, :AutoScalingHookStatus, :SourceName, :RealSourceType
|
2547
|
+
|
2548
|
+
def initialize(host=nil, port=nil, sourceid=nil, namespace=nil, servicename=nil, targets=nil, sourcetype=nil, scftype=nil, scfnamespace=nil, scflambdaname=nil, scflambdaqualifier=nil, slowstart=nil, algorithm=nil, autoscalinggroupid=nil, autoscalingcvmport=nil, autoscalingtatcmdstatus=nil, autoscalinghookstatus=nil, sourcename=nil, realsourcetype=nil)
|
2549
|
+
@Host = host
|
2550
|
+
@Port = port
|
2551
|
+
@SourceID = sourceid
|
2552
|
+
@Namespace = namespace
|
2553
|
+
@ServiceName = servicename
|
2554
|
+
@Targets = targets
|
2555
|
+
@SourceType = sourcetype
|
2556
|
+
@ScfType = scftype
|
2557
|
+
@ScfNamespace = scfnamespace
|
2558
|
+
@ScfLambdaName = scflambdaname
|
2559
|
+
@ScfLambdaQualifier = scflambdaqualifier
|
2560
|
+
@SlowStart = slowstart
|
2561
|
+
@Algorithm = algorithm
|
2562
|
+
@AutoScalingGroupID = autoscalinggroupid
|
2563
|
+
@AutoScalingCvmPort = autoscalingcvmport
|
2564
|
+
@AutoScalingTatCmdStatus = autoscalingtatcmdstatus
|
2565
|
+
@AutoScalingHookStatus = autoscalinghookstatus
|
2566
|
+
@SourceName = sourcename
|
2567
|
+
@RealSourceType = realsourcetype
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
def deserialize(params)
|
2571
|
+
@Host = params['Host']
|
2572
|
+
@Port = params['Port']
|
2573
|
+
@SourceID = params['SourceID']
|
2574
|
+
@Namespace = params['Namespace']
|
2575
|
+
@ServiceName = params['ServiceName']
|
2576
|
+
unless params['Targets'].nil?
|
2577
|
+
@Targets = []
|
2578
|
+
params['Targets'].each do |i|
|
2579
|
+
kongtarget_tmp = KongTarget.new
|
2580
|
+
kongtarget_tmp.deserialize(i)
|
2581
|
+
@Targets << kongtarget_tmp
|
2582
|
+
end
|
2583
|
+
end
|
2584
|
+
@SourceType = params['SourceType']
|
2585
|
+
@ScfType = params['ScfType']
|
2586
|
+
@ScfNamespace = params['ScfNamespace']
|
2587
|
+
@ScfLambdaName = params['ScfLambdaName']
|
2588
|
+
@ScfLambdaQualifier = params['ScfLambdaQualifier']
|
2589
|
+
@SlowStart = params['SlowStart']
|
2590
|
+
@Algorithm = params['Algorithm']
|
2591
|
+
@AutoScalingGroupID = params['AutoScalingGroupID']
|
2592
|
+
@AutoScalingCvmPort = params['AutoScalingCvmPort']
|
2593
|
+
@AutoScalingTatCmdStatus = params['AutoScalingTatCmdStatus']
|
2594
|
+
@AutoScalingHookStatus = params['AutoScalingHookStatus']
|
2595
|
+
@SourceName = params['SourceName']
|
2596
|
+
@RealSourceType = params['RealSourceType']
|
2597
|
+
end
|
2598
|
+
end
|
2599
|
+
|
2600
|
+
# 列表过滤条件,模糊匹配
|
2601
|
+
class ListFilter < TencentCloud::Common::AbstractModel
|
2602
|
+
# @param Key: 过滤字段
|
2603
|
+
# @type Key: String
|
2604
|
+
# @param Value: 过滤值
|
2605
|
+
# @type Value: String
|
2606
|
+
|
2607
|
+
attr_accessor :Key, :Value
|
2608
|
+
|
2609
|
+
def initialize(key=nil, value=nil)
|
2610
|
+
@Key = key
|
2611
|
+
@Value = value
|
2612
|
+
end
|
2613
|
+
|
2614
|
+
def deserialize(params)
|
2615
|
+
@Key = params['Key']
|
2616
|
+
@Value = params['Value']
|
2617
|
+
end
|
2618
|
+
end
|
2619
|
+
|
2620
|
+
# ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
|
2621
|
+
class ModifyCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
|
2622
|
+
# @param GatewayId: 网关 ID
|
2623
|
+
# @type GatewayId: String
|
2624
|
+
# @param ServiceId: 服务 ID
|
2625
|
+
# @type ServiceId: String
|
2626
|
+
# @param Priority: 优先级,同一个服务的灰度规则优先级是唯一的
|
2627
|
+
# @type Priority: Integer
|
2628
|
+
# @param CanaryRule: 灰度规则配置
|
2629
|
+
# @type CanaryRule: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayCanaryRule`
|
2630
|
+
|
2631
|
+
attr_accessor :GatewayId, :ServiceId, :Priority, :CanaryRule
|
2632
|
+
|
2633
|
+
def initialize(gatewayid=nil, serviceid=nil, priority=nil, canaryrule=nil)
|
2634
|
+
@GatewayId = gatewayid
|
2635
|
+
@ServiceId = serviceid
|
2636
|
+
@Priority = priority
|
2637
|
+
@CanaryRule = canaryrule
|
2638
|
+
end
|
2639
|
+
|
2640
|
+
def deserialize(params)
|
2641
|
+
@GatewayId = params['GatewayId']
|
2642
|
+
@ServiceId = params['ServiceId']
|
2643
|
+
@Priority = params['Priority']
|
2644
|
+
unless params['CanaryRule'].nil?
|
2645
|
+
@CanaryRule = CloudNativeAPIGatewayCanaryRule.new
|
2646
|
+
@CanaryRule.deserialize(params['CanaryRule'])
|
2647
|
+
end
|
2648
|
+
end
|
2649
|
+
end
|
2650
|
+
|
2651
|
+
# ModifyCloudNativeAPIGatewayCanaryRule返回参数结构体
|
2652
|
+
class ModifyCloudNativeAPIGatewayCanaryRuleResponse < TencentCloud::Common::AbstractModel
|
2653
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2654
|
+
# @type RequestId: String
|
2655
|
+
|
2656
|
+
attr_accessor :RequestId
|
2657
|
+
|
2658
|
+
def initialize(requestid=nil)
|
2659
|
+
@RequestId = requestid
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
def deserialize(params)
|
2663
|
+
@RequestId = params['RequestId']
|
2664
|
+
end
|
2665
|
+
end
|
2666
|
+
|
2667
|
+
# ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
2668
|
+
class ModifyCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
2669
|
+
# @param GatewayId: 网关ID
|
2670
|
+
# @type GatewayId: String
|
2671
|
+
# @param Id: 路由id,或路由名称。
|
2672
|
+
# 不支持“未命名”
|
2673
|
+
# @type Id: String
|
2674
|
+
# @param LimitDetail: 限流配置
|
2675
|
+
# @type LimitDetail: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
2676
|
+
|
2677
|
+
attr_accessor :GatewayId, :Id, :LimitDetail
|
834
2678
|
|
835
|
-
def initialize(
|
836
|
-
@
|
837
|
-
@
|
838
|
-
@
|
2679
|
+
def initialize(gatewayid=nil, id=nil, limitdetail=nil)
|
2680
|
+
@GatewayId = gatewayid
|
2681
|
+
@Id = id
|
2682
|
+
@LimitDetail = limitdetail
|
839
2683
|
end
|
840
2684
|
|
841
2685
|
def deserialize(params)
|
842
|
-
@
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
zookeeperserverinterface_tmp.deserialize(i)
|
848
|
-
@Content << zookeeperserverinterface_tmp
|
849
|
-
end
|
2686
|
+
@GatewayId = params['GatewayId']
|
2687
|
+
@Id = params['Id']
|
2688
|
+
unless params['LimitDetail'].nil?
|
2689
|
+
@LimitDetail = CloudNativeAPIGatewayRateLimitDetail.new
|
2690
|
+
@LimitDetail.deserialize(params['LimitDetail'])
|
850
2691
|
end
|
851
|
-
@RequestId = params['RequestId']
|
852
2692
|
end
|
853
2693
|
end
|
854
2694
|
|
855
|
-
#
|
856
|
-
class
|
857
|
-
# @param
|
858
|
-
# @type
|
859
|
-
# @param Password: 控制台初始密码
|
860
|
-
# @type Password: String
|
861
|
-
# @param Token: 引擎接口的管理员 Token
|
862
|
-
# @type Token: String
|
2695
|
+
# ModifyCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
2696
|
+
class ModifyCloudNativeAPIGatewayRouteRateLimitResponse < TencentCloud::Common::AbstractModel
|
2697
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2698
|
+
# @type RequestId: String
|
863
2699
|
|
864
|
-
attr_accessor :
|
2700
|
+
attr_accessor :RequestId
|
865
2701
|
|
866
|
-
def initialize(
|
867
|
-
@
|
868
|
-
@Password = password
|
869
|
-
@Token = token
|
2702
|
+
def initialize(requestid=nil)
|
2703
|
+
@RequestId = requestid
|
870
2704
|
end
|
871
2705
|
|
872
2706
|
def deserialize(params)
|
873
|
-
@
|
874
|
-
@Password = params['Password']
|
875
|
-
@Token = params['Token']
|
2707
|
+
@RequestId = params['RequestId']
|
876
2708
|
end
|
877
2709
|
end
|
878
2710
|
|
879
|
-
#
|
880
|
-
class
|
881
|
-
# @param
|
882
|
-
# @type
|
883
|
-
# @param
|
884
|
-
# @type
|
885
|
-
# @param
|
886
|
-
# @type
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
2711
|
+
# ModifyCloudNativeAPIGatewayRoute请求参数结构体
|
2712
|
+
class ModifyCloudNativeAPIGatewayRouteRequest < TencentCloud::Common::AbstractModel
|
2713
|
+
# @param GatewayId: 网关ID
|
2714
|
+
# @type GatewayId: String
|
2715
|
+
# @param ServiceID: 所属服务的ID
|
2716
|
+
# @type ServiceID: String
|
2717
|
+
# @param RouteID: 路由的ID,实例级别唯一
|
2718
|
+
# @type RouteID: String
|
2719
|
+
# @param RouteName: 路由的名字,实例级别唯一,可以不提供
|
2720
|
+
# @type RouteName: String
|
2721
|
+
# @param Methods: 路由的方法,其中方法可选值:
|
2722
|
+
# - GET
|
2723
|
+
# - POST
|
2724
|
+
# - DELETE
|
2725
|
+
# - PUT
|
2726
|
+
# - OPTIONS
|
2727
|
+
# - PATCH
|
2728
|
+
# - HEAD
|
2729
|
+
# - ANY
|
2730
|
+
# - TRACE
|
2731
|
+
# - COPY
|
2732
|
+
# - MOVE
|
2733
|
+
# - PROPFIND
|
2734
|
+
# - PROPPATCH
|
2735
|
+
# - MKCOL
|
2736
|
+
# - LOCK
|
2737
|
+
# - UNLOCK
|
2738
|
+
# @type Methods: Array
|
2739
|
+
# @param Hosts: 路由的域名
|
2740
|
+
# @type Hosts: Array
|
2741
|
+
# @param Paths: 路由的路径
|
2742
|
+
# @type Paths: Array
|
2743
|
+
# @param Protocols: 路由的协议,可选
|
2744
|
+
# - https
|
2745
|
+
# - http
|
2746
|
+
# @type Protocols: Array
|
2747
|
+
# @param PreserveHost: 转发到后端时是否保留Host
|
2748
|
+
# @type PreserveHost: Boolean
|
2749
|
+
# @param HttpsRedirectStatusCode: https重定向状态码
|
2750
|
+
# @type HttpsRedirectStatusCode: Integer
|
2751
|
+
# @param StripPath: 转发到后端时是否StripPath
|
2752
|
+
# @type StripPath: Boolean
|
2753
|
+
# @param ForceHttps: 是否开启强制HTTPS
|
2754
|
+
# @type ForceHttps: Boolean
|
2755
|
+
# @param DestinationPorts: 四层匹配的目的端口
|
2756
|
+
# @type DestinationPorts: Array
|
2757
|
+
# @param Headers: 路由的Headers
|
2758
|
+
# @type Headers: Array
|
2759
|
+
|
2760
|
+
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
2761
|
+
extend Gem::Deprecate
|
2762
|
+
deprecate :ForceHttps, :none, 2023, 7
|
2763
|
+
deprecate :ForceHttps=, :none, 2023, 7
|
2764
|
+
|
2765
|
+
def initialize(gatewayid=nil, serviceid=nil, routeid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
|
2766
|
+
@GatewayId = gatewayid
|
2767
|
+
@ServiceID = serviceid
|
2768
|
+
@RouteID = routeid
|
2769
|
+
@RouteName = routename
|
2770
|
+
@Methods = methods
|
2771
|
+
@Hosts = hosts
|
2772
|
+
@Paths = paths
|
2773
|
+
@Protocols = protocols
|
2774
|
+
@PreserveHost = preservehost
|
2775
|
+
@HttpsRedirectStatusCode = httpsredirectstatuscode
|
2776
|
+
@StripPath = strippath
|
2777
|
+
@ForceHttps = forcehttps
|
2778
|
+
@DestinationPorts = destinationports
|
2779
|
+
@Headers = headers
|
894
2780
|
end
|
895
2781
|
|
896
2782
|
def deserialize(params)
|
897
|
-
@
|
898
|
-
@
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
2783
|
+
@GatewayId = params['GatewayId']
|
2784
|
+
@ServiceID = params['ServiceID']
|
2785
|
+
@RouteID = params['RouteID']
|
2786
|
+
@RouteName = params['RouteName']
|
2787
|
+
@Methods = params['Methods']
|
2788
|
+
@Hosts = params['Hosts']
|
2789
|
+
@Paths = params['Paths']
|
2790
|
+
@Protocols = params['Protocols']
|
2791
|
+
@PreserveHost = params['PreserveHost']
|
2792
|
+
@HttpsRedirectStatusCode = params['HttpsRedirectStatusCode']
|
2793
|
+
@StripPath = params['StripPath']
|
2794
|
+
@ForceHttps = params['ForceHttps']
|
2795
|
+
@DestinationPorts = params['DestinationPorts']
|
2796
|
+
unless params['Headers'].nil?
|
2797
|
+
@Headers = []
|
2798
|
+
params['Headers'].each do |i|
|
2799
|
+
kvmapping_tmp = KVMapping.new
|
2800
|
+
kvmapping_tmp.deserialize(i)
|
2801
|
+
@Headers << kvmapping_tmp
|
905
2802
|
end
|
906
2803
|
end
|
907
2804
|
end
|
908
2805
|
end
|
909
2806
|
|
910
|
-
#
|
911
|
-
class
|
912
|
-
# @param
|
913
|
-
# @type
|
914
|
-
# @param EnableConfigInternet: 是否开启config公网
|
915
|
-
# @type EnableConfigInternet: Boolean
|
916
|
-
# @param ConfigInternetServiceIp: config公网ip
|
917
|
-
# @type ConfigInternetServiceIp: String
|
918
|
-
# @param ConfigIntranetAddress: config内网访问地址
|
919
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
920
|
-
# @type ConfigIntranetAddress: String
|
921
|
-
# @param EnableConfigIntranet: 是否开启config内网clb
|
922
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
923
|
-
# @type EnableConfigIntranet: Boolean
|
924
|
-
# @param InternetBandWidth: 客户端公网带宽
|
925
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
926
|
-
# @type InternetBandWidth: Integer
|
2807
|
+
# ModifyCloudNativeAPIGatewayRoute返回参数结构体
|
2808
|
+
class ModifyCloudNativeAPIGatewayRouteResponse < TencentCloud::Common::AbstractModel
|
2809
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2810
|
+
# @type RequestId: String
|
927
2811
|
|
928
|
-
attr_accessor :
|
2812
|
+
attr_accessor :RequestId
|
929
2813
|
|
930
|
-
def initialize(
|
931
|
-
@
|
932
|
-
@EnableConfigInternet = enableconfiginternet
|
933
|
-
@ConfigInternetServiceIp = configinternetserviceip
|
934
|
-
@ConfigIntranetAddress = configintranetaddress
|
935
|
-
@EnableConfigIntranet = enableconfigintranet
|
936
|
-
@InternetBandWidth = internetbandwidth
|
2814
|
+
def initialize(requestid=nil)
|
2815
|
+
@RequestId = requestid
|
937
2816
|
end
|
938
2817
|
|
939
2818
|
def deserialize(params)
|
940
|
-
@
|
941
|
-
@EnableConfigInternet = params['EnableConfigInternet']
|
942
|
-
@ConfigInternetServiceIp = params['ConfigInternetServiceIp']
|
943
|
-
@ConfigIntranetAddress = params['ConfigIntranetAddress']
|
944
|
-
@EnableConfigIntranet = params['EnableConfigIntranet']
|
945
|
-
@InternetBandWidth = params['InternetBandWidth']
|
2819
|
+
@RequestId = params['RequestId']
|
946
2820
|
end
|
947
2821
|
end
|
948
2822
|
|
949
|
-
#
|
950
|
-
class
|
951
|
-
# @param
|
952
|
-
# @type
|
953
|
-
# @param
|
954
|
-
# @type
|
955
|
-
# @param
|
956
|
-
# @type
|
957
|
-
# @param Status: 运行状态
|
958
|
-
# @type Status: String
|
959
|
-
# @param AdminServiceIp: Admin service 访问地址
|
960
|
-
# @type AdminServiceIp: String
|
961
|
-
# @param ConfigServiceIp: Config service访问地址
|
962
|
-
# @type ConfigServiceIp: String
|
963
|
-
# @param EnableConfigInternet: 是否开启config-server公网
|
964
|
-
# @type EnableConfigInternet: Boolean
|
965
|
-
# @param ConfigInternetServiceIp: config-server公网访问地址
|
966
|
-
# @type ConfigInternetServiceIp: String
|
967
|
-
# @param SpecId: 规格ID
|
968
|
-
# @type SpecId: String
|
969
|
-
# @param EnvReplica: 环境的节点数
|
970
|
-
# @type EnvReplica: Integer
|
971
|
-
# @param RunningCount: 环境运行的节点数
|
972
|
-
# @type RunningCount: Integer
|
973
|
-
# @param AliasEnvName: 环境别名
|
974
|
-
# @type AliasEnvName: String
|
975
|
-
# @param EnvDesc: 环境描述
|
976
|
-
# @type EnvDesc: String
|
977
|
-
# @param ClientBandWidth: 客户端带宽
|
978
|
-
# @type ClientBandWidth: Integer
|
979
|
-
# @param EnableConfigIntranet: 客户端内网开关
|
980
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
981
|
-
# @type EnableConfigIntranet: Boolean
|
2823
|
+
# ModifyCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
2824
|
+
class ModifyCloudNativeAPIGatewayServiceRateLimitRequest < TencentCloud::Common::AbstractModel
|
2825
|
+
# @param GatewayId: 网关ID
|
2826
|
+
# @type GatewayId: String
|
2827
|
+
# @param Name: 服务名称,或服务ID
|
2828
|
+
# @type Name: String
|
2829
|
+
# @param LimitDetail: 限流配置
|
2830
|
+
# @type LimitDetail: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayRateLimitDetail`
|
982
2831
|
|
983
|
-
attr_accessor :
|
2832
|
+
attr_accessor :GatewayId, :Name, :LimitDetail
|
984
2833
|
|
985
|
-
def initialize(
|
986
|
-
@
|
987
|
-
@
|
988
|
-
@
|
989
|
-
@Status = status
|
990
|
-
@AdminServiceIp = adminserviceip
|
991
|
-
@ConfigServiceIp = configserviceip
|
992
|
-
@EnableConfigInternet = enableconfiginternet
|
993
|
-
@ConfigInternetServiceIp = configinternetserviceip
|
994
|
-
@SpecId = specid
|
995
|
-
@EnvReplica = envreplica
|
996
|
-
@RunningCount = runningcount
|
997
|
-
@AliasEnvName = aliasenvname
|
998
|
-
@EnvDesc = envdesc
|
999
|
-
@ClientBandWidth = clientbandwidth
|
1000
|
-
@EnableConfigIntranet = enableconfigintranet
|
2834
|
+
def initialize(gatewayid=nil, name=nil, limitdetail=nil)
|
2835
|
+
@GatewayId = gatewayid
|
2836
|
+
@Name = name
|
2837
|
+
@LimitDetail = limitdetail
|
1001
2838
|
end
|
1002
2839
|
|
1003
2840
|
def deserialize(params)
|
1004
|
-
@
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
vpcinfo_tmp.deserialize(i)
|
1010
|
-
@VpcInfos << vpcinfo_tmp
|
1011
|
-
end
|
2841
|
+
@GatewayId = params['GatewayId']
|
2842
|
+
@Name = params['Name']
|
2843
|
+
unless params['LimitDetail'].nil?
|
2844
|
+
@LimitDetail = CloudNativeAPIGatewayRateLimitDetail.new
|
2845
|
+
@LimitDetail.deserialize(params['LimitDetail'])
|
1012
2846
|
end
|
1013
|
-
@StorageCapacity = params['StorageCapacity']
|
1014
|
-
@Status = params['Status']
|
1015
|
-
@AdminServiceIp = params['AdminServiceIp']
|
1016
|
-
@ConfigServiceIp = params['ConfigServiceIp']
|
1017
|
-
@EnableConfigInternet = params['EnableConfigInternet']
|
1018
|
-
@ConfigInternetServiceIp = params['ConfigInternetServiceIp']
|
1019
|
-
@SpecId = params['SpecId']
|
1020
|
-
@EnvReplica = params['EnvReplica']
|
1021
|
-
@RunningCount = params['RunningCount']
|
1022
|
-
@AliasEnvName = params['AliasEnvName']
|
1023
|
-
@EnvDesc = params['EnvDesc']
|
1024
|
-
@ClientBandWidth = params['ClientBandWidth']
|
1025
|
-
@EnableConfigIntranet = params['EnableConfigIntranet']
|
1026
2847
|
end
|
1027
2848
|
end
|
1028
2849
|
|
1029
|
-
#
|
1030
|
-
class
|
1031
|
-
# @param
|
1032
|
-
# @type
|
1033
|
-
# @param Values: 过滤参数值
|
1034
|
-
# @type Values: Array
|
2850
|
+
# ModifyCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
2851
|
+
class ModifyCloudNativeAPIGatewayServiceRateLimitResponse < TencentCloud::Common::AbstractModel
|
2852
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2853
|
+
# @type RequestId: String
|
1035
2854
|
|
1036
|
-
attr_accessor :
|
2855
|
+
attr_accessor :RequestId
|
1037
2856
|
|
1038
|
-
def initialize(
|
1039
|
-
@
|
1040
|
-
@Values = values
|
2857
|
+
def initialize(requestid=nil)
|
2858
|
+
@RequestId = requestid
|
1041
2859
|
end
|
1042
2860
|
|
1043
2861
|
def deserialize(params)
|
1044
|
-
@
|
1045
|
-
@Values = params['Values']
|
2862
|
+
@RequestId = params['RequestId']
|
1046
2863
|
end
|
1047
2864
|
end
|
1048
2865
|
|
1049
|
-
#
|
1050
|
-
class
|
1051
|
-
# @param
|
1052
|
-
# @type
|
1053
|
-
# @param
|
1054
|
-
# @type
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
2866
|
+
# ModifyCloudNativeAPIGatewayService请求参数结构体
|
2867
|
+
class ModifyCloudNativeAPIGatewayServiceRequest < TencentCloud::Common::AbstractModel
|
2868
|
+
# @param GatewayId: 网关ID
|
2869
|
+
# @type GatewayId: String
|
2870
|
+
# @param Name: 服务名称
|
2871
|
+
# @type Name: String
|
2872
|
+
# @param Protocol: 请求协议:
|
2873
|
+
# - https
|
2874
|
+
# - http
|
2875
|
+
# - tcp
|
2876
|
+
# - udp
|
2877
|
+
# @type Protocol: String
|
2878
|
+
# @param Path: 请求路径
|
2879
|
+
# @type Path: String
|
2880
|
+
# @param Timeout: 超时时间,单位ms
|
2881
|
+
# @type Timeout: Integer
|
2882
|
+
# @param Retries: 重试次数
|
2883
|
+
# @type Retries: Integer
|
2884
|
+
# @param UpstreamType: 服务类型:
|
2885
|
+
# - Kubernetes
|
2886
|
+
# - Registry
|
2887
|
+
# - IPList
|
2888
|
+
# - HostIP
|
2889
|
+
# - Scf
|
2890
|
+
# @type UpstreamType: String
|
2891
|
+
# @param UpstreamInfo: 服务配置
|
2892
|
+
# @type UpstreamInfo: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamInfo`
|
2893
|
+
# @param ID: 服务ID
|
2894
|
+
# @type ID: String
|
2895
|
+
|
2896
|
+
attr_accessor :GatewayId, :Name, :Protocol, :Path, :Timeout, :Retries, :UpstreamType, :UpstreamInfo, :ID
|
2897
|
+
|
2898
|
+
def initialize(gatewayid=nil, name=nil, protocol=nil, path=nil, timeout=nil, retries=nil, upstreamtype=nil, upstreaminfo=nil, id=nil)
|
2899
|
+
@GatewayId = gatewayid
|
2900
|
+
@Name = name
|
2901
|
+
@Protocol = protocol
|
2902
|
+
@Path = path
|
2903
|
+
@Timeout = timeout
|
2904
|
+
@Retries = retries
|
2905
|
+
@UpstreamType = upstreamtype
|
2906
|
+
@UpstreamInfo = upstreaminfo
|
2907
|
+
@ID = id
|
1061
2908
|
end
|
1062
2909
|
|
1063
2910
|
def deserialize(params)
|
1064
|
-
@
|
1065
|
-
@
|
2911
|
+
@GatewayId = params['GatewayId']
|
2912
|
+
@Name = params['Name']
|
2913
|
+
@Protocol = params['Protocol']
|
2914
|
+
@Path = params['Path']
|
2915
|
+
@Timeout = params['Timeout']
|
2916
|
+
@Retries = params['Retries']
|
2917
|
+
@UpstreamType = params['UpstreamType']
|
2918
|
+
unless params['UpstreamInfo'].nil?
|
2919
|
+
@UpstreamInfo = KongUpstreamInfo.new
|
2920
|
+
@UpstreamInfo.deserialize(params['UpstreamInfo'])
|
2921
|
+
end
|
2922
|
+
@ID = params['ID']
|
1066
2923
|
end
|
1067
2924
|
end
|
1068
2925
|
|
1069
|
-
#
|
1070
|
-
class
|
1071
|
-
# @param
|
1072
|
-
# @type
|
1073
|
-
# @param Value: 值
|
1074
|
-
# @type Value: String
|
2926
|
+
# ModifyCloudNativeAPIGatewayService返回参数结构体
|
2927
|
+
class ModifyCloudNativeAPIGatewayServiceResponse < TencentCloud::Common::AbstractModel
|
2928
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2929
|
+
# @type RequestId: String
|
1075
2930
|
|
1076
|
-
attr_accessor :
|
2931
|
+
attr_accessor :RequestId
|
1077
2932
|
|
1078
|
-
def initialize(
|
1079
|
-
@
|
1080
|
-
@Value = value
|
2933
|
+
def initialize(requestid=nil)
|
2934
|
+
@RequestId = requestid
|
1081
2935
|
end
|
1082
2936
|
|
1083
2937
|
def deserialize(params)
|
1084
|
-
@
|
1085
|
-
@Value = params['Value']
|
2938
|
+
@RequestId = params['RequestId']
|
1086
2939
|
end
|
1087
2940
|
end
|
1088
2941
|
|
@@ -1164,6 +3017,60 @@ module TencentCloud
|
|
1164
3017
|
end
|
1165
3018
|
end
|
1166
3019
|
|
3020
|
+
# 云原生网关限流插件Qps阈值
|
3021
|
+
class QpsThreshold < TencentCloud::Common::AbstractModel
|
3022
|
+
# @param Unit: qps阈值控制维度,包含:second、minute、hour、day、month、year
|
3023
|
+
# @type Unit: String
|
3024
|
+
# @param Max: 阈值
|
3025
|
+
# @type Max: Integer
|
3026
|
+
|
3027
|
+
attr_accessor :Unit, :Max
|
3028
|
+
|
3029
|
+
def initialize(unit=nil, max=nil)
|
3030
|
+
@Unit = unit
|
3031
|
+
@Max = max
|
3032
|
+
end
|
3033
|
+
|
3034
|
+
def deserialize(params)
|
3035
|
+
@Unit = params['Unit']
|
3036
|
+
@Max = params['Max']
|
3037
|
+
end
|
3038
|
+
end
|
3039
|
+
|
3040
|
+
# 云原生网关限流插件自定义响应
|
3041
|
+
class RateLimitResponse < TencentCloud::Common::AbstractModel
|
3042
|
+
# @param Body: 自定义响应体
|
3043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3044
|
+
# @type Body: String
|
3045
|
+
# @param Headers: headrs
|
3046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3047
|
+
# @type Headers: Array
|
3048
|
+
# @param HttpStatus: http状态码
|
3049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3050
|
+
# @type HttpStatus: Integer
|
3051
|
+
|
3052
|
+
attr_accessor :Body, :Headers, :HttpStatus
|
3053
|
+
|
3054
|
+
def initialize(body=nil, headers=nil, httpstatus=nil)
|
3055
|
+
@Body = body
|
3056
|
+
@Headers = headers
|
3057
|
+
@HttpStatus = httpstatus
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
def deserialize(params)
|
3061
|
+
@Body = params['Body']
|
3062
|
+
unless params['Headers'].nil?
|
3063
|
+
@Headers = []
|
3064
|
+
params['Headers'].each do |i|
|
3065
|
+
kvmapping_tmp = KVMapping.new
|
3066
|
+
kvmapping_tmp.deserialize(i)
|
3067
|
+
@Headers << kvmapping_tmp
|
3068
|
+
end
|
3069
|
+
end
|
3070
|
+
@HttpStatus = params['HttpStatus']
|
3071
|
+
end
|
3072
|
+
end
|
3073
|
+
|
1167
3074
|
# 微服务注册引擎实例
|
1168
3075
|
class SREInstance < TencentCloud::Common::AbstractModel
|
1169
3076
|
# @param InstanceId: 实例ID
|