tencentcloud-sdk-tse 3.0.679 → 3.0.681

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b67975b474f92d38a56389a1d6e494dedf94146
4
- data.tar.gz: 2ba39172d52676ffc108900bf690f8e214220c5c
3
+ metadata.gz: 89ebc26c4794842506c6705d24c1fafe8beb37dd
4
+ data.tar.gz: ef0549161edf93abe1fed74f65c6d99b50cddd77
5
5
  SHA512:
6
- metadata.gz: 7680eae0323b7f21ad5d751df9164450c722324eaff798a7ab75c378e745ae6d3829cae866d44927635a56946e021fa2fa242d755a8632ee177c25bee2f9e48f
7
- data.tar.gz: ff4dcee340814170e4d53a9d588dfd40242d93cc767506300e5e40f3ba7f14c3962a2376a1963bc1cc4e4a37ecefe412333679c3052001404bb699c954b424c7
6
+ metadata.gz: dd88154ad530442ef2072684ef20dab30df96b6247a4060237b1326f6a17919143f9ad32b9ffcc8ece9b7596dc1be8cc5074cb85263866b953fd642799365a4c
7
+ data.tar.gz: d91840069747481212359961b8e6c2f7349ad362c3627ba68f6d9a202d1d2a77d464c20054065a787b6f83f35ac830b27d1fa089633bfc8119799293f98218a6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.679
1
+ 3.0.681
@@ -1205,6 +1205,30 @@ module TencentCloud
1205
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1206
  end
1207
1207
 
