tencentcloud-sdk-tse 3.0.679 → 3.0.680

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: 8e38d35e5c83b7b4e9b9b094dcd41c6890f019ec
4
+ data.tar.gz: 182cc5b8fca8e628f914cb2de948d3dd8db6d5ac
5
5
  SHA512:
6
- metadata.gz: 7680eae0323b7f21ad5d751df9164450c722324eaff798a7ab75c378e745ae6d3829cae866d44927635a56946e021fa2fa242d755a8632ee177c25bee2f9e48f
7
- data.tar.gz: ff4dcee340814170e4d53a9d588dfd40242d93cc767506300e5e40f3ba7f14c3962a2376a1963bc1cc4e4a37ecefe412333679c3052001404bb699c954b424c7
6
+ metadata.gz: 87b6c7aeae9026485df80d92ee1725a89cebd6bc3f5f9b67b327520b5f5a565d46e1cf2ebe6bb01eaaa7602dbb8433e996ab68cebb4e544c1ca57887db5ba264
7
+ data.tar.gz: b641bd1a7f19119f57cb5a6a49fe0419f808aa043f9fd79b57c6edca3de87938ea4b213aee2b19d7cd730420fb457d3bfde1def0d28846b49424842f968aed20
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.679
1
+ 3.0.680
@@ -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。
@@ -3844,7 +3874,7 @@ module TencentCloud
3844
3874
  # @type InternetMaxBandwidthOut: Integer
3845
3875
  # @param Description: 负载均衡描述
3846
3876
  # @type Description: String
3847
- # @param SlaType: 负载均衡的规格类型,传 "SLA" 表示性能容量型,不传为共享型。
3877
+ # @param SlaType: 负载均衡的规格类型,支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge,不传为共享型。
3848
3878
  # @type SlaType: String
3849
3879
  # @param MultiZoneFlag: 负载均衡是否多可用区
3850
3880
  # @type MultiZoneFlag: Boolean
@@ -5790,6 +5820,58 @@ module TencentCloud
5790
5820
  end
5791
5821
  end
5792
5822
 
5823
+ # UpdateUpstreamTargets请求参数结构体
5824
+ class UpdateUpstreamTargetsRequest < TencentCloud::Common::AbstractModel
5825
+ # @param GatewayId: 网关实例ID
5826
+ # @type GatewayId: String
5827
+ # @param Name: 服务名称或ID
5828
+ # @type Name: String
5829
+ # @param Targets: 实例列表
5830
+ # @type Targets: Array
5831
+
5832
+ attr_accessor :GatewayId, :Name, :Targets
5833
+
5834
+ def initialize(gatewayid=nil, name=nil, targets=nil)
5835
+ @GatewayId = gatewayid
5836
+ @Name = name
5837
+ @Targets = targets
5838
+ end
5839
+
5840
+ def deserialize(params)
5841
+ @GatewayId = params['GatewayId']
5842
+ @Name = params['Name']
5843
+ unless params['Targets'].nil?
5844
+ @Targets = []
5845
+ params['Targets'].each do |i|
5846
+ kongtarget_tmp = KongTarget.new
5847
+ kongtarget_tmp.deserialize(i)
5848
+ @Targets << kongtarget_tmp
5849
+ end
5850
+ end
5851
+ end
5852
+ end
5853
+
5854
+ # UpdateUpstreamTargets返回参数结构体
5855
+ class UpdateUpstreamTargetsResponse < TencentCloud::Common::AbstractModel
5856
+ # @param Result: 是否更新成功
5857
+ # 注意:此字段可能返回 null,表示取不到有效值。
5858
+ # @type Result: Boolean
5859
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5860
+ # @type RequestId: String
5861
+
5862
+ attr_accessor :Result, :RequestId
5863
+
5864
+ def initialize(result=nil, requestid=nil)
5865
+ @Result = result
5866
+ @RequestId = requestid
5867
+ end
5868
+
5869
+ def deserialize(params)
5870
+ @Result = params['Result']
5871
+ @RequestId = params['RequestId']
5872
+ end
5873
+ end
5874
+
5793
5875
  # 私有网络信息
5794
5876
  class VpcInfo < TencentCloud::Common::AbstractModel
5795
5877
  # @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.680
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-19 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