tencentcloud-sdk-tse 3.0.772 → 3.0.773

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: 49e709f69e8ca329c12e2cd98a7ea2750e0b8ef2
4
- data.tar.gz: f17d0b5c4f05e998f94ac39e80a6061ff4494312
3
+ metadata.gz: 3384a40ea6642a54fd38f26a63f360d830be3f69
4
+ data.tar.gz: 4bc8aff5008a65bedaeb69394c10c5850530a666
5
5
  SHA512:
6
- metadata.gz: 4dec8e5041256ab11ed1492aec7bfe263fae97749c47814cba7658f6961dbf23f0cc2ef1324224fcf38394167496c22104279b46856ff64b97a2d882acc8cef3
7
- data.tar.gz: 5f2002dd755da36d72794aa557eecdccfe69318704819a8832baf749a31f6c91a963ce69344bb3575df1bdaf3e33d13b94cf88b359fa23b66feaabb68dca1a68
6
+ metadata.gz: a5cc8263914f919331f605d10d22699cf4d3e106291bbab339d3128a2eb2f059ae4c63d386d5e1e8f64a8e3869316d87b882d5dea997d4220d438dffb62650ad
7
+ data.tar.gz: f96a7e6f2ee2342ac1dd545e769074c3c2ac4fef557b93550ddf5aad12b7b81ed7b2621332b85616c2fd7555ba76ac02230665da4d85e5bd1dde0d36726ae784
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.772
1
+ 3.0.773
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 创建治理中心服务实例
321
+
322
+ # @param request: Request instance for CreateGovernanceInstances.
323
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateGovernanceInstancesRequest`
324
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateGovernanceInstancesResponse`
325
+ def CreateGovernanceInstances(request)
326
+ body = send_request('CreateGovernanceInstances', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = CreateGovernanceInstancesResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 创建云原生网关引擎分组
321
345
 
322
346
  # @param request: Request instance for CreateNativeGatewayServerGroup.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 删除治理中心服务实例
633
+
634
+ # @param request: Request instance for DeleteGovernanceInstances.
635
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceInstancesRequest`
636
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceInstancesResponse`
637
+ def DeleteGovernanceInstances(request)
638
+ body = send_request('DeleteGovernanceInstances', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DeleteGovernanceInstancesResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 删除网关实例分组
609
657
 
610
658
  # @param request: Request instance for DeleteNativeGatewayServerGroup.
@@ -1013,6 +1061,30 @@ module TencentCloud
1013
1061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
1062
  end
1015
1063
 
1064
+ # 查询治理中心服务实例
1065
+
1066
+ # @param request: Request instance for DescribeGovernanceInstances.
1067
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesRequest`
1068
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesResponse`
1069
+ def DescribeGovernanceInstances(request)
1070
+ body = send_request('DescribeGovernanceInstances', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = DescribeGovernanceInstancesResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
1016
1088
  # 查询Nacos类型引擎实例副本信息
1017
1089
 
1018
1090
  # @param request: Request instance for DescribeNacosReplicas.
@@ -1517,6 +1589,30 @@ module TencentCloud
1517
1589
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
1590
  end
1519
1591
 
1592
+ # 修改治理中心服务实例
1593
+
1594
+ # @param request: Request instance for ModifyGovernanceInstances.
1595
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceInstancesRequest`
1596
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceInstancesResponse`
1597
+ def ModifyGovernanceInstances(request)
1598
+ body = send_request('ModifyGovernanceInstances', request.serialize)
1599
+ response = JSON.parse(body)
1600
+ if response['Response'].key?('Error') == false
1601
+ model = ModifyGovernanceInstancesResponse.new
1602
+ model.deserialize(response['Response'])
1603
+ model
1604
+ else
1605
+ code = response['Response']['Error']['Code']
1606
+ message = response['Response']['Error']['Message']
1607
+ reqid = response['Response']['RequestId']
1608
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1609
+ end
1610
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1611
+ raise e
1612
+ rescue StandardError => e
1613
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
+ end
1615
+
1520
1616
  # 修改云原生API网关实例分组基础信息
1521
1617
 
1522
1618
  # @param request: Request instance for ModifyNativeGatewayServerGroup.
@@ -783,8 +783,8 @@ module TencentCloud
783
783
 
784
784
  attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
785
785
  extend Gem::Deprecate
786
- deprecate :MaxReplicas, :none, 2024, 2
787
- deprecate :MaxReplicas=, :none, 2024, 2
786
+ deprecate :MaxReplicas, :none, 2024, 3
787
+ deprecate :MaxReplicas=, :none, 2024, 3
788
788
 
789
789
  def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
790
790
  @StrategyId = strategyid
@@ -846,16 +846,16 @@ module TencentCloud
846
846
 
847
847
  attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
848
848
  extend Gem::Deprecate
849
- deprecate :Enabled, :none, 2024, 2
850
- deprecate :Enabled=, :none, 2024, 2
851
- deprecate :CreateTime, :none, 2024, 2
852
- deprecate :CreateTime=, :none, 2024, 2
853
- deprecate :ModifyTime, :none, 2024, 2
854
- deprecate :ModifyTime=, :none, 2024, 2
855
- deprecate :StrategyId, :none, 2024, 2
856
- deprecate :StrategyId=, :none, 2024, 2
857
- deprecate :AutoScalerId, :none, 2024, 2
858
- deprecate :AutoScalerId=, :none, 2024, 2
849
+ deprecate :Enabled, :none, 2024, 3
850
+ deprecate :Enabled=, :none, 2024, 3
851
+ deprecate :CreateTime, :none, 2024, 3
852
+ deprecate :CreateTime=, :none, 2024, 3
853
+ deprecate :ModifyTime, :none, 2024, 3
854
+ deprecate :ModifyTime=, :none, 2024, 3
855
+ deprecate :StrategyId, :none, 2024, 3
856
+ deprecate :StrategyId=, :none, 2024, 3
857
+ deprecate :AutoScalerId, :none, 2024, 3
858
+ deprecate :AutoScalerId=, :none, 2024, 3
859
859
 
860
860
  def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
861
861
  @MaxReplicas = maxreplicas
@@ -984,14 +984,14 @@ module TencentCloud
984
984
 
985
985
  attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
986
986
  extend Gem::Deprecate
987
- deprecate :Enabled, :none, 2024, 2
988
- deprecate :Enabled=, :none, 2024, 2
989
- deprecate :CreateTime, :none, 2024, 2
990
- deprecate :CreateTime=, :none, 2024, 2
991
- deprecate :ModifyTime, :none, 2024, 2
992
- deprecate :ModifyTime=, :none, 2024, 2
993
- deprecate :StrategyId, :none, 2024, 2
994
- deprecate :StrategyId=, :none, 2024, 2
987
+ deprecate :Enabled, :none, 2024, 3
988
+ deprecate :Enabled=, :none, 2024, 3
989
+ deprecate :CreateTime, :none, 2024, 3
990
+ deprecate :CreateTime=, :none, 2024, 3
991
+ deprecate :ModifyTime, :none, 2024, 3
992
+ deprecate :ModifyTime=, :none, 2024, 3
993
+ deprecate :StrategyId, :none, 2024, 3
994
+ deprecate :StrategyId=, :none, 2024, 3
995
995
 
996
996
  def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
997
997
  @Enabled = enabled
@@ -1090,10 +1090,10 @@ module TencentCloud
1090
1090
 
1091
1091
  attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
1092
1092
  extend Gem::Deprecate
1093
- deprecate :CronScalerConfig, :none, 2024, 2
1094
- deprecate :CronScalerConfig=, :none, 2024, 2
1095
- deprecate :MaxReplicas, :none, 2024, 2
1096
- deprecate :MaxReplicas=, :none, 2024, 2
1093
+ deprecate :CronScalerConfig, :none, 2024, 3
1094
+ deprecate :CronScalerConfig=, :none, 2024, 3
1095
+ deprecate :MaxReplicas, :none, 2024, 3
1096
+ deprecate :MaxReplicas=, :none, 2024, 3
1097
1097
 
1098
1098
  def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
1099
1099
  @GatewayId = gatewayid
@@ -1137,8 +1137,8 @@ module TencentCloud
1137
1137
 
1138
1138
  attr_accessor :Result, :StrategyId, :RequestId
1139
1139
  extend Gem::Deprecate
1140
- deprecate :Result, :none, 2024, 2
1141
- deprecate :Result=, :none, 2024, 2
1140
+ deprecate :Result, :none, 2024, 3
1141
+ deprecate :Result=, :none, 2024, 3
1142
1142
 
1143
1143
  def initialize(result=nil, strategyid=nil, requestid=nil)
1144
1144
  @Result = result
@@ -1213,10 +1213,10 @@ module TencentCloud
1213
1213
 
1214
1214
  attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
1215
1215
  extend Gem::Deprecate
1216
- deprecate :Key, :none, 2024, 2
1217
- deprecate :Key=, :none, 2024, 2
1218
- deprecate :Crt, :none, 2024, 2
1219
- deprecate :Crt=, :none, 2024, 2
1216
+ deprecate :Key, :none, 2024, 3
1217
+ deprecate :Key=, :none, 2024, 3
1218
+ deprecate :Crt, :none, 2024, 3
1219
+ deprecate :Crt=, :none, 2024, 3
1220
1220
 
1221
1221
  def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
1222
1222
  @GatewayId = gatewayid
@@ -1544,8 +1544,8 @@ module TencentCloud
1544
1544
 
1545
1545
  attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
1546
1546
  extend Gem::Deprecate
1547
- deprecate :ForceHttps, :none, 2024, 2
1548
- deprecate :ForceHttps=, :none, 2024, 2
1547
+ deprecate :ForceHttps, :none, 2024, 3
1548
+ deprecate :ForceHttps=, :none, 2024, 3
1549
1549
 
1550
1550
  def initialize(gatewayid=nil, serviceid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
1551
1551
  @GatewayId = gatewayid
@@ -1949,6 +1949,53 @@ module TencentCloud
1949
1949
  end
1950
1950
  end
1951
1951
 
1952
+ # CreateGovernanceInstances请求参数结构体
1953
+ class CreateGovernanceInstancesRequest < TencentCloud::Common::AbstractModel
1954
+ # @param InstanceId: tse实例id。
1955
+ # @type InstanceId: String
1956
+ # @param GovernanceInstances: 服务实例信息。
1957
+ # @type GovernanceInstances: Array
1958
+
1959
+ attr_accessor :InstanceId, :GovernanceInstances
1960
+
1961
+ def initialize(instanceid=nil, governanceinstances=nil)
1962
+ @InstanceId = instanceid
1963
+ @GovernanceInstances = governanceinstances
1964
+ end
1965
+
1966
+ def deserialize(params)
1967
+ @InstanceId = params['InstanceId']
1968
+ unless params['GovernanceInstances'].nil?
1969
+ @GovernanceInstances = []
1970
+ params['GovernanceInstances'].each do |i|
1971
+ governanceinstanceinput_tmp = GovernanceInstanceInput.new
1972
+ governanceinstanceinput_tmp.deserialize(i)
1973
+ @GovernanceInstances << governanceinstanceinput_tmp
1974
+ end
1975
+ end
1976
+ end
1977
+ end
1978
+
1979
+ # CreateGovernanceInstances返回参数结构体
1980
+ class CreateGovernanceInstancesResponse < TencentCloud::Common::AbstractModel
1981
+ # @param Result: 创建是否成功。
1982
+ # @type Result: Boolean
1983
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1984
+ # @type RequestId: String
1985
+
1986
+ attr_accessor :Result, :RequestId
1987
+
1988
+ def initialize(result=nil, requestid=nil)
1989
+ @Result = result
1990
+ @RequestId = requestid
1991
+ end
1992
+
1993
+ def deserialize(params)
1994
+ @Result = params['Result']
1995
+ @RequestId = params['RequestId']
1996
+ end
1997
+ end
1998
+
1952
1999
  # CreateNativeGatewayServerGroup请求参数结构体
1953
2000
  class CreateNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
1954
2001
  # @param GatewayId: 网关实例id。
@@ -2485,6 +2532,53 @@ module TencentCloud
2485
2532
  end
2486
2533
  end
2487
2534
 
2535
+ # DeleteGovernanceInstances请求参数结构体
2536
+ class DeleteGovernanceInstancesRequest < TencentCloud::Common::AbstractModel
2537
+ # @param InstanceId: tse实例id。
2538
+ # @type InstanceId: String
2539
+ # @param GovernanceInstances: 要删除的服务实例信息。
2540
+ # @type GovernanceInstances: Array
2541
+
2542
+ attr_accessor :InstanceId, :GovernanceInstances
2543
+
2544
+ def initialize(instanceid=nil, governanceinstances=nil)
2545
+ @InstanceId = instanceid
2546
+ @GovernanceInstances = governanceinstances
2547
+ end
2548
+
2549
+ def deserialize(params)
2550
+ @InstanceId = params['InstanceId']
2551
+ unless params['GovernanceInstances'].nil?
2552
+ @GovernanceInstances = []
2553
+ params['GovernanceInstances'].each do |i|
2554
+ governanceinstanceupdate_tmp = GovernanceInstanceUpdate.new
2555
+ governanceinstanceupdate_tmp.deserialize(i)
2556
+ @GovernanceInstances << governanceinstanceupdate_tmp
2557
+ end
2558
+ end
2559
+ end
2560
+ end
2561
+
2562
+ # DeleteGovernanceInstances返回参数结构体
2563
+ class DeleteGovernanceInstancesResponse < TencentCloud::Common::AbstractModel
2564
+ # @param Result: 操作是否成功。
2565
+ # @type Result: Boolean
2566
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2567
+ # @type RequestId: String
2568
+
2569
+ attr_accessor :Result, :RequestId
2570
+
2571
+ def initialize(result=nil, requestid=nil)
2572
+ @Result = result
2573
+ @RequestId = requestid
2574
+ end
2575
+
2576
+ def deserialize(params)
2577
+ @Result = params['Result']
2578
+ @RequestId = params['RequestId']
2579
+ end
2580
+ end
2581
+
2488
2582
  # DeleteNativeGatewayServerGroup请求参数结构体
2489
2583
  class DeleteNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
2490
2584
  # @param GatewayId: 网关实例id。
@@ -3569,6 +3663,100 @@ module TencentCloud
3569
3663
  end
3570
3664
  end
3571
3665
 
3666
+ # DescribeGovernanceInstances请求参数结构体
3667
+ class DescribeGovernanceInstancesRequest < TencentCloud::Common::AbstractModel
3668
+ # @param Service: 实例所在的服务名。
3669
+ # @type Service: String
3670
+ # @param Namespace: 实例所在命名空间名。
3671
+ # @type Namespace: String
3672
+ # @param InstanceId: tse实例id。
3673
+ # @type InstanceId: String
3674
+ # @param Host: 根据实例ip过滤,多个ip使用英文逗号分隔。
3675
+ # @type Host: String
3676
+ # @param InstanceVersion: 根据实例版本过滤。
3677
+ # @type InstanceVersion: String
3678
+ # @param Protocol: 根据实例协议过滤。
3679
+ # @type Protocol: String
3680
+ # @param HealthStatus: 根据实例健康状态过滤。false:表示不健康,true:表示健康。
3681
+ # @type HealthStatus: Boolean
3682
+ # @param Isolate: 根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。
3683
+ # @type Isolate: Boolean
3684
+ # @param Metadatas: 根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。
3685
+ # @type Metadatas: Array
3686
+ # @param Offset: 偏移量,默认为0。
3687
+ # @type Offset: Integer
3688
+ # @param Limit: 返回数量,默认为20,最大值为100。
3689
+ # @type Limit: Integer
3690
+
3691
+ attr_accessor :Service, :Namespace, :InstanceId, :Host, :InstanceVersion, :Protocol, :HealthStatus, :Isolate, :Metadatas, :Offset, :Limit
3692
+
3693
+ def initialize(service=nil, namespace=nil, instanceid=nil, host=nil, instanceversion=nil, protocol=nil, healthstatus=nil, isolate=nil, metadatas=nil, offset=nil, limit=nil)
3694
+ @Service = service
3695
+ @Namespace = namespace
3696
+ @InstanceId = instanceid
3697
+ @Host = host
3698
+ @InstanceVersion = instanceversion
3699
+ @Protocol = protocol
3700
+ @HealthStatus = healthstatus
3701
+ @Isolate = isolate
3702
+ @Metadatas = metadatas
3703
+ @Offset = offset
3704
+ @Limit = limit
3705
+ end
3706
+
3707
+ def deserialize(params)
3708
+ @Service = params['Service']
3709
+ @Namespace = params['Namespace']
3710
+ @InstanceId = params['InstanceId']
3711
+ @Host = params['Host']
3712
+ @InstanceVersion = params['InstanceVersion']
3713
+ @Protocol = params['Protocol']
3714
+ @HealthStatus = params['HealthStatus']
3715
+ @Isolate = params['Isolate']
3716
+ unless params['Metadatas'].nil?
3717
+ @Metadatas = []
3718
+ params['Metadatas'].each do |i|
3719
+ metadata_tmp = Metadata.new
3720
+ metadata_tmp.deserialize(i)
3721
+ @Metadatas << metadata_tmp
3722
+ end
3723
+ end
3724
+ @Offset = params['Offset']
3725
+ @Limit = params['Limit']
3726
+ end
3727
+ end
3728
+
3729
+ # DescribeGovernanceInstances返回参数结构体
3730
+ class DescribeGovernanceInstancesResponse < TencentCloud::Common::AbstractModel
3731
+ # @param TotalCount: 服务实例总数量。
3732
+ # @type TotalCount: Integer
3733
+ # @param Content: 服务里实例列表。
3734
+ # @type Content: Array
3735
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3736
+ # @type RequestId: String
3737
+
3738
+ attr_accessor :TotalCount, :Content, :RequestId
3739
+
3740
+ def initialize(totalcount=nil, content=nil, requestid=nil)
3741
+ @TotalCount = totalcount
3742
+ @Content = content
3743
+ @RequestId = requestid
3744
+ end
3745
+
3746
+ def deserialize(params)
3747
+ @TotalCount = params['TotalCount']
3748
+ unless params['Content'].nil?
3749
+ @Content = []
3750
+ params['Content'].each do |i|
3751
+ governanceinstance_tmp = GovernanceInstance.new
3752
+ governanceinstance_tmp.deserialize(i)
3753
+ @Content << governanceinstance_tmp
3754
+ end
3755
+ end
3756
+ @RequestId = params['RequestId']
3757
+ end
3758
+ end
3759
+
3572
3760
  # 实例地域信息描述
3573
3761
  class DescribeInstanceRegionInfo < TencentCloud::Common::AbstractModel
3574
3762
  # @param EngineRegion: 引擎部署地域信息
@@ -4230,8 +4418,8 @@ module TencentCloud
4230
4418
 
4231
4419
  attr_accessor :GatewayId, :Type, :TypeList
4232
4420
  extend Gem::Deprecate
4233
- deprecate :Type, :none, 2024, 2
4234
- deprecate :Type=, :none, 2024, 2
4421
+ deprecate :Type, :none, 2024, 3
4422
+ deprecate :Type=, :none, 2024, 3
4235
4423
 
4236
4424
  def initialize(gatewayid=nil, type=nil, typelist=nil)
4237
4425
  @GatewayId = gatewayid
@@ -4690,6 +4878,224 @@ module TencentCloud
4690
4878
  end
4691
4879
  end
4692
4880
 
4881
+ # 治理中心实例信息。
4882
+ class GovernanceInstance < TencentCloud::Common::AbstractModel
4883
+ # @param Id: 实例id。
4884
+ # @type Id: String
4885
+ # @param Service: 实例所在服务名。
4886
+ # @type Service: String
4887
+ # @param Namespace: 实例所在命名空间名。
4888
+ # @type Namespace: String
4889
+ # @param Host: 实例ip地址。
4890
+ # 注意:此字段可能返回 null,表示取不到有效值。
4891
+ # @type Host: String
4892
+ # @param Port: 实例端口信息。
4893
+ # 注意:此字段可能返回 null,表示取不到有效值。
4894
+ # @type Port: Integer
4895
+ # @param Protocol: 通信协议。
4896
+ # 注意:此字段可能返回 null,表示取不到有效值。
4897
+ # @type Protocol: String
4898
+ # @param Version: 版本信息。
4899
+ # 注意:此字段可能返回 null,表示取不到有效值。
4900
+ # @type Version: String
4901
+ # @param Weight: 负载均衡权重。
4902
+ # 注意:此字段可能返回 null,表示取不到有效值。
4903
+ # @type Weight: Integer
4904
+ # @param EnableHealthCheck: 是否开启健康检查。
4905
+ # 注意:此字段可能返回 null,表示取不到有效值。
4906
+ # @type EnableHealthCheck: Boolean
4907
+ # @param Healthy: 实例是否健康。
4908
+ # 注意:此字段可能返回 null,表示取不到有效值。
4909
+ # @type Healthy: Boolean
4910
+ # @param Isolate: 实例是否隔离。
4911
+ # 注意:此字段可能返回 null,表示取不到有效值。
4912
+ # @type Isolate: Boolean
4913
+ # @param CreateTime: 实例创建时间。
4914
+ # 注意:此字段可能返回 null,表示取不到有效值。
4915
+ # @type CreateTime: String
4916
+ # @param ModifyTime: 实例修改时间。
4917
+ # 注意:此字段可能返回 null,表示取不到有效值。
4918
+ # @type ModifyTime: String
4919
+ # @param Metadatas: 元数据数组。
4920
+ # 注意:此字段可能返回 null,表示取不到有效值。
4921
+ # @type Metadatas: Array
4922
+ # @param Ttl: 上报心跳间隔。
4923
+ # 注意:此字段可能返回 null,表示取不到有效值。
4924
+ # @type Ttl: Integer
4925
+
4926
+ attr_accessor :Id, :Service, :Namespace, :Host, :Port, :Protocol, :Version, :Weight, :EnableHealthCheck, :Healthy, :Isolate, :CreateTime, :ModifyTime, :Metadatas, :Ttl
4927
+
4928
+ def initialize(id=nil, service=nil, namespace=nil, host=nil, port=nil, protocol=nil, version=nil, weight=nil, enablehealthcheck=nil, healthy=nil, isolate=nil, createtime=nil, modifytime=nil, metadatas=nil, ttl=nil)
4929
+ @Id = id
4930
+ @Service = service
4931
+ @Namespace = namespace
4932
+ @Host = host
4933
+ @Port = port
4934
+ @Protocol = protocol
4935
+ @Version = version
4936
+ @Weight = weight
4937
+ @EnableHealthCheck = enablehealthcheck
4938
+ @Healthy = healthy
4939
+ @Isolate = isolate
4940
+ @CreateTime = createtime
4941
+ @ModifyTime = modifytime
4942
+ @Metadatas = metadatas
4943
+ @Ttl = ttl
4944
+ end
4945
+
4946
+ def deserialize(params)
4947
+ @Id = params['Id']
4948
+ @Service = params['Service']
4949
+ @Namespace = params['Namespace']
4950
+ @Host = params['Host']
4951
+ @Port = params['Port']
4952
+ @Protocol = params['Protocol']
4953
+ @Version = params['Version']
4954
+ @Weight = params['Weight']
4955
+ @EnableHealthCheck = params['EnableHealthCheck']
4956
+ @Healthy = params['Healthy']
4957
+ @Isolate = params['Isolate']
4958
+ @CreateTime = params['CreateTime']
4959
+ @ModifyTime = params['ModifyTime']
4960
+ unless params['Metadatas'].nil?
4961
+ @Metadatas = []
4962
+ params['Metadatas'].each do |i|
4963
+ metadata_tmp = Metadata.new
4964
+ metadata_tmp.deserialize(i)
4965
+ @Metadatas << metadata_tmp
4966
+ end
4967
+ end
4968
+ @Ttl = params['Ttl']
4969
+ end
4970
+ end
4971
+
4972
+ # 实例信息
4973
+ class GovernanceInstanceInput < TencentCloud::Common::AbstractModel
4974
+ # @param Service: 实例所在服务名。
4975
+ # @type Service: String
4976
+ # @param Namespace: 实例服务所在命名空间。
4977
+ # @type Namespace: String
4978
+ # @param Weight: 实例负载均衡权重信息。不填默认为100。
4979
+ # @type Weight: Integer
4980
+ # @param Healthy: 实例默认健康信息。不填默认为健康。
4981
+ # @type Healthy: Boolean
4982
+ # @param Isolate: 实例隔离信息。不填默认为非隔离。
4983
+ # @type Isolate: Boolean
4984
+ # @param Host: 实例ip。
4985
+ # @type Host: String
4986
+ # @param Port: 实例监听端口。
4987
+ # @type Port: Integer
4988
+ # @param Protocol: 实例使用协议。不填默认为空。
4989
+ # @type Protocol: String
4990
+ # @param InstanceVersion: 实例版本。不填默认为空。
4991
+ # @type InstanceVersion: String
4992
+ # @param EnableHealthCheck: 是否启用健康检查。不填默认不启用。
4993
+ # @type EnableHealthCheck: Boolean
4994
+ # @param Ttl: 上报心跳时间间隔。若 EnableHealthCheck 为不启用,则此参数不生效;若 EnableHealthCheck 启用,此参数不填,则默认 ttl 为 5s。
4995
+ # @type Ttl: Integer
4996
+
4997
+ attr_accessor :Service, :Namespace, :Weight, :Healthy, :Isolate, :Host, :Port, :Protocol, :InstanceVersion, :EnableHealthCheck, :Ttl
4998
+
4999
+ def initialize(service=nil, namespace=nil, weight=nil, healthy=nil, isolate=nil, host=nil, port=nil, protocol=nil, instanceversion=nil, enablehealthcheck=nil, ttl=nil)
5000
+ @Service = service
5001
+ @Namespace = namespace
5002
+ @Weight = weight
5003
+ @Healthy = healthy
5004
+ @Isolate = isolate
5005
+ @Host = host
5006
+ @Port = port
5007
+ @Protocol = protocol
5008
+ @InstanceVersion = instanceversion
5009
+ @EnableHealthCheck = enablehealthcheck
5010
+ @Ttl = ttl
5011
+ end
5012
+
5013
+ def deserialize(params)
5014
+ @Service = params['Service']
5015
+ @Namespace = params['Namespace']
5016
+ @Weight = params['Weight']
5017
+ @Healthy = params['Healthy']
5018
+ @Isolate = params['Isolate']
5019
+ @Host = params['Host']
5020
+ @Port = params['Port']
5021
+ @Protocol = params['Protocol']
5022
+ @InstanceVersion = params['InstanceVersion']
5023
+ @EnableHealthCheck = params['EnableHealthCheck']
5024
+ @Ttl = params['Ttl']
5025
+ end
5026
+ end
5027
+
5028
+ # 实例信息
5029
+ class GovernanceInstanceUpdate < TencentCloud::Common::AbstractModel
5030
+ # @param Service: 实例所在服务名。
5031
+ # @type Service: String
5032
+ # @param Namespace: 实例服务所在命名空间。
5033
+ # @type Namespace: String
5034
+ # @param Id: 治理中心服务实例id。
5035
+ # @type Id: String
5036
+ # @param Weight: 实例负载均衡权重信息。不填默认为100。
5037
+ # @type Weight: Integer
5038
+ # @param Healthy: 实例默认健康信息。不填默认为健康。
5039
+ # @type Healthy: Boolean
5040
+ # @param Isolate: 实例隔离信息。不填默认为非隔离。
5041
+ # @type Isolate: Boolean
5042
+ # @param Host: 实例ip。
5043
+ # @type Host: String
5044
+ # @param Port: 实例监听端口。
5045
+ # @type Port: Integer
5046
+ # @param Protocol: 实例使用协议。不填默认为空。
5047
+ # @type Protocol: String
5048
+ # @param InstanceVersion: 实例版本。不填默认为空。
5049
+ # @type InstanceVersion: String
5050
+ # @param EnableHealthCheck: 是否启用健康检查。不填默认不启用。
5051
+ # @type EnableHealthCheck: Boolean
5052
+ # @param Ttl: 上报心跳时间间隔。若 EnableHealthCheck 为不启用,则此参数不生效;若 EnableHealthCheck 启用,此参数不填,则默认 ttl 为 5s。
5053
+ # @type Ttl: Integer
5054
+ # @param Metadatas: 元数据信息。
5055
+ # @type Metadatas: Array
5056
+
5057
+ attr_accessor :Service, :Namespace, :Id, :Weight, :Healthy, :Isolate, :Host, :Port, :Protocol, :InstanceVersion, :EnableHealthCheck, :Ttl, :Metadatas
5058
+
5059
+ def initialize(service=nil, namespace=nil, id=nil, weight=nil, healthy=nil, isolate=nil, host=nil, port=nil, protocol=nil, instanceversion=nil, enablehealthcheck=nil, ttl=nil, metadatas=nil)
5060
+ @Service = service
5061
+ @Namespace = namespace
5062
+ @Id = id
5063
+ @Weight = weight
5064
+ @Healthy = healthy
5065
+ @Isolate = isolate
5066
+ @Host = host
5067
+ @Port = port
5068
+ @Protocol = protocol
5069
+ @InstanceVersion = instanceversion
5070
+ @EnableHealthCheck = enablehealthcheck
5071
+ @Ttl = ttl
5072
+ @Metadatas = metadatas
5073
+ end
5074
+
5075
+ def deserialize(params)
5076
+ @Service = params['Service']
5077
+ @Namespace = params['Namespace']
5078
+ @Id = params['Id']
5079
+ @Weight = params['Weight']
5080
+ @Healthy = params['Healthy']
5081
+ @Isolate = params['Isolate']
5082
+ @Host = params['Host']
5083
+ @Port = params['Port']
5084
+ @Protocol = params['Protocol']
5085
+ @InstanceVersion = params['InstanceVersion']
5086
+ @EnableHealthCheck = params['EnableHealthCheck']
5087
+ @Ttl = params['Ttl']
5088
+ unless params['Metadatas'].nil?
5089
+ @Metadatas = []
5090
+ params['Metadatas'].each do |i|
5091
+ metadata_tmp = Metadata.new
5092
+ metadata_tmp.deserialize(i)
5093
+ @Metadatas << metadata_tmp
5094
+ end
5095
+ end
5096
+ end
5097
+ end
5098
+
4693
5099
  # 实例监听端口信息
4694
5100
  class InstancePort < TencentCloud::Common::AbstractModel
4695
5101
  # @param HttpPort: 监听的 http 端口范围。
@@ -4889,8 +5295,8 @@ module TencentCloud
4889
5295
 
4890
5296
  attr_accessor :Total, :CertificatesList, :Pages
4891
5297
  extend Gem::Deprecate
4892
- deprecate :Pages, :none, 2024, 2
4893
- deprecate :Pages=, :none, 2024, 2
5298
+ deprecate :Pages, :none, 2024, 3
5299
+ deprecate :Pages=, :none, 2024, 3
4894
5300
 
4895
5301
  def initialize(total=nil, certificateslist=nil, pages=nil)
4896
5302
  @Total = total
@@ -5048,8 +5454,8 @@ module TencentCloud
5048
5454
 
5049
5455
  attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
5050
5456
  extend Gem::Deprecate
5051
- deprecate :ForceHttps, :none, 2024, 2
5052
- deprecate :ForceHttps=, :none, 2024, 2
5457
+ deprecate :ForceHttps, :none, 2024, 3
5458
+ deprecate :ForceHttps=, :none, 2024, 3
5053
5459
 
5054
5460
  def initialize(id=nil, name=nil, methods=nil, paths=nil, hosts=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, createdtime=nil, forcehttps=nil, servicename=nil, serviceid=nil, destinationports=nil, headers=nil)
5055
5461
  @ID = id
@@ -5608,6 +6014,28 @@ module TencentCloud
5608
6014
  end
5609
6015
  end
5610
6016
 
6017
+ # 元数据信息
6018
+ class Metadata < TencentCloud::Common::AbstractModel
6019
+ # @param Key: 元数据键名。
6020
+ # 注意:此字段可能返回 null,表示取不到有效值。
6021
+ # @type Key: String
6022
+ # @param Value: 元数据键值。不填则默认为空字符串。
6023
+ # 注意:此字段可能返回 null,表示取不到有效值。
6024
+ # @type Value: String
6025
+
6026
+ attr_accessor :Key, :Value
6027
+
6028
+ def initialize(key=nil, value=nil)
6029
+ @Key = key
6030
+ @Value = value
6031
+ end
6032
+
6033
+ def deserialize(params)
6034
+ @Key = params['Key']
6035
+ @Value = params['Value']
6036
+ end
6037
+ end
6038
+
5611
6039
  # ModifyAutoScalerResourceStrategy请求参数结构体
5612
6040
  class ModifyAutoScalerResourceStrategyRequest < TencentCloud::Common::AbstractModel
5613
6041
  # @param GatewayId: 网关实例ID
@@ -5629,10 +6057,10 @@ module TencentCloud
5629
6057
 
5630
6058
  attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
5631
6059
  extend Gem::Deprecate
5632
- deprecate :CronScalerConfig, :none, 2024, 2
5633
- deprecate :CronScalerConfig=, :none, 2024, 2
5634
- deprecate :MaxReplicas, :none, 2024, 2
5635
- deprecate :MaxReplicas=, :none, 2024, 2
6060
+ deprecate :CronScalerConfig, :none, 2024, 3
6061
+ deprecate :CronScalerConfig=, :none, 2024, 3
6062
+ deprecate :MaxReplicas, :none, 2024, 3
6063
+ deprecate :MaxReplicas=, :none, 2024, 3
5636
6064
 
5637
6065
  def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
5638
6066
  @GatewayId = gatewayid
@@ -5756,10 +6184,10 @@ module TencentCloud
5756
6184
 
5757
6185
  attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
5758
6186
  extend Gem::Deprecate
5759
- deprecate :Name, :none, 2024, 2
5760
- deprecate :Name=, :none, 2024, 2
5761
- deprecate :BindDomains, :none, 2024, 2
5762
- deprecate :BindDomains=, :none, 2024, 2
6187
+ deprecate :Name, :none, 2024, 3
6188
+ deprecate :Name=, :none, 2024, 3
6189
+ deprecate :BindDomains, :none, 2024, 3
6190
+ deprecate :BindDomains=, :none, 2024, 3
5763
6191
 
5764
6192
  def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
5765
6193
  @GatewayId = gatewayid
@@ -5943,8 +6371,8 @@ module TencentCloud
5943
6371
 
5944
6372
  attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
5945
6373
  extend Gem::Deprecate
5946
- deprecate :ForceHttps, :none, 2024, 2
5947
- deprecate :ForceHttps=, :none, 2024, 2
6374
+ deprecate :ForceHttps, :none, 2024, 3
6375
+ deprecate :ForceHttps=, :none, 2024, 3
5948
6376
 
5949
6377
  def initialize(gatewayid=nil, serviceid=nil, routeid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
5950
6378
  @GatewayId = gatewayid
@@ -6174,6 +6602,53 @@ module TencentCloud
6174
6602
  end
6175
6603
  end
6176
6604
 
6605
+ # ModifyGovernanceInstances请求参数结构体
6606
+ class ModifyGovernanceInstancesRequest < TencentCloud::Common::AbstractModel
6607
+ # @param InstanceId: tse实例id。
6608
+ # @type InstanceId: String
6609
+ # @param GovernanceInstances: 服务实例信息。
6610
+ # @type GovernanceInstances: Array
6611
+
6612
+ attr_accessor :InstanceId, :GovernanceInstances
6613
+
6614
+ def initialize(instanceid=nil, governanceinstances=nil)
6615
+ @InstanceId = instanceid
6616
+ @GovernanceInstances = governanceinstances
6617
+ end
6618
+
6619
+ def deserialize(params)
6620
+ @InstanceId = params['InstanceId']
6621
+ unless params['GovernanceInstances'].nil?
6622
+ @GovernanceInstances = []
6623
+ params['GovernanceInstances'].each do |i|
6624
+ governanceinstanceupdate_tmp = GovernanceInstanceUpdate.new
6625
+ governanceinstanceupdate_tmp.deserialize(i)
6626
+ @GovernanceInstances << governanceinstanceupdate_tmp
6627
+ end
6628
+ end
6629
+ end
6630
+ end
6631
+
6632
+ # ModifyGovernanceInstances返回参数结构体
6633
+ class ModifyGovernanceInstancesResponse < TencentCloud::Common::AbstractModel
6634
+ # @param Result: 修改是否成功。
6635
+ # @type Result: Boolean
6636
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6637
+ # @type RequestId: String
6638
+
6639
+ attr_accessor :Result, :RequestId
6640
+
6641
+ def initialize(result=nil, requestid=nil)
6642
+ @Result = result
6643
+ @RequestId = requestid
6644
+ end
6645
+
6646
+ def deserialize(params)
6647
+ @Result = params['Result']
6648
+ @RequestId = params['RequestId']
6649
+ end
6650
+ end
6651
+
6177
6652
  # ModifyNativeGatewayServerGroup请求参数结构体
6178
6653
  class ModifyNativeGatewayServerGroupRequest < TencentCloud::Common::AbstractModel
6179
6654
  # @param GatewayId: 云原生API网关实例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.772
4
+ version: 3.0.773
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-29 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common