tencentcloud-sdk-tse 3.0.639 → 3.0.640
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 +216 -0
- data/lib/v20201207/models.rb +922 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 753c806d105475074597b31e4e8a94a56d2febed
|
4
|
+
data.tar.gz: 0d391acd09ec5821230b80d1b2e1bbb4b68ac998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e1aca893f6227a7cedc2d60a118236d465293df976d098fad2c5884e06b859516cb844d5fa9fe75b6f2e3b91bdebedd1903bff95fb0719a7892631d63da0f37
|
7
|
+
data.tar.gz: 264b0a040aaa6fcfdaa1120f78da0b8b282c83457896c384695527a72d41221ee089fef21eb4287f969c727520713b78af1b8c1ada4caa7fe7c6f98bd29b8374
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.640
|
data/lib/v20201207/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建云原生API网关实例
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateCloudNativeAPIGateway.
|
35
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayResponse`
|
37
|
+
def CreateCloudNativeAPIGateway(request)
|
38
|
+
body = send_request('CreateCloudNativeAPIGateway', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateCloudNativeAPIGatewayResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 创建云原生网关的灰度规则
|
33
57
|
|
34
58
|
# @param request: Request instance for CreateCloudNativeAPIGatewayCanaryRule.
|
@@ -173,6 +197,54 @@ module TencentCloud
|
|
173
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
198
|
end
|
175
199
|
|
200
|
+
# 创建云原生网关引擎分组
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateNativeGatewayServerGroup.
|
203
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateNativeGatewayServerGroupRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateNativeGatewayServerGroupResponse`
|
205
|
+
def CreateNativeGatewayServerGroup(request)
|
206
|
+
body = send_request('CreateNativeGatewayServerGroup', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateNativeGatewayServerGroupResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 删除云原生API网关实例
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteCloudNativeAPIGateway.
|
227
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayResponse`
|
229
|
+
def DeleteCloudNativeAPIGateway(request)
|
230
|
+
body = send_request('DeleteCloudNativeAPIGateway', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteCloudNativeAPIGatewayResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
176
248
|
# 删除云原生网关的灰度规则
|
177
249
|
|
178
250
|
# @param request: Request instance for DeleteCloudNativeAPIGatewayCanaryRule.
|
@@ -317,6 +389,54 @@ module TencentCloud
|
|
317
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
390
|
end
|
319
391
|
|
392
|
+
# 删除网关实例分组
|
393
|
+
|
394
|
+
# @param request: Request instance for DeleteNativeGatewayServerGroup.
|
395
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteNativeGatewayServerGroupRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteNativeGatewayServerGroupResponse`
|
397
|
+
def DeleteNativeGatewayServerGroup(request)
|
398
|
+
body = send_request('DeleteNativeGatewayServerGroup', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DeleteNativeGatewayServerGroupResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 获取云原生API网关实例信息
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeCloudNativeAPIGateway.
|
419
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayResponse`
|
421
|
+
def DescribeCloudNativeAPIGateway(request)
|
422
|
+
body = send_request('DescribeCloudNativeAPIGateway', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeCloudNativeAPIGatewayResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
320
440
|
# 查询云原生网关灰度规则列表
|
321
441
|
|
322
442
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayCanaryRules.
|
@@ -485,6 +605,30 @@ module TencentCloud
|
|
485
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
606
|
end
|
487
607
|
|
608
|
+
# 获取云原生API网关实例列表
|
609
|
+
|
610
|
+
# @param request: Request instance for DescribeCloudNativeAPIGateways.
|
611
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysResponse`
|
613
|
+
def DescribeCloudNativeAPIGateways(request)
|
614
|
+
body = send_request('DescribeCloudNativeAPIGateways', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DescribeCloudNativeAPIGatewaysResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
488
632
|
# 查询Nacos类型引擎实例副本信息
|
489
633
|
|
490
634
|
# @param request: Request instance for DescribeNacosReplicas.
|
@@ -653,6 +797,30 @@ module TencentCloud
|
|
653
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
798
|
end
|
655
799
|
|
800
|
+
# 修改云原生API网关实例基础信息
|
801
|
+
|
802
|
+
# @param request: Request instance for ModifyCloudNativeAPIGateway.
|
803
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayResponse`
|
805
|
+
def ModifyCloudNativeAPIGateway(request)
|
806
|
+
body = send_request('ModifyCloudNativeAPIGateway', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = ModifyCloudNativeAPIGatewayResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
656
824
|
# 修改云原生网关的灰度规则
|
657
825
|
|
658
826
|
# @param request: Request instance for ModifyCloudNativeAPIGatewayCanaryRule.
|
@@ -773,6 +941,54 @@ module TencentCloud
|
|
773
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
942
|
end
|
775
943
|
|
944
|
+
# 修改云原生API网关实例分组基础信息
|
945
|
+
|
946
|
+
# @param request: Request instance for ModifyNativeGatewayServerGroup.
|
947
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyNativeGatewayServerGroupRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyNativeGatewayServerGroupResponse`
|
949
|
+
def ModifyNativeGatewayServerGroup(request)
|
950
|
+
body = send_request('ModifyNativeGatewayServerGroup', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = ModifyNativeGatewayServerGroupResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
968
|
+
# 修改云原生API网关实例的节点规格信息,比如节点扩缩容或者升降配
|
969
|
+
|
970
|
+
# @param request: Request instance for UpdateCloudNativeAPIGatewaySpec.
|
971
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::UpdateCloudNativeAPIGatewaySpecRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::UpdateCloudNativeAPIGatewaySpecResponse`
|
973
|
+
def UpdateCloudNativeAPIGatewaySpec(request)
|
974
|
+
body = send_request('UpdateCloudNativeAPIGatewaySpec', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = UpdateCloudNativeAPIGatewaySpecResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
776
992
|
# 修改引擎公网访问配置
|
777
993
|
|
778
994
|
# @param request: Request instance for UpdateEngineInternetAccess.
|
data/lib/v20201207/models.rb
CHANGED
@@ -295,6 +295,28 @@ module TencentCloud
|
|
295
295
|
end
|
296
296
|
end
|
297
297
|
|
298
|
+
# 云原生API网关节点配置。
|
299
|
+
class CloudNativeAPIGatewayNodeConfig < TencentCloud::Common::AbstractModel
|
300
|
+
# @param Specification: 节点配置, 1c2g|2c4g|4c8g|8c16g。
|
301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
302
|
+
# @type Specification: String
|
303
|
+
# @param Number: 节点数量,2-9。
|
304
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
305
|
+
# @type Number: Integer
|
306
|
+
|
307
|
+
attr_accessor :Specification, :Number
|
308
|
+
|
309
|
+
def initialize(specification=nil, number=nil)
|
310
|
+
@Specification = specification
|
311
|
+
@Number = number
|
312
|
+
end
|
313
|
+
|
314
|
+
def deserialize(params)
|
315
|
+
@Specification = params['Specification']
|
316
|
+
@Number = params['Number']
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
298
320
|
# 云原生网关Tse 限流插件配置
|
299
321
|
class CloudNativeAPIGatewayRateLimitDetail < TencentCloud::Common::AbstractModel
|
300
322
|
# @param Enabled: 插件启用状态
|
@@ -387,6 +409,28 @@ module TencentCloud
|
|
387
409
|
end
|
388
410
|
end
|
389
411
|
|
412
|
+
# 云原生API网关vpc配置。
|
413
|
+
class CloudNativeAPIGatewayVpcConfig < TencentCloud::Common::AbstractModel
|
414
|
+
# @param VpcId: 私有网络ID。
|
415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
416
|
+
# @type VpcId: String
|
417
|
+
# @param SubnetId: 子网ID。
|
418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
419
|
+
# @type SubnetId: String
|
420
|
+
|
421
|
+
attr_accessor :VpcId, :SubnetId
|
422
|
+
|
423
|
+
def initialize(vpcid=nil, subnetid=nil)
|
424
|
+
@VpcId = vpcid
|
425
|
+
@SubnetId = subnetid
|
426
|
+
end
|
427
|
+
|
428
|
+
def deserialize(params)
|
429
|
+
@VpcId = params['VpcId']
|
430
|
+
@SubnetId = params['SubnetId']
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
390
434
|
# CreateCloudNativeAPIGatewayCanaryRule请求参数结构体
|
391
435
|
class CreateCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
|
392
436
|
# @param GatewayId: 网关 ID
|
@@ -430,6 +474,145 @@ module TencentCloud
|
|
430
474
|
end
|
431
475
|
end
|
432
476
|
|
477
|
+
# CreateCloudNativeAPIGateway请求参数结构体
|
478
|
+
class CreateCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
479
|
+
# @param Name: 云原生API网关名字, 最多支持60个字符。
|
480
|
+
# @type Name: String
|
481
|
+
# @param Type: 云原生API网关类型, 目前只支持kong。
|
482
|
+
# @type Type: String
|
483
|
+
# @param GatewayVersion: 云原生API网关版本。参考值:
|
484
|
+
# - 2.4.1
|
485
|
+
# - 2.5.1
|
486
|
+
# @type GatewayVersion: String
|
487
|
+
# @param NodeConfig: 云原生API网关节点配置。
|
488
|
+
# @type NodeConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
489
|
+
# @param VpcConfig: 云原生API网关vpc配置。
|
490
|
+
# @type VpcConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayVpcConfig`
|
491
|
+
# @param Description: 云原生API网关描述信息, 最多支持120个字符。
|
492
|
+
# @type Description: String
|
493
|
+
# @param Tags: 标签列表
|
494
|
+
# @type Tags: Array
|
495
|
+
# @param EnableCls: 是否开启 CLS 日志。默认值:fasle
|
496
|
+
# @type EnableCls: Boolean
|
497
|
+
# @param FeatureVersion: 产品版本。参考值:
|
498
|
+
# - TRIAL:开发版
|
499
|
+
# - STANDARD:标准版 (默认值)
|
500
|
+
# - PROFESSIONAL:专业版
|
501
|
+
# @type FeatureVersion: String
|
502
|
+
# @param InternetMaxBandwidthOut: 公网出流量带宽,[1,2048]Mbps
|
503
|
+
# @type InternetMaxBandwidthOut: Integer
|
504
|
+
# @param EngineRegion: 实例实际的地域信息,默认值:ap-guangzhou
|
505
|
+
# @type EngineRegion: String
|
506
|
+
# @param IngressClassName: ingress Class名称
|
507
|
+
# @type IngressClassName: String
|
508
|
+
# @param TradeType: 付费类型。参考值:
|
509
|
+
# 0:后付费(默认值)
|
510
|
+
# 1:预付费(接口暂不支持创建预付费实例)
|
511
|
+
# @type TradeType: Integer
|
512
|
+
# @param InternetConfig: 公网相关配置
|
513
|
+
# @type InternetConfig: :class:`Tencentcloud::Tse.v20201207.models.InternetConfig`
|
514
|
+
|
515
|
+
attr_accessor :Name, :Type, :GatewayVersion, :NodeConfig, :VpcConfig, :Description, :Tags, :EnableCls, :FeatureVersion, :InternetMaxBandwidthOut, :EngineRegion, :IngressClassName, :TradeType, :InternetConfig
|
516
|
+
|
517
|
+
def initialize(name=nil, type=nil, gatewayversion=nil, nodeconfig=nil, vpcconfig=nil, description=nil, tags=nil, enablecls=nil, featureversion=nil, internetmaxbandwidthout=nil, engineregion=nil, ingressclassname=nil, tradetype=nil, internetconfig=nil)
|
518
|
+
@Name = name
|
519
|
+
@Type = type
|
520
|
+
@GatewayVersion = gatewayversion
|
521
|
+
@NodeConfig = nodeconfig
|
522
|
+
@VpcConfig = vpcconfig
|
523
|
+
@Description = description
|
524
|
+
@Tags = tags
|
525
|
+
@EnableCls = enablecls
|
526
|
+
@FeatureVersion = featureversion
|
527
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
528
|
+
@EngineRegion = engineregion
|
529
|
+
@IngressClassName = ingressclassname
|
530
|
+
@TradeType = tradetype
|
531
|
+
@InternetConfig = internetconfig
|
532
|
+
end
|
533
|
+
|
534
|
+
def deserialize(params)
|
535
|
+
@Name = params['Name']
|
536
|
+
@Type = params['Type']
|
537
|
+
@GatewayVersion = params['GatewayVersion']
|
538
|
+
unless params['NodeConfig'].nil?
|
539
|
+
@NodeConfig = CloudNativeAPIGatewayNodeConfig.new
|
540
|
+
@NodeConfig.deserialize(params['NodeConfig'])
|
541
|
+
end
|
542
|
+
unless params['VpcConfig'].nil?
|
543
|
+
@VpcConfig = CloudNativeAPIGatewayVpcConfig.new
|
544
|
+
@VpcConfig.deserialize(params['VpcConfig'])
|
545
|
+
end
|
546
|
+
@Description = params['Description']
|
547
|
+
unless params['Tags'].nil?
|
548
|
+
@Tags = []
|
549
|
+
params['Tags'].each do |i|
|
550
|
+
instancetaginfo_tmp = InstanceTagInfo.new
|
551
|
+
instancetaginfo_tmp.deserialize(i)
|
552
|
+
@Tags << instancetaginfo_tmp
|
553
|
+
end
|
554
|
+
end
|
555
|
+
@EnableCls = params['EnableCls']
|
556
|
+
@FeatureVersion = params['FeatureVersion']
|
557
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
558
|
+
@EngineRegion = params['EngineRegion']
|
559
|
+
@IngressClassName = params['IngressClassName']
|
560
|
+
@TradeType = params['TradeType']
|
561
|
+
unless params['InternetConfig'].nil?
|
562
|
+
@InternetConfig = InternetConfig.new
|
563
|
+
@InternetConfig.deserialize(params['InternetConfig'])
|
564
|
+
end
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# CreateCloudNativeAPIGateway返回参数结构体
|
569
|
+
class CreateCloudNativeAPIGatewayResponse < TencentCloud::Common::AbstractModel
|
570
|
+
# @param Result: 创建云原生API网关实例响应结果。
|
571
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CreateCloudNativeAPIGatewayResult`
|
572
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
573
|
+
# @type RequestId: String
|
574
|
+
|
575
|
+
attr_accessor :Result, :RequestId
|
576
|
+
|
577
|
+
def initialize(result=nil, requestid=nil)
|
578
|
+
@Result = result
|
579
|
+
@RequestId = requestid
|
580
|
+
end
|
581
|
+
|
582
|
+
def deserialize(params)
|
583
|
+
unless params['Result'].nil?
|
584
|
+
@Result = CreateCloudNativeAPIGatewayResult.new
|
585
|
+
@Result.deserialize(params['Result'])
|
586
|
+
end
|
587
|
+
@RequestId = params['RequestId']
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# 创建云原生API网关响应结果。
|
592
|
+
class CreateCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
593
|
+
# @param GatewayId: 云原生API网关ID。
|
594
|
+
# @type GatewayId: String
|
595
|
+
# @param Status: 云原生网关状态。
|
596
|
+
# @type Status: String
|
597
|
+
# @param TaskId: 任务ID
|
598
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
599
|
+
# @type TaskId: String
|
600
|
+
|
601
|
+
attr_accessor :GatewayId, :Status, :TaskId
|
602
|
+
|
603
|
+
def initialize(gatewayid=nil, status=nil, taskid=nil)
|
604
|
+
@GatewayId = gatewayid
|
605
|
+
@Status = status
|
606
|
+
@TaskId = taskid
|
607
|
+
end
|
608
|
+
|
609
|
+
def deserialize(params)
|
610
|
+
@GatewayId = params['GatewayId']
|
611
|
+
@Status = params['Status']
|
612
|
+
@TaskId = params['TaskId']
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
433
616
|
# CreateCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
434
617
|
class CreateCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
435
618
|
# @param GatewayId: 网关ID
|
@@ -582,6 +765,36 @@ module TencentCloud
|
|
582
765
|
end
|
583
766
|
end
|
584
767
|
|
768
|
+
# 创建网关分组信息
|
769
|
+
class CreateCloudNativeAPIGatewayServerGroupResult < TencentCloud::Common::AbstractModel
|
770
|
+
# @param GatewayId: 网关实例id
|
771
|
+
# @type GatewayId: String
|
772
|
+
# @param GroupId: 分组id
|
773
|
+
# @type GroupId: String
|
774
|
+
# @param Status: 状态
|
775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
776
|
+
# @type Status: String
|
777
|
+
# @param TaskId: 任务ID
|
778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
779
|
+
# @type TaskId: String
|
780
|
+
|
781
|
+
attr_accessor :GatewayId, :GroupId, :Status, :TaskId
|
782
|
+
|
783
|
+
def initialize(gatewayid=nil, groupid=nil, status=nil, taskid=nil)
|
784
|
+
@GatewayId = gatewayid
|
785
|
+
@GroupId = groupid
|
786
|
+
@Status = status
|
787
|
+
@TaskId = taskid
|
788
|
+
end
|
789
|
+
|
790
|
+
def deserialize(params)
|
791
|
+
@GatewayId = params['GatewayId']
|
792
|
+
@GroupId = params['GroupId']
|
793
|
+
@Status = params['Status']
|
794
|
+
@TaskId = params['TaskId']
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
585
798
|
# CreateCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
586
799
|
class CreateCloudNativeAPIGatewayServiceRateLimitRequest < TencentCloud::Common::AbstractModel
|
587
800
|
# @param GatewayId: 网关ID
|
@@ -873,6 +1086,77 @@ module TencentCloud
|
|
873
1086
|
end
|
874
1087
|
end
|
875
1088
|
|
1089
|
+
# CreateNativeGatewayServerGroup请求参数结构体
|
1090
|
+
class CreateNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
|
1091
|
+
# @param GatewayId: 网关实例id。
|
1092
|
+
# 只支持后付费实例
|
1093
|
+
# @type GatewayId: String
|
1094
|
+
# @param Name: 网关分组名
|
1095
|
+
# @type Name: String
|
1096
|
+
# @param NodeConfig: 节点配置
|
1097
|
+
# @type NodeConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
1098
|
+
# @param SubnetId: 子网id
|
1099
|
+
# @type SubnetId: String
|
1100
|
+
# @param Description: 描述信息
|
1101
|
+
# @type Description: String
|
1102
|
+
# @param InternetMaxBandwidthOut: 公网带宽信息
|
1103
|
+
# @type InternetMaxBandwidthOut: Integer
|
1104
|
+
# @param InternetConfig: 公网配置。
|
1105
|
+
# @type InternetConfig: :class:`Tencentcloud::Tse.v20201207.models.InternetConfig`
|
1106
|
+
|
1107
|
+
attr_accessor :GatewayId, :Name, :NodeConfig, :SubnetId, :Description, :InternetMaxBandwidthOut, :InternetConfig
|
1108
|
+
|
1109
|
+
def initialize(gatewayid=nil, name=nil, nodeconfig=nil, subnetid=nil, description=nil, internetmaxbandwidthout=nil, internetconfig=nil)
|
1110
|
+
@GatewayId = gatewayid
|
1111
|
+
@Name = name
|
1112
|
+
@NodeConfig = nodeconfig
|
1113
|
+
@SubnetId = subnetid
|
1114
|
+
@Description = description
|
1115
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
1116
|
+
@InternetConfig = internetconfig
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
def deserialize(params)
|
1120
|
+
@GatewayId = params['GatewayId']
|
1121
|
+
@Name = params['Name']
|
1122
|
+
unless params['NodeConfig'].nil?
|
1123
|
+
@NodeConfig = CloudNativeAPIGatewayNodeConfig.new
|
1124
|
+
@NodeConfig.deserialize(params['NodeConfig'])
|
1125
|
+
end
|
1126
|
+
@SubnetId = params['SubnetId']
|
1127
|
+
@Description = params['Description']
|
1128
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
1129
|
+
unless params['InternetConfig'].nil?
|
1130
|
+
@InternetConfig = InternetConfig.new
|
1131
|
+
@InternetConfig.deserialize(params['InternetConfig'])
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# CreateNativeGatewayServerGroup返回参数结构体
|
1137
|
+
class CreateNativeGatewayServerGroupResponse < TencentCloud::Common::AbstractModel
|
1138
|
+
# @param Result: 网关分组创建信息
|
1139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1140
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CreateCloudNativeAPIGatewayServerGroupResult`
|
1141
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1142
|
+
# @type RequestId: String
|
1143
|
+
|
1144
|
+
attr_accessor :Result, :RequestId
|
1145
|
+
|
1146
|
+
def initialize(result=nil, requestid=nil)
|
1147
|
+
@Result = result
|
1148
|
+
@RequestId = requestid
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
def deserialize(params)
|
1152
|
+
unless params['Result'].nil?
|
1153
|
+
@Result = CreateCloudNativeAPIGatewayServerGroupResult.new
|
1154
|
+
@Result.deserialize(params['Result'])
|
1155
|
+
end
|
1156
|
+
@RequestId = params['RequestId']
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
876
1160
|
# DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
|
877
1161
|
class DeleteCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
|
878
1162
|
# @param GatewayId: 网关 ID
|
@@ -913,6 +1197,69 @@ module TencentCloud
|
|
913
1197
|
end
|
914
1198
|
end
|
915
1199
|
|
1200
|
+
# DeleteCloudNativeAPIGateway请求参数结构体
|
1201
|
+
class DeleteCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
1202
|
+
# @param GatewayId: 云原生API网关实例ID。
|
1203
|
+
# @type GatewayId: String
|
1204
|
+
# @param DeleteClsTopic: 是否删除实例关联的 CLS 日志主题。
|
1205
|
+
# @type DeleteClsTopic: Boolean
|
1206
|
+
|
1207
|
+
attr_accessor :GatewayId, :DeleteClsTopic
|
1208
|
+
|
1209
|
+
def initialize(gatewayid=nil, deleteclstopic=nil)
|
1210
|
+
@GatewayId = gatewayid
|
1211
|
+
@DeleteClsTopic = deleteclstopic
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
def deserialize(params)
|
1215
|
+
@GatewayId = params['GatewayId']
|
1216
|
+
@DeleteClsTopic = params['DeleteClsTopic']
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# DeleteCloudNativeAPIGateway返回参数结构体
|
1221
|
+
class DeleteCloudNativeAPIGatewayResponse < TencentCloud::Common::AbstractModel
|
1222
|
+
# @param Result: 删除云原生API网关实例响应结果。
|
1223
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DeleteCloudNativeAPIGatewayResult`
|
1224
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1225
|
+
# @type RequestId: String
|
1226
|
+
|
1227
|
+
attr_accessor :Result, :RequestId
|
1228
|
+
|
1229
|
+
def initialize(result=nil, requestid=nil)
|
1230
|
+
@Result = result
|
1231
|
+
@RequestId = requestid
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
def deserialize(params)
|
1235
|
+
unless params['Result'].nil?
|
1236
|
+
@Result = DeleteCloudNativeAPIGatewayResult.new
|
1237
|
+
@Result.deserialize(params['Result'])
|
1238
|
+
end
|
1239
|
+
@RequestId = params['RequestId']
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# 删除云原生API网关响应结果。
|
1244
|
+
class DeleteCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
1245
|
+
# @param GatewayId: 云原生网关ID。
|
1246
|
+
# @type GatewayId: String
|
1247
|
+
# @param Status: 云原生网关状态。
|
1248
|
+
# @type Status: String
|
1249
|
+
|
1250
|
+
attr_accessor :GatewayId, :Status
|
1251
|
+
|
1252
|
+
def initialize(gatewayid=nil, status=nil)
|
1253
|
+
@GatewayId = gatewayid
|
1254
|
+
@Status = status
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
def deserialize(params)
|
1258
|
+
@GatewayId = params['GatewayId']
|
1259
|
+
@Status = params['Status']
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
916
1263
|
# DeleteCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
917
1264
|
class DeleteCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
918
1265
|
# @param GatewayId: 网关Id
|
@@ -1090,6 +1437,79 @@ module TencentCloud
|
|
1090
1437
|
end
|
1091
1438
|
end
|
1092
1439
|
|
1440
|
+
# DeleteNativeGatewayServerGroup请求参数结构体
|
1441
|
+
class DeleteNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
|
1442
|
+
# @param GatewayId: 网关实例id。
|
1443
|
+
# 只支持后付费实例
|
1444
|
+
# @type GatewayId: String
|
1445
|
+
# @param GroupId: 网关分组id
|
1446
|
+
# @type GroupId: String
|
1447
|
+
|
1448
|
+
attr_accessor :GatewayId, :GroupId
|
1449
|
+
|
1450
|
+
def initialize(gatewayid=nil, groupid=nil)
|
1451
|
+
@GatewayId = gatewayid
|
1452
|
+
@GroupId = groupid
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
def deserialize(params)
|
1456
|
+
@GatewayId = params['GatewayId']
|
1457
|
+
@GroupId = params['GroupId']
|
1458
|
+
end
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
# DeleteNativeGatewayServerGroup返回参数结构体
|
1462
|
+
class DeleteNativeGatewayServerGroupResponse < TencentCloud::Common::AbstractModel
|
1463
|
+
# @param Result: 删除信息
|
1464
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DeleteNativeGatewayServerGroupResult`
|
1465
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1466
|
+
# @type RequestId: String
|
1467
|
+
|
1468
|
+
attr_accessor :Result, :RequestId
|
1469
|
+
|
1470
|
+
def initialize(result=nil, requestid=nil)
|
1471
|
+
@Result = result
|
1472
|
+
@RequestId = requestid
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
def deserialize(params)
|
1476
|
+
unless params['Result'].nil?
|
1477
|
+
@Result = DeleteNativeGatewayServerGroupResult.new
|
1478
|
+
@Result.deserialize(params['Result'])
|
1479
|
+
end
|
1480
|
+
@RequestId = params['RequestId']
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# 删除网关实例结果
|
1485
|
+
class DeleteNativeGatewayServerGroupResult < TencentCloud::Common::AbstractModel
|
1486
|
+
# @param GatewayId: 网关实例id
|
1487
|
+
# @type GatewayId: String
|
1488
|
+
# @param GroupId: 网关分组id
|
1489
|
+
# @type GroupId: String
|
1490
|
+
# @param Status: 删除状态
|
1491
|
+
# @type Status: String
|
1492
|
+
# @param TaskId: 任务ID
|
1493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1494
|
+
# @type TaskId: String
|
1495
|
+
|
1496
|
+
attr_accessor :GatewayId, :GroupId, :Status, :TaskId
|
1497
|
+
|
1498
|
+
def initialize(gatewayid=nil, groupid=nil, status=nil, taskid=nil)
|
1499
|
+
@GatewayId = gatewayid
|
1500
|
+
@GroupId = groupid
|
1501
|
+
@Status = status
|
1502
|
+
@TaskId = taskid
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
def deserialize(params)
|
1506
|
+
@GatewayId = params['GatewayId']
|
1507
|
+
@GroupId = params['GroupId']
|
1508
|
+
@Status = params['Status']
|
1509
|
+
@TaskId = params['TaskId']
|
1510
|
+
end
|
1511
|
+
end
|
1512
|
+
|
1093
1513
|
# DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
|
1094
1514
|
class DescribeCloudNativeAPIGatewayCanaryRulesRequest < TencentCloud::Common::AbstractModel
|
1095
1515
|
# @param GatewayId: 网关ID
|
@@ -1252,13 +1672,199 @@ module TencentCloud
|
|
1252
1672
|
|
1253
1673
|
def deserialize(params)
|
1254
1674
|
unless params['Result'].nil?
|
1255
|
-
@Result = DescribeGatewayInstancePortResult.new
|
1675
|
+
@Result = DescribeGatewayInstancePortResult.new
|
1676
|
+
@Result.deserialize(params['Result'])
|
1677
|
+
end
|
1678
|
+
@RequestId = params['RequestId']
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# DescribeCloudNativeAPIGateway请求参数结构体
|
1683
|
+
class DescribeCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
1684
|
+
# @param GatewayId: 云原生API网关实例ID
|
1685
|
+
# @type GatewayId: String
|
1686
|
+
|
1687
|
+
attr_accessor :GatewayId
|
1688
|
+
|
1689
|
+
def initialize(gatewayid=nil)
|
1690
|
+
@GatewayId = gatewayid
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def deserialize(params)
|
1694
|
+
@GatewayId = params['GatewayId']
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# DescribeCloudNativeAPIGateway返回参数结构体
|
1699
|
+
class DescribeCloudNativeAPIGatewayResponse < TencentCloud::Common::AbstractModel
|
1700
|
+
# @param Result: 获取云原生API网关基础信息响应结果。
|
1701
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeCloudNativeAPIGatewayResult`
|
1702
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1703
|
+
# @type RequestId: String
|
1704
|
+
|
1705
|
+
attr_accessor :Result, :RequestId
|
1706
|
+
|
1707
|
+
def initialize(result=nil, requestid=nil)
|
1708
|
+
@Result = result
|
1709
|
+
@RequestId = requestid
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
def deserialize(params)
|
1713
|
+
unless params['Result'].nil?
|
1714
|
+
@Result = DescribeCloudNativeAPIGatewayResult.new
|
1256
1715
|
@Result.deserialize(params['Result'])
|
1257
1716
|
end
|
1258
1717
|
@RequestId = params['RequestId']
|
1259
1718
|
end
|
1260
1719
|
end
|
1261
1720
|
|
1721
|
+
# 获取云原生API网关基础信息响应结果。
|
1722
|
+
class DescribeCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
1723
|
+
# @param GatewayId: 云原生API网关ID。
|
1724
|
+
# @type GatewayId: String
|
1725
|
+
# @param Status: 云原生API网关状态。
|
1726
|
+
# @type Status: String
|
1727
|
+
# @param Name: 云原生API网关名。
|
1728
|
+
# @type Name: String
|
1729
|
+
# @param Type: 云原生API网关类型。
|
1730
|
+
# @type Type: String
|
1731
|
+
# @param GatewayVersion: 实例版本:
|
1732
|
+
# - 2.4.1
|
1733
|
+
# - 2.5.1
|
1734
|
+
# @type GatewayVersion: String
|
1735
|
+
# @param NodeConfig: 云原生API网关节点信息。
|
1736
|
+
# @type NodeConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
1737
|
+
# @param VpcConfig: 云原生API网关vpc配置。
|
1738
|
+
# @type VpcConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayVpcConfig`
|
1739
|
+
# @param Description: 云原生API网关描述。
|
1740
|
+
# @type Description: String
|
1741
|
+
# @param CreateTime: 云原生API网关创建时间。
|
1742
|
+
# @type CreateTime: String
|
1743
|
+
# @param Tags: 实例的标签信息
|
1744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1745
|
+
# @type Tags: Array
|
1746
|
+
# @param EnableCls: 是否开启 cls 日志
|
1747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1748
|
+
# @type EnableCls: Boolean
|
1749
|
+
# @param TradeType: 付费模式,0表示后付费,1预付费
|
1750
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1751
|
+
# @type TradeType: Integer
|
1752
|
+
# @param FeatureVersion: 实例版本,当前支持开发版、标准版、专业版【TRIAL、STANDARD、PROFESSIONAL】
|
1753
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1754
|
+
# @type FeatureVersion: String
|
1755
|
+
# @param InternetMaxBandwidthOut: 公网出流量带宽,[1,2048]Mbps
|
1756
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1757
|
+
# @type InternetMaxBandwidthOut: Integer
|
1758
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态);
|
1759
|
+
# 1表示自动续费,2表示明确不自动续费(用户设置),若业务无续费概念或无需自动续费,需要设置为0
|
1760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1761
|
+
# @type AutoRenewFlag: Integer
|
1762
|
+
# @param CurDeadline: 到期时间,预付费时使用
|
1763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1764
|
+
# @type CurDeadline: String
|
1765
|
+
# @param IsolateTime: 隔离时间,实例隔离时使用
|
1766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1767
|
+
# @type IsolateTime: String
|
1768
|
+
# @param EnableInternet: 是否开启客户端公网。
|
1769
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1770
|
+
# @type EnableInternet: Boolean
|
1771
|
+
# @param EngineRegion: 实例实际的地域信息
|
1772
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1773
|
+
# @type EngineRegion: String
|
1774
|
+
# @param IngressClassName: Ingress class名称
|
1775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1776
|
+
# @type IngressClassName: String
|
1777
|
+
# @param InternetPayMode: 公网计费方式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。
|
1778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1779
|
+
# @type InternetPayMode: String
|
1780
|
+
# @param GatewayMinorVersion: 云原生API网关小版本号
|
1781
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1782
|
+
# @type GatewayMinorVersion: String
|
1783
|
+
# @param InstancePort: 实例监听的端口信息
|
1784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1785
|
+
# @type InstancePort: :class:`Tencentcloud::Tse.v20201207.models.InstancePort`
|
1786
|
+
# @param LoadBalancerType: 公网CLB默认类型
|
1787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1788
|
+
# @type LoadBalancerType: String
|
1789
|
+
# @param PublicIpAddresses: 公网IP地址列表
|
1790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1791
|
+
# @type PublicIpAddresses: Array
|
1792
|
+
|
1793
|
+
attr_accessor :GatewayId, :Status, :Name, :Type, :GatewayVersion, :NodeConfig, :VpcConfig, :Description, :CreateTime, :Tags, :EnableCls, :TradeType, :FeatureVersion, :InternetMaxBandwidthOut, :AutoRenewFlag, :CurDeadline, :IsolateTime, :EnableInternet, :EngineRegion, :IngressClassName, :InternetPayMode, :GatewayMinorVersion, :InstancePort, :LoadBalancerType, :PublicIpAddresses
|
1794
|
+
|
1795
|
+
def initialize(gatewayid=nil, status=nil, name=nil, type=nil, gatewayversion=nil, nodeconfig=nil, vpcconfig=nil, description=nil, createtime=nil, tags=nil, enablecls=nil, tradetype=nil, featureversion=nil, internetmaxbandwidthout=nil, autorenewflag=nil, curdeadline=nil, isolatetime=nil, enableinternet=nil, engineregion=nil, ingressclassname=nil, internetpaymode=nil, gatewayminorversion=nil, instanceport=nil, loadbalancertype=nil, publicipaddresses=nil)
|
1796
|
+
@GatewayId = gatewayid
|
1797
|
+
@Status = status
|
1798
|
+
@Name = name
|
1799
|
+
@Type = type
|
1800
|
+
@GatewayVersion = gatewayversion
|
1801
|
+
@NodeConfig = nodeconfig
|
1802
|
+
@VpcConfig = vpcconfig
|
1803
|
+
@Description = description
|
1804
|
+
@CreateTime = createtime
|
1805
|
+
@Tags = tags
|
1806
|
+
@EnableCls = enablecls
|
1807
|
+
@TradeType = tradetype
|
1808
|
+
@FeatureVersion = featureversion
|
1809
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
1810
|
+
@AutoRenewFlag = autorenewflag
|
1811
|
+
@CurDeadline = curdeadline
|
1812
|
+
@IsolateTime = isolatetime
|
1813
|
+
@EnableInternet = enableinternet
|
1814
|
+
@EngineRegion = engineregion
|
1815
|
+
@IngressClassName = ingressclassname
|
1816
|
+
@InternetPayMode = internetpaymode
|
1817
|
+
@GatewayMinorVersion = gatewayminorversion
|
1818
|
+
@InstancePort = instanceport
|
1819
|
+
@LoadBalancerType = loadbalancertype
|
1820
|
+
@PublicIpAddresses = publicipaddresses
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
def deserialize(params)
|
1824
|
+
@GatewayId = params['GatewayId']
|
1825
|
+
@Status = params['Status']
|
1826
|
+
@Name = params['Name']
|
1827
|
+
@Type = params['Type']
|
1828
|
+
@GatewayVersion = params['GatewayVersion']
|
1829
|
+
unless params['NodeConfig'].nil?
|
1830
|
+
@NodeConfig = CloudNativeAPIGatewayNodeConfig.new
|
1831
|
+
@NodeConfig.deserialize(params['NodeConfig'])
|
1832
|
+
end
|
1833
|
+
unless params['VpcConfig'].nil?
|
1834
|
+
@VpcConfig = CloudNativeAPIGatewayVpcConfig.new
|
1835
|
+
@VpcConfig.deserialize(params['VpcConfig'])
|
1836
|
+
end
|
1837
|
+
@Description = params['Description']
|
1838
|
+
@CreateTime = params['CreateTime']
|
1839
|
+
unless params['Tags'].nil?
|
1840
|
+
@Tags = []
|
1841
|
+
params['Tags'].each do |i|
|
1842
|
+
instancetaginfo_tmp = InstanceTagInfo.new
|
1843
|
+
instancetaginfo_tmp.deserialize(i)
|
1844
|
+
@Tags << instancetaginfo_tmp
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
@EnableCls = params['EnableCls']
|
1848
|
+
@TradeType = params['TradeType']
|
1849
|
+
@FeatureVersion = params['FeatureVersion']
|
1850
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
1851
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
1852
|
+
@CurDeadline = params['CurDeadline']
|
1853
|
+
@IsolateTime = params['IsolateTime']
|
1854
|
+
@EnableInternet = params['EnableInternet']
|
1855
|
+
@EngineRegion = params['EngineRegion']
|
1856
|
+
@IngressClassName = params['IngressClassName']
|
1857
|
+
@InternetPayMode = params['InternetPayMode']
|
1858
|
+
@GatewayMinorVersion = params['GatewayMinorVersion']
|
1859
|
+
unless params['InstancePort'].nil?
|
1860
|
+
@InstancePort = InstancePort.new
|
1861
|
+
@InstancePort.deserialize(params['InstancePort'])
|
1862
|
+
end
|
1863
|
+
@LoadBalancerType = params['LoadBalancerType']
|
1864
|
+
@PublicIpAddresses = params['PublicIpAddresses']
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1262
1868
|
# DescribeCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
1263
1869
|
class DescribeCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
1264
1870
|
# @param GatewayId: 网关Id
|
@@ -1472,6 +2078,60 @@ module TencentCloud
|
|
1472
2078
|
end
|
1473
2079
|
end
|
1474
2080
|
|
2081
|
+
# DescribeCloudNativeAPIGateways请求参数结构体
|
2082
|
+
class DescribeCloudNativeAPIGatewaysRequest < TencentCloud::Common::AbstractModel
|
2083
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
2084
|
+
# @type Limit: Integer
|
2085
|
+
# @param Offset: 偏移量,默认为 0。
|
2086
|
+
# @type Offset: Integer
|
2087
|
+
# @param Filters: 请求过滤参数,支持按照实例名称、ID和标签键值(Name、GatewayId、Tag)筛选
|
2088
|
+
# @type Filters: Array
|
2089
|
+
|
2090
|
+
attr_accessor :Limit, :Offset, :Filters
|
2091
|
+
|
2092
|
+
def initialize(limit=nil, offset=nil, filters=nil)
|
2093
|
+
@Limit = limit
|
2094
|
+
@Offset = offset
|
2095
|
+
@Filters = filters
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
def deserialize(params)
|
2099
|
+
@Limit = params['Limit']
|
2100
|
+
@Offset = params['Offset']
|
2101
|
+
unless params['Filters'].nil?
|
2102
|
+
@Filters = []
|
2103
|
+
params['Filters'].each do |i|
|
2104
|
+
filter_tmp = Filter.new
|
2105
|
+
filter_tmp.deserialize(i)
|
2106
|
+
@Filters << filter_tmp
|
2107
|
+
end
|
2108
|
+
end
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
# DescribeCloudNativeAPIGateways返回参数结构体
|
2113
|
+
class DescribeCloudNativeAPIGatewaysResponse < TencentCloud::Common::AbstractModel
|
2114
|
+
# @param Result: 获取云原生API网关实例列表响应结果。
|
2115
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.ListCloudNativeAPIGatewayResult`
|
2116
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2117
|
+
# @type RequestId: String
|
2118
|
+
|
2119
|
+
attr_accessor :Result, :RequestId
|
2120
|
+
|
2121
|
+
def initialize(result=nil, requestid=nil)
|
2122
|
+
@Result = result
|
2123
|
+
@RequestId = requestid
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
def deserialize(params)
|
2127
|
+
unless params['Result'].nil?
|
2128
|
+
@Result = ListCloudNativeAPIGatewayResult.new
|
2129
|
+
@Result.deserialize(params['Result'])
|
2130
|
+
end
|
2131
|
+
@RequestId = params['RequestId']
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
1475
2135
|
# 获取云原生API网关实例协议端口列表响应结果
|
1476
2136
|
class DescribeGatewayInstancePortResult < TencentCloud::Common::AbstractModel
|
1477
2137
|
# @param GatewayId: 云原生API网关ID
|
@@ -2227,6 +2887,28 @@ module TencentCloud
|
|
2227
2887
|
end
|
2228
2888
|
end
|
2229
2889
|
|
2890
|
+
# 实例监听端口信息
|
2891
|
+
class InstancePort < TencentCloud::Common::AbstractModel
|
2892
|
+
# @param HttpPort: 监听的 http 端口范围。
|
2893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2894
|
+
# @type HttpPort: String
|
2895
|
+
# @param HttpsPort: 监听的 https 端口范围。
|
2896
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2897
|
+
# @type HttpsPort: String
|
2898
|
+
|
2899
|
+
attr_accessor :HttpPort, :HttpsPort
|
2900
|
+
|
2901
|
+
def initialize(httpport=nil, httpsport=nil)
|
2902
|
+
@HttpPort = httpport
|
2903
|
+
@HttpsPort = httpsport
|
2904
|
+
end
|
2905
|
+
|
2906
|
+
def deserialize(params)
|
2907
|
+
@HttpPort = params['HttpPort']
|
2908
|
+
@HttpsPort = params['HttpsPort']
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
|
2230
2912
|
# 引擎实例的标签信息
|
2231
2913
|
class InstanceTagInfo < TencentCloud::Common::AbstractModel
|
2232
2914
|
# @param TagKey: 标签键
|
@@ -2247,6 +2929,50 @@ module TencentCloud
|
|
2247
2929
|
end
|
2248
2930
|
end
|
2249
2931
|
|
2932
|
+
# 公网负载均衡配置
|
2933
|
+
class InternetConfig < TencentCloud::Common::AbstractModel
|
2934
|
+
# @param InternetAddressVersion: 公网地址版本,可选:"IPV4" | "IPV6-NAT64" 。不填默认 IPV4 。
|
2935
|
+
# @type InternetAddressVersion: String
|
2936
|
+
# @param InternetPayMode: 公网付费类型,当前仅可选:"BANDWIDTH"。不填默认为 "BANDWIDTH"
|
2937
|
+
# @type InternetPayMode: String
|
2938
|
+
# @param InternetMaxBandwidthOut: 公网带宽。
|
2939
|
+
# @type InternetMaxBandwidthOut: Integer
|
2940
|
+
# @param Description: 负载均衡描述
|
2941
|
+
# @type Description: String
|
2942
|
+
# @param SlaType: 负载均衡的规格类型,传 "SLA" 表示性能容量型,不传为共享型。
|
2943
|
+
# @type SlaType: String
|
2944
|
+
# @param MultiZoneFlag: 负载均衡是否多可用区
|
2945
|
+
# @type MultiZoneFlag: Boolean
|
2946
|
+
# @param MasterZoneId: 主可用区
|
2947
|
+
# @type MasterZoneId: String
|
2948
|
+
# @param SlaveZoneId: 备可用区
|
2949
|
+
# @type SlaveZoneId: String
|
2950
|
+
|
2951
|
+
attr_accessor :InternetAddressVersion, :InternetPayMode, :InternetMaxBandwidthOut, :Description, :SlaType, :MultiZoneFlag, :MasterZoneId, :SlaveZoneId
|
2952
|
+
|
2953
|
+
def initialize(internetaddressversion=nil, internetpaymode=nil, internetmaxbandwidthout=nil, description=nil, slatype=nil, multizoneflag=nil, masterzoneid=nil, slavezoneid=nil)
|
2954
|
+
@InternetAddressVersion = internetaddressversion
|
2955
|
+
@InternetPayMode = internetpaymode
|
2956
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
2957
|
+
@Description = description
|
2958
|
+
@SlaType = slatype
|
2959
|
+
@MultiZoneFlag = multizoneflag
|
2960
|
+
@MasterZoneId = masterzoneid
|
2961
|
+
@SlaveZoneId = slavezoneid
|
2962
|
+
end
|
2963
|
+
|
2964
|
+
def deserialize(params)
|
2965
|
+
@InternetAddressVersion = params['InternetAddressVersion']
|
2966
|
+
@InternetPayMode = params['InternetPayMode']
|
2967
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
2968
|
+
@Description = params['Description']
|
2969
|
+
@SlaType = params['SlaType']
|
2970
|
+
@MultiZoneFlag = params['MultiZoneFlag']
|
2971
|
+
@MasterZoneId = params['MasterZoneId']
|
2972
|
+
@SlaveZoneId = params['SlaveZoneId']
|
2973
|
+
end
|
2974
|
+
end
|
2975
|
+
|
2250
2976
|
# 键值对
|
2251
2977
|
class KVMapping < TencentCloud::Common::AbstractModel
|
2252
2978
|
# @param Key: key
|
@@ -2695,6 +3421,33 @@ module TencentCloud
|
|
2695
3421
|
end
|
2696
3422
|
end
|
2697
3423
|
|
3424
|
+
# 获取云原生API网关实例列表响应结果。
|
3425
|
+
class ListCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
3426
|
+
# @param TotalCount: 总数。
|
3427
|
+
# @type TotalCount: Integer
|
3428
|
+
# @param GatewayList: 云原生API网关实例列表。
|
3429
|
+
# @type GatewayList: Array
|
3430
|
+
|
3431
|
+
attr_accessor :TotalCount, :GatewayList
|
3432
|
+
|
3433
|
+
def initialize(totalcount=nil, gatewaylist=nil)
|
3434
|
+
@TotalCount = totalcount
|
3435
|
+
@GatewayList = gatewaylist
|
3436
|
+
end
|
3437
|
+
|
3438
|
+
def deserialize(params)
|
3439
|
+
@TotalCount = params['TotalCount']
|
3440
|
+
unless params['GatewayList'].nil?
|
3441
|
+
@GatewayList = []
|
3442
|
+
params['GatewayList'].each do |i|
|
3443
|
+
describecloudnativeapigatewayresult_tmp = DescribeCloudNativeAPIGatewayResult.new
|
3444
|
+
describecloudnativeapigatewayresult_tmp.deserialize(i)
|
3445
|
+
@GatewayList << describecloudnativeapigatewayresult_tmp
|
3446
|
+
end
|
3447
|
+
end
|
3448
|
+
end
|
3449
|
+
end
|
3450
|
+
|
2698
3451
|
# 列表过滤条件,模糊匹配
|
2699
3452
|
class ListFilter < TencentCloud::Common::AbstractModel
|
2700
3453
|
# @param Key: 过滤字段
|
@@ -2762,6 +3515,54 @@ module TencentCloud
|
|
2762
3515
|
end
|
2763
3516
|
end
|
2764
3517
|
|
3518
|
+
# ModifyCloudNativeAPIGateway请求参数结构体
|
3519
|
+
class ModifyCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
3520
|
+
# @param GatewayId: 云原生API网关实例ID。
|
3521
|
+
# @type GatewayId: String
|
3522
|
+
# @param Name: 云原生API网关名字, 最多支持60个字符。
|
3523
|
+
# @type Name: String
|
3524
|
+
# @param Description: 云原生API网关描述信息, 最多支持120个字符。
|
3525
|
+
# @type Description: String
|
3526
|
+
# @param EnableCls: 是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。
|
3527
|
+
# @type EnableCls: Boolean
|
3528
|
+
# @param InternetPayMode: 公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。
|
3529
|
+
# @type InternetPayMode: String
|
3530
|
+
|
3531
|
+
attr_accessor :GatewayId, :Name, :Description, :EnableCls, :InternetPayMode
|
3532
|
+
|
3533
|
+
def initialize(gatewayid=nil, name=nil, description=nil, enablecls=nil, internetpaymode=nil)
|
3534
|
+
@GatewayId = gatewayid
|
3535
|
+
@Name = name
|
3536
|
+
@Description = description
|
3537
|
+
@EnableCls = enablecls
|
3538
|
+
@InternetPayMode = internetpaymode
|
3539
|
+
end
|
3540
|
+
|
3541
|
+
def deserialize(params)
|
3542
|
+
@GatewayId = params['GatewayId']
|
3543
|
+
@Name = params['Name']
|
3544
|
+
@Description = params['Description']
|
3545
|
+
@EnableCls = params['EnableCls']
|
3546
|
+
@InternetPayMode = params['InternetPayMode']
|
3547
|
+
end
|
3548
|
+
end
|
3549
|
+
|
3550
|
+
# ModifyCloudNativeAPIGateway返回参数结构体
|
3551
|
+
class ModifyCloudNativeAPIGatewayResponse < TencentCloud::Common::AbstractModel
|
3552
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3553
|
+
# @type RequestId: String
|
3554
|
+
|
3555
|
+
attr_accessor :RequestId
|
3556
|
+
|
3557
|
+
def initialize(requestid=nil)
|
3558
|
+
@RequestId = requestid
|
3559
|
+
end
|
3560
|
+
|
3561
|
+
def deserialize(params)
|
3562
|
+
@RequestId = params['RequestId']
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
|
2765
3566
|
# ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
2766
3567
|
class ModifyCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
2767
3568
|
# @param GatewayId: 网关ID
|
@@ -3037,6 +3838,50 @@ module TencentCloud
|
|
3037
3838
|
end
|
3038
3839
|
end
|
3039
3840
|
|
3841
|
+
# ModifyNativeGatewayServerGroup请求参数结构体
|
3842
|
+
class ModifyNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
|
3843
|
+
# @param GatewayId: 云原生API网关实例ID。
|
3844
|
+
# @type GatewayId: String
|
3845
|
+
# @param GroupId: 网关分组 id
|
3846
|
+
# @type GroupId: String
|
3847
|
+
# @param Name: 云原生API网关名字, 最多支持60个字符。
|
3848
|
+
# @type Name: String
|
3849
|
+
# @param Description: 云原生API网关描述信息, 最多支持120个字符。
|
3850
|
+
# @type Description: String
|
3851
|
+
|
3852
|
+
attr_accessor :GatewayId, :GroupId, :Name, :Description
|
3853
|
+
|
3854
|
+
def initialize(gatewayid=nil, groupid=nil, name=nil, description=nil)
|
3855
|
+
@GatewayId = gatewayid
|
3856
|
+
@GroupId = groupid
|
3857
|
+
@Name = name
|
3858
|
+
@Description = description
|
3859
|
+
end
|
3860
|
+
|
3861
|
+
def deserialize(params)
|
3862
|
+
@GatewayId = params['GatewayId']
|
3863
|
+
@GroupId = params['GroupId']
|
3864
|
+
@Name = params['Name']
|
3865
|
+
@Description = params['Description']
|
3866
|
+
end
|
3867
|
+
end
|
3868
|
+
|
3869
|
+
# ModifyNativeGatewayServerGroup返回参数结构体
|
3870
|
+
class ModifyNativeGatewayServerGroupResponse < TencentCloud::Common::AbstractModel
|
3871
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3872
|
+
# @type RequestId: String
|
3873
|
+
|
3874
|
+
attr_accessor :RequestId
|
3875
|
+
|
3876
|
+
def initialize(requestid=nil)
|
3877
|
+
@RequestId = requestid
|
3878
|
+
end
|
3879
|
+
|
3880
|
+
def deserialize(params)
|
3881
|
+
@RequestId = params['RequestId']
|
3882
|
+
end
|
3883
|
+
end
|
3884
|
+
|
3040
3885
|
# Nacos副本信息
|
3041
3886
|
class NacosReplica < TencentCloud::Common::AbstractModel
|
3042
3887
|
# @param Name: 名称
|
@@ -3445,6 +4290,82 @@ module TencentCloud
|
|
3445
4290
|
end
|
3446
4291
|
end
|
3447
4292
|
|
4293
|
+
# 更新云原生API网关响应结果。
|
4294
|
+
class UpdateCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
4295
|
+
# @param GatewayId: 云原生API网关ID。
|
4296
|
+
# @type GatewayId: String
|
4297
|
+
# @param Status: 云原生网关状态。
|
4298
|
+
# @type Status: String
|
4299
|
+
# @param TaskId: 任务ID
|
4300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4301
|
+
# @type TaskId: String
|
4302
|
+
|
4303
|
+
attr_accessor :GatewayId, :Status, :TaskId
|
4304
|
+
|
4305
|
+
def initialize(gatewayid=nil, status=nil, taskid=nil)
|
4306
|
+
@GatewayId = gatewayid
|
4307
|
+
@Status = status
|
4308
|
+
@TaskId = taskid
|
4309
|
+
end
|
4310
|
+
|
4311
|
+
def deserialize(params)
|
4312
|
+
@GatewayId = params['GatewayId']
|
4313
|
+
@Status = params['Status']
|
4314
|
+
@TaskId = params['TaskId']
|
4315
|
+
end
|
4316
|
+
end
|
4317
|
+
|
4318
|
+
# UpdateCloudNativeAPIGatewaySpec请求参数结构体
|
4319
|
+
class UpdateCloudNativeAPIGatewaySpecRequest < TencentCloud::Common::AbstractModel
|
4320
|
+
# @param GatewayId: 云原生API网关实例ID。
|
4321
|
+
# 只支持后付费实例
|
4322
|
+
# @type GatewayId: String
|
4323
|
+
# @param GroupId: 网关分组id
|
4324
|
+
# @type GroupId: String
|
4325
|
+
# @param NodeConfig: 网关分组节点规格配置。
|
4326
|
+
# @type NodeConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
4327
|
+
|
4328
|
+
attr_accessor :GatewayId, :GroupId, :NodeConfig
|
4329
|
+
|
4330
|
+
def initialize(gatewayid=nil, groupid=nil, nodeconfig=nil)
|
4331
|
+
@GatewayId = gatewayid
|
4332
|
+
@GroupId = groupid
|
4333
|
+
@NodeConfig = nodeconfig
|
4334
|
+
end
|
4335
|
+
|
4336
|
+
def deserialize(params)
|
4337
|
+
@GatewayId = params['GatewayId']
|
4338
|
+
@GroupId = params['GroupId']
|
4339
|
+
unless params['NodeConfig'].nil?
|
4340
|
+
@NodeConfig = CloudNativeAPIGatewayNodeConfig.new
|
4341
|
+
@NodeConfig.deserialize(params['NodeConfig'])
|
4342
|
+
end
|
4343
|
+
end
|
4344
|
+
end
|
4345
|
+
|
4346
|
+
# UpdateCloudNativeAPIGatewaySpec返回参数结构体
|
4347
|
+
class UpdateCloudNativeAPIGatewaySpecResponse < TencentCloud::Common::AbstractModel
|
4348
|
+
# @param Result: 更新云原生API网关实例规格的响应结果。
|
4349
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.UpdateCloudNativeAPIGatewayResult`
|
4350
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4351
|
+
# @type RequestId: String
|
4352
|
+
|
4353
|
+
attr_accessor :Result, :RequestId
|
4354
|
+
|
4355
|
+
def initialize(result=nil, requestid=nil)
|
4356
|
+
@Result = result
|
4357
|
+
@RequestId = requestid
|
4358
|
+
end
|
4359
|
+
|
4360
|
+
def deserialize(params)
|
4361
|
+
unless params['Result'].nil?
|
4362
|
+
@Result = UpdateCloudNativeAPIGatewayResult.new
|
4363
|
+
@Result.deserialize(params['Result'])
|
4364
|
+
end
|
4365
|
+
@RequestId = params['RequestId']
|
4366
|
+
end
|
4367
|
+
end
|
4368
|
+
|
3448
4369
|
# UpdateEngineInternetAccess请求参数结构体
|
3449
4370
|
class UpdateEngineInternetAccessRequest < TencentCloud::Common::AbstractModel
|
3450
4371
|
# @param InstanceId: 引擎ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.640
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|