tencentcloud-sdk-tse 3.0.737 → 3.0.738

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06e8562a1420803c398c75086e5099a63be4b356
4
- data.tar.gz: 9531d85103a48a792929ff585411cd248321f681
3
+ metadata.gz: d8efe3735a700c7a5971950eb4a23f94e1e6c561
4
+ data.tar.gz: 39ef4b04b8ea7e46adf80fbdd8024c41aa696001
5
5
  SHA512:
6
- metadata.gz: 3e3da83201ed0a4b85953a9aed8a4484b350633eed49d8418a57b30f1af03e992d8b7649eebab49dec2d9bc091c629e23868aec618883428efebab693ff57f98
7
- data.tar.gz: 5d1200ba97c0370a7a875460512d121860504419faf00253039bef52f53055d0a65c540cdef751d2c64bccd13298d32a87b8a645bebc680f8ad31388ff6a5d46
6
+ metadata.gz: 75318ce5a9f38257a16a1bedc1847c74f4b1889b5abb778994170e89e1fcb7db5142026a401d11cf1fd2a56d7bb917222e8de59aa708093b3f16914e819c9887
7
+ data.tar.gz: f4146c94e12c079c57426340d105c5d4d443c25db02321aa553f9c152e835bb452feacd4dcd760a0549ae4fdcbc20772d7792a2df5df9aea91d52633278b822b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.737
1
+ 3.0.738
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建公网网络配置
129
+
130
+ # @param request: Request instance for CreateCloudNativeAPIGatewayPublicNetwork.
131
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayPublicNetworkRequest`
132
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayPublicNetworkResponse`
133
+ def CreateCloudNativeAPIGatewayPublicNetwork(request)
134
+ body = send_request('CreateCloudNativeAPIGatewayPublicNetwork', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateCloudNativeAPIGatewayPublicNetworkResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 创建云原生网关路由
129
153
 
130
154
  # @param request: Request instance for CreateCloudNativeAPIGatewayRoute.
@@ -365,6 +389,30 @@ module TencentCloud
365
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
390
  end
367
391
 
392
+ # 删除公网网络配置
393
+
394
+ # @param request: Request instance for DeleteCloudNativeAPIGatewayPublicNetwork.
395
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayPublicNetworkRequest`
396
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayPublicNetworkResponse`
397
+ def DeleteCloudNativeAPIGatewayPublicNetwork(request)
398
+ body = send_request('DeleteCloudNativeAPIGatewayPublicNetwork', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DeleteCloudNativeAPIGatewayPublicNetworkResponse.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
+
368
416
  # 删除云原生网关路由
369
417
 
370
418
  # @param request: Request instance for DeleteCloudNativeAPIGatewayRoute.
@@ -1277,6 +1325,30 @@ module TencentCloud
1277
1325
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1326
  end
1279
1327
 
1328
+ # 修改网关实例Konga网络配置
1329
+
1330
+ # @param request: Request instance for ModifyConsoleNetwork.
1331
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyConsoleNetworkRequest`
1332
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyConsoleNetworkResponse`
1333
+ def ModifyConsoleNetwork(request)
1334
+ body = send_request('ModifyConsoleNetwork', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = ModifyConsoleNetworkResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1280
1352
  # 修改云原生API网关实例分组基础信息
1281
1353
 
1282
1354
  # @param request: Request instance for ModifyNativeGatewayServerGroup.
@@ -1301,6 +1373,54 @@ module TencentCloud
1301
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
1374
  end
1303
1375
 
1376
+ # 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
1377
+
1378
+ # @param request: Request instance for ModifyNetworkAccessStrategy.
1379
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyNetworkAccessStrategyRequest`
1380
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyNetworkAccessStrategyResponse`
1381
+ def ModifyNetworkAccessStrategy(request)
1382
+ body = send_request('ModifyNetworkAccessStrategy', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = ModifyNetworkAccessStrategyResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1400
+ # 修改云原生API网关实例网络基本信息,比如带宽以及描述,只支持修改客户端公网/内网的信息。
1401
+
1402
+ # @param request: Request instance for ModifyNetworkBasicInfo.
1403
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyNetworkBasicInfoRequest`
1404
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyNetworkBasicInfoResponse`
1405
+ def ModifyNetworkBasicInfo(request)
1406
+ body = send_request('ModifyNetworkBasicInfo', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = ModifyNetworkBasicInfoResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1304
1424
  # 修改云原生网关上游实例节点健康状态
1305
1425
 
1306
1426
  # @param request: Request instance for ModifyUpstreamNodeStatus.
@@ -1089,6 +1089,49 @@ module TencentCloud
1089
1089
  end
1090
1090
  end
1091
1091
 
1092
+ # CreateCloudNativeAPIGatewayPublicNetwork请求参数结构体
1093
+ class CreateCloudNativeAPIGatewayPublicNetworkRequest < TencentCloud::Common::AbstractModel
1094
+ # @param GatewayId: 云原生API网关实例ID。
1095
+ # @type GatewayId: String
1096
+ # @param GroupId: 分组id。
1097
+ # @type GroupId: String
1098
+ # @param InternetConfig: 公网负载均衡配置。
1099
+ # @type InternetConfig: :class:`Tencentcloud::Tse.v20201207.models.InternetConfig`
1100
+
1101
+ attr_accessor :GatewayId, :GroupId, :InternetConfig
1102
+
1103
+ def initialize(gatewayid=nil, groupid=nil, internetconfig=nil)
1104
+ @GatewayId = gatewayid
1105
+ @GroupId = groupid
1106
+ @InternetConfig = internetconfig
1107
+ end
1108
+
1109
+ def deserialize(params)
1110
+ @GatewayId = params['GatewayId']
1111
+ @GroupId = params['GroupId']
1112
+ unless params['InternetConfig'].nil?
1113
+ @InternetConfig = InternetConfig.new
1114
+ @InternetConfig.deserialize(params['InternetConfig'])
1115
+ end
1116
+ end
1117
+ end
1118
+
1119
+ # CreateCloudNativeAPIGatewayPublicNetwork返回参数结构体
1120
+ class CreateCloudNativeAPIGatewayPublicNetworkResponse < TencentCloud::Common::AbstractModel
1121
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1122
+ # @type RequestId: String
1123
+
1124
+ attr_accessor :RequestId
1125
+
1126
+ def initialize(requestid=nil)
1127
+ @RequestId = requestid
1128
+ end
1129
+
1130
+ def deserialize(params)
1131
+ @RequestId = params['RequestId']
1132
+ end
1133
+ end
1134
+
1092
1135
  # CreateCloudNativeAPIGateway请求参数结构体
1093
1136
  class CreateCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
1094
1137
  # @param Name: 云原生API网关名字, 最多支持60个字符。
@@ -1909,6 +1952,52 @@ module TencentCloud
1909
1952
  end
1910
1953
  end
1911
1954
 
1955
+ # DeleteCloudNativeAPIGatewayPublicNetwork请求参数结构体
1956
+ class DeleteCloudNativeAPIGatewayPublicNetworkRequest < TencentCloud::Common::AbstractModel
1957
+ # @param GatewayId: 云原生API网关实例ID。
1958
+ # @type GatewayId: String
1959
+ # @param GroupId: 分组id,kong类型时必填
1960
+ # @type GroupId: String
1961
+ # @param InternetAddressVersion: 公网类型
1962
+ # - IPV4 (默认值)
1963
+ # - IPV6
1964
+ # @type InternetAddressVersion: String
1965
+ # @param Vip: 公网ip,存在多个公网时必填
1966
+ # @type Vip: String
1967
+
1968
+ attr_accessor :GatewayId, :GroupId, :InternetAddressVersion, :Vip
1969
+
1970
+ def initialize(gatewayid=nil, groupid=nil, internetaddressversion=nil, vip=nil)
1971
+ @GatewayId = gatewayid
1972
+ @GroupId = groupid
1973
+ @InternetAddressVersion = internetaddressversion
1974
+ @Vip = vip
1975
+ end
1976
+
1977
+ def deserialize(params)
1978
+ @GatewayId = params['GatewayId']
1979
+ @GroupId = params['GroupId']
1980
+ @InternetAddressVersion = params['InternetAddressVersion']
1981
+ @Vip = params['Vip']
1982
+ end
1983
+ end
1984
+
1985
+ # DeleteCloudNativeAPIGatewayPublicNetwork返回参数结构体
1986
+ class DeleteCloudNativeAPIGatewayPublicNetworkResponse < TencentCloud::Common::AbstractModel
1987
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1988
+ # @type RequestId: String
1989
+
1990
+ attr_accessor :RequestId
1991
+
1992
+ def initialize(requestid=nil)
1993
+ @RequestId = requestid
1994
+ end
1995
+
1996
+ def deserialize(params)
1997
+ @RequestId = params['RequestId']
1998
+ end
1999
+ end
2000
+
1912
2001
  # DeleteCloudNativeAPIGateway请求参数结构体
1913
2002
  class DeleteCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
1914
2003
  # @param GatewayId: 云原生API网关实例ID。
@@ -5483,6 +5572,57 @@ module TencentCloud
5483
5572
  end
5484
5573
  end
5485
5574
 
5575
+ # ModifyConsoleNetwork请求参数结构体
5576
+ class ModifyConsoleNetworkRequest < TencentCloud::Common::AbstractModel
5577
+ # @param GatewayId: 云原生API网关实例ID。
5578
+ # @type GatewayId: String
5579
+ # @param NetworkType: 网络类型:
5580
+ # - Open 公网
5581
+ # - Internal 内网(暂不支持)
5582
+ # @type NetworkType: String
5583
+ # @param Operate: 开启Konga网络,不填时默认为Open
5584
+ # - Open,开启
5585
+ # - Close,关闭
5586
+ # @type Operate: String
5587
+ # @param AccessControl: 访问控制策略
5588
+ # @type AccessControl: :class:`Tencentcloud::Tse.v20201207.models.NetworkAccessControl`
5589
+
5590
+ attr_accessor :GatewayId, :NetworkType, :Operate, :AccessControl
5591
+
5592
+ def initialize(gatewayid=nil, networktype=nil, operate=nil, accesscontrol=nil)
5593
+ @GatewayId = gatewayid
5594
+ @NetworkType = networktype
5595
+ @Operate = operate
5596
+ @AccessControl = accesscontrol
5597
+ end
5598
+
5599
+ def deserialize(params)
5600
+ @GatewayId = params['GatewayId']
5601
+ @NetworkType = params['NetworkType']
5602
+ @Operate = params['Operate']
5603
+ unless params['AccessControl'].nil?
5604
+ @AccessControl = NetworkAccessControl.new
5605
+ @AccessControl.deserialize(params['AccessControl'])
5606
+ end
5607
+ end
5608
+ end
5609
+
5610
+ # ModifyConsoleNetwork返回参数结构体
5611
+ class ModifyConsoleNetworkResponse < TencentCloud::Common::AbstractModel
5612
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5613
+ # @type RequestId: String
5614
+
5615
+ attr_accessor :RequestId
5616
+
5617
+ def initialize(requestid=nil)
5618
+ @RequestId = requestid
5619
+ end
5620
+
5621
+ def deserialize(params)
5622
+ @RequestId = params['RequestId']
5623
+ end
5624
+ end
5625
+
5486
5626
  # ModifyNativeGatewayServerGroup请求参数结构体
5487
5627
  class ModifyNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
5488
5628
  # @param GatewayId: 云原生API网关实例ID。
@@ -5527,6 +5667,114 @@ module TencentCloud
5527
5667
  end
5528
5668
  end
5529
5669
 
5670
+ # ModifyNetworkAccessStrategy请求参数结构体
5671
+ class ModifyNetworkAccessStrategyRequest < TencentCloud::Common::AbstractModel
5672
+ # @param GatewayId: 云原生API网关实例ID。
5673
+ # @type GatewayId: String
5674
+ # @param GroupId: 分组id
5675
+ # @type GroupId: String
5676
+ # @param NetworkType: 网络类型:
5677
+ # - Open 公网
5678
+ # - Internal 内网 (暂不支持)
5679
+ # @type NetworkType: String
5680
+ # @param Vip: ip地址
5681
+ # @type Vip: String
5682
+ # @param AccessControl: 访问控制策略
5683
+ # @type AccessControl: :class:`Tencentcloud::Tse.v20201207.models.NetworkAccessControl`
5684
+
5685
+ attr_accessor :GatewayId, :GroupId, :NetworkType, :Vip, :AccessControl
5686
+
5687
+ def initialize(gatewayid=nil, groupid=nil, networktype=nil, vip=nil, accesscontrol=nil)
5688
+ @GatewayId = gatewayid
5689
+ @GroupId = groupid
5690
+ @NetworkType = networktype
5691
+ @Vip = vip
5692
+ @AccessControl = accesscontrol
5693
+ end
5694
+
5695
+ def deserialize(params)
5696
+ @GatewayId = params['GatewayId']
5697
+ @GroupId = params['GroupId']
5698
+ @NetworkType = params['NetworkType']
5699
+ @Vip = params['Vip']
5700
+ unless params['AccessControl'].nil?
5701
+ @AccessControl = NetworkAccessControl.new
5702
+ @AccessControl.deserialize(params['AccessControl'])
5703
+ end
5704
+ end
5705
+ end
5706
+
5707
+ # ModifyNetworkAccessStrategy返回参数结构体
5708
+ class ModifyNetworkAccessStrategyResponse < TencentCloud::Common::AbstractModel
5709
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5710
+ # @type RequestId: String
5711
+
5712
+ attr_accessor :RequestId
5713
+
5714
+ def initialize(requestid=nil)
5715
+ @RequestId = requestid
5716
+ end
5717
+
5718
+ def deserialize(params)
5719
+ @RequestId = params['RequestId']
5720
+ end
5721
+ end
5722
+
5723
+ # ModifyNetworkBasicInfo请求参数结构体
5724
+ class ModifyNetworkBasicInfoRequest < TencentCloud::Common::AbstractModel
5725
+ # @param GatewayId: 云原生API网关实例ID。
5726
+ # @type GatewayId: String
5727
+ # @param GroupId: 分组id
5728
+ # @type GroupId: String
5729
+ # @param NetworkType: 网络类型:
5730
+ # - Open 公网ipv4
5731
+ # - Open-IPv6 公网ipv6
5732
+ # - Internal 内网
5733
+ # @type NetworkType: String
5734
+ # @param Vip: ip地址
5735
+ # @type Vip: String
5736
+ # @param InternetMaxBandwidthOut: 公网出流量带宽[1,2048]Mbps
5737
+ # @type InternetMaxBandwidthOut: Integer
5738
+ # @param Description: 负载均衡描述
5739
+ # @type Description: String
5740
+
5741
+ attr_accessor :GatewayId, :GroupId, :NetworkType, :Vip, :InternetMaxBandwidthOut, :Description
5742
+
5743
+ def initialize(gatewayid=nil, groupid=nil, networktype=nil, vip=nil, internetmaxbandwidthout=nil, description=nil)
5744
+ @GatewayId = gatewayid
5745
+ @GroupId = groupid
5746
+ @NetworkType = networktype
5747
+ @Vip = vip
5748
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
5749
+ @Description = description
5750
+ end
5751
+
5752
+ def deserialize(params)
5753
+ @GatewayId = params['GatewayId']
5754
+ @GroupId = params['GroupId']
5755
+ @NetworkType = params['NetworkType']
5756
+ @Vip = params['Vip']
5757
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
5758
+ @Description = params['Description']
5759
+ end
5760
+ end
5761
+
5762
+ # ModifyNetworkBasicInfo返回参数结构体
5763
+ class ModifyNetworkBasicInfoResponse < TencentCloud::Common::AbstractModel
5764
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5765
+ # @type RequestId: String
5766
+
5767
+ attr_accessor :RequestId
5768
+
5769
+ def initialize(requestid=nil)
5770
+ @RequestId = requestid
5771
+ end
5772
+
5773
+ def deserialize(params)
5774
+ @RequestId = params['RequestId']
5775
+ end
5776
+ end
5777
+
5530
5778
  # ModifyUpstreamNodeStatus请求参数结构体
5531
5779
  class ModifyUpstreamNodeStatusRequest < TencentCloud::Common::AbstractModel
5532
5780
  # @param GatewayId: 网关实例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.737
4
+ version: 3.0.738
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-12-27 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common