1208
+ # 更新网关上游实例列表,仅支持IPList服务类型
1209
+
1210
+ # @param request: Request instance for UpdateUpstreamTargets.
1211
+ # @type request: :class:`Tencentcloud::tse::V20201207::UpdateUpstreamTargetsRequest`
1212
+ # @rtype: :class:`Tencentcloud::tse::V20201207::UpdateUpstreamTargetsResponse`
1213
+ def UpdateUpstreamTargets(request)
1214
+ body = send_request('UpdateUpstreamTargets', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = UpdateUpstreamTargetsResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1208
1232
 
1209
1233
  end
1210
1234
  end
@@ -420,9 +420,12 @@ module TencentCloud
420
420
  # @param Description: 负载均衡的描述
421
421
  # 注意:此字段可能返回 null,表示取不到有效值。
422
422
  # @type Description: String
423
- # @param SlaType: 负载均衡的规格类型,传 "SLA" 表示性能容量型,返回空为共享型
423
+ # @param SlaType: 负载均衡的规格类型
424
424
  # 注意:此字段可能返回 null,表示取不到有效值。
425
425
  # @type SlaType: String
426
+ # @param SlaName: clb规格名称
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type SlaName: String
426
429
  # @param Vip: clb vip
427
430
  # 注意:此字段可能返回 null,表示取不到有效值。
428
431
  # @type Vip: String
@@ -448,9 +451,9 @@ module TencentCloud
448
451
  # 注意:此字段可能返回 null,表示取不到有效值。
449
452
  # @type NetworkId: String
450
453
 
451
- attr_accessor :ConsoleType, :HttpUrl, :HttpsUrl, :NetType, :AdminUser, :AdminPassword, :Status, :AccessControl, :SubnetId, :VpcId, :Description, :SlaType, :Vip, :InternetMaxBandwidthOut, :MultiZoneFlag, :MasterZoneId, :SlaveZoneId, :MasterZoneName, :SlaveZoneName, :NetworkId
454
+ attr_accessor :ConsoleType, :HttpUrl, :HttpsUrl, :NetType, :AdminUser, :AdminPassword, :Status, :AccessControl, :SubnetId, :VpcId, :Description, :SlaType, :SlaName, :Vip, :InternetMaxBandwidthOut, :MultiZoneFlag, :MasterZoneId, :SlaveZoneId, :MasterZoneName, :SlaveZoneName, :NetworkId
452
455
 
453
- def initialize(consoletype=nil, httpurl=nil, httpsurl=nil, nettype=nil, adminuser=nil, adminpassword=nil, status=nil, accesscontrol=nil, subnetid=nil, vpcid=nil, description=nil, slatype=nil, vip=nil, internetmaxbandwidthout=nil, multizoneflag=nil, masterzoneid=nil, slavezoneid=nil, masterzonename=nil, slavezonename=nil, networkid=nil)
456
+ def initialize(consoletype=nil, httpurl=nil, httpsurl=nil, nettype=nil, adminuser=nil, adminpassword=nil, status=nil, accesscontrol=nil, subnetid=nil, vpcid=nil, description=nil, slatype=nil, slaname=nil, vip=nil, internetmaxbandwidthout=nil, multizoneflag=nil, masterzoneid=nil, slavezoneid=nil, masterzonename=nil, slavezonename=nil, networkid=nil)
454
457
  @ConsoleType = consoletype
455
458
  @HttpUrl = httpurl
456
459
  @HttpsUrl = httpsurl
@@ -463,6 +466,7 @@ module TencentCloud
463
466
  @VpcId = vpcid
464
467
  @Description = description
465
468
  @SlaType = slatype
469
+ @SlaName = slaname
466
470
  @Vip = vip
467
471
  @InternetMaxBandwidthOut = internetmaxbandwidthout
468
472
  @MultiZoneFlag = multizoneflag
@@ -489,6 +493,7 @@ module TencentCloud
489
493
  @VpcId = params['VpcId']
490
494
  @Description = params['Description']
491
495
  @SlaType = params['SlaType']
496
+ @SlaName = params['SlaName']
492
497
  @Vip = params['Vip']
493
498
  @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
494
499
  @MultiZoneFlag = params['MultiZoneFlag']
@@ -1462,16 +1467,24 @@ module TencentCloud
1462
1467
 
1463
1468
  # CreateCloudNativeAPIGatewayService返回参数结构体
1464
1469
  class CreateCloudNativeAPIGatewayServiceResponse < TencentCloud::Common::AbstractModel
1470
+ # @param Result: 网关服务创建结果
1471
+ # 注意:此字段可能返回 null,表示取不到有效值。
1472
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.CreateGatewayServiceResult`
1465
1473
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1466
1474
  # @type RequestId: String
1467
1475
 
1468
- attr_accessor :RequestId
1476
+ attr_accessor :Result, :RequestId
1469
1477
 
1470
- def initialize(requestid=nil)
1478
+ def initialize(result=nil, requestid=nil)
1479
+ @Result = result
1471
1480
  @RequestId = requestid
1472
1481
  end
1473
1482
 
1474
1483
  def deserialize(params)
1484
+ unless params['Result'].nil?
1485
+ @Result = CreateGatewayServiceResult.new
1486
+ @Result.deserialize(params['Result'])
1487
+ end
1475
1488
  @RequestId = params['RequestId']
1476
1489
  end
1477
1490
  end
@@ -1652,6 +1665,23 @@ module TencentCloud
1652
1665
  end
1653
1666
  end
1654
1667
 
1668
+ # 创建云原生网关服务结果
1669
+ class CreateGatewayServiceResult < TencentCloud::Common::AbstractModel
1670
+ # @param ServiceId: 网关服务ID
1671
+ # 注意:此字段可能返回 null,表示取不到有效值。
1672
+ # @type ServiceId: String
1673
+
1674
+ attr_accessor :ServiceId
1675
+
1676
+ def initialize(serviceid=nil)
1677
+ @ServiceId = serviceid
1678
+ end
1679
+
1680
+ def deserialize(params)
1681
+ @ServiceId = params['ServiceId']
1682
+ end
1683
+ end
1684
+
1655
1685
  # CreateNativeGatewayServerGroup请求参数结构体
1656
1686
  class CreateNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
1657
1687
  # @param GatewayId: 网关实例id。
@@ -3800,17 +3830,27 @@ module TencentCloud
3800
3830
  # @param HttpsPort: 监听的 https 端口范围。
3801
3831
  # 注意:此字段可能返回 null,表示取不到有效值。
3802
3832
  # @type HttpsPort: String
3833
+ # @param TcpPort: 监听的 tcp 端口范围。
3834
+ # 注意:此字段可能返回 null,表示取不到有效值。
3835
+ # @type TcpPort: String
3836
+ # @param UdpPort: 监听的 udp 端口范围。
3837
+ # 注意:此字段可能返回 null,表示取不到有效值。
3838
+ # @type UdpPort: String
3803
3839
 
3804
- attr_accessor :HttpPort, :HttpsPort
3840
+ attr_accessor :HttpPort, :HttpsPort, :TcpPort, :UdpPort
3805
3841
 
3806
- def initialize(httpport=nil, httpsport=nil)
3842
+ def initialize(httpport=nil, httpsport=nil, tcpport=nil, udpport=nil)
3807
3843
  @HttpPort = httpport
3808
3844
  @HttpsPort = httpsport
3845
+ @TcpPort = tcpport
3846
+ @UdpPort = udpport
3809
3847
  end
3810
3848
 
3811
3849
  def deserialize(params)
3812
3850
  @HttpPort = params['HttpPort']
3813
3851
  @HttpsPort = params['HttpsPort']
3852
+ @TcpPort = params['TcpPort']
3853
+ @UdpPort = params['UdpPort']
3814
3854
  end
3815
3855
  end
3816
3856
 
@@ -3844,7 +3884,7 @@ module TencentCloud
3844
3884
  # @type InternetMaxBandwidthOut: Integer
3845
3885
  # @param Description: 负载均衡描述
3846
3886
  # @type Description: String
3847
- # @param SlaType: 负载均衡的规格类型,传 "SLA" 表示性能容量型,不传为共享型。
3887
+ # @param SlaType: 负载均衡的规格类型,支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge,不传为共享型。
3848
3888
  # @type SlaType: String
3849
3889
  # @param MultiZoneFlag: 负载均衡是否多可用区
3850
3890
  # @type MultiZoneFlag: Boolean
@@ -5790,6 +5830,58 @@ module TencentCloud
5790
5830
  end
5791
5831
  end
5792
5832
 
5833
+ # UpdateUpstreamTargets请求参数结构体
5834
+ class UpdateUpstreamTargetsRequest < TencentCloud::Common::AbstractModel
5835
+ # @param GatewayId: 网关实例ID
5836
+ # @type GatewayId: String
5837
+ # @param Name: 服务名称或ID
5838
+ # @type Name: String
5839
+ # @param Targets: 实例列表
5840
+ # @type Targets: Array
5841
+
5842
+ attr_accessor :GatewayId, :Name, :Targets
5843
+
5844
+ def initialize(gatewayid=nil, name=nil, targets=nil)
5845
+ @GatewayId = gatewayid
5846
+ @Name = name
5847
+ @Targets = targets
5848
+ end
5849
+
5850
+ def deserialize(params)
5851
+ @GatewayId = params['GatewayId']
5852
+ @Name = params['Name']
5853
+ unless params['Targets'].nil?
5854
+ @Targets = []
5855
+ params['Targets'].each do |i|
5856
+ kongtarget_tmp = KongTarget.new
5857
+ kongtarget_tmp.deserialize(i)
5858
+ @Targets << kongtarget_tmp
5859
+ end
5860
+ end
5861
+ end
5862
+ end
5863
+
5864
+ # UpdateUpstreamTargets返回参数结构体
5865
+ class UpdateUpstreamTargetsResponse < TencentCloud::Common::AbstractModel
5866
+ # @param Result: 是否更新成功
5867
+ # 注意:此字段可能返回 null,表示取不到有效值。
5868
+ # @type Result: Boolean
5869
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5870
+ # @type RequestId: String
5871
+
5872
+ attr_accessor :Result, :RequestId
5873
+
5874
+ def initialize(result=nil, requestid=nil)
5875
+ @Result = result
5876
+ @RequestId = requestid
5877
+ end
5878
+
5879
+ def deserialize(params)
5880
+ @Result = params['Result']
5881
+ @RequestId = params['RequestId']
5882
+ end
5883
+ end
5884
+
5793
5885
  # 私有网络信息
5794
5886
  class VpcInfo < TencentCloud::Common::AbstractModel
5795
5887
  # @param VpcId: Vpc 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.679
4
+ version: 3.0.681
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-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20201207/models.rb
37
36
  - lib/v20201207/client.rb
37
+ - lib/v20201207/models.rb
38
38
  - lib/tencentcloud-sdk-tse.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby