tencentcloud-sdk-tse 3.0.762 → 3.0.764

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: a545ddcb96ad9220d1b337e054e777850acb0884
4
- data.tar.gz: 7db317c5449587074c73a6506d77816f87bd84c1
3
+ metadata.gz: e3ab211c0b84e5556040bb7db236e37bb1542677
4
+ data.tar.gz: d7ed9467035cec901bcff8dd0b95ef1e2731a4b6
5
5
  SHA512:
6
- metadata.gz: 96be3a822a0540054c925eb3db81f59d7a147bc30bbb818cf0177b4efacd0ebb462f3632e6f236692692b6365601f1b51c18a7f7e86e53781d619634ef25c9da
7
- data.tar.gz: 97810f44e1508fd7762242ddda60faa73687ca658f2e8aed3448958bf056ae4b83b835fcaea9f84b78ca5e17a00ae09d0f00072933bfe72ab5712e8fd484a053
6
+ metadata.gz: e7ab9555ad00239697e718cf0eccf1607eb90bc23132d582c3fe067fbddda87f6dc8819dc3dbefcb44d1494a6594cad7cf17033ed77ab1f84edb8222e46e4572
7
+ data.tar.gz: f31b13b0fa0157bdc27407aabf403d7191dde6ecdf2fec266b50ced1c08c45974925aacd357fd14697e79608722fc9e623cc5b281e87f07bade3b031b8177f33
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.762
1
+ 3.0.764
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 弹性伸缩策略批量绑定网关分组
33
+
34
+ # @param request: Request instance for BindAutoScalerResourceStrategyToGroups.
35
+ # @type request: :class:`Tencentcloud::tse::V20201207::BindAutoScalerResourceStrategyToGroupsRequest`
36
+ # @rtype: :class:`Tencentcloud::tse::V20201207::BindAutoScalerResourceStrategyToGroupsResponse`
37
+ def BindAutoScalerResourceStrategyToGroups(request)
38
+ body = send_request('BindAutoScalerResourceStrategyToGroups', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BindAutoScalerResourceStrategyToGroupsResponse.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
  # 关闭 WAF 防护
33
57
 
34
58
  # @param request: Request instance for CloseWafProtection.
@@ -53,6 +77,30 @@ module TencentCloud
53
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
78
  end
55
79
 
80
+ # 创建弹性伸缩策略
81
+
82
+ # @param request: Request instance for CreateAutoScalerResourceStrategy.
83
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateAutoScalerResourceStrategyRequest`
84
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateAutoScalerResourceStrategyResponse`
85
+ def CreateAutoScalerResourceStrategy(request)
86
+ body = send_request('CreateAutoScalerResourceStrategy', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateAutoScalerResourceStrategyResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 创建云原生API网关实例
57
105
 
58
106
  # @param request: Request instance for CreateCloudNativeAPIGateway.
@@ -317,6 +365,30 @@ module TencentCloud
317
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
366
  end
319
367
 
368
+ # 删除弹性伸缩策略
369
+
370
+ # @param request: Request instance for DeleteAutoScalerResourceStrategy.
371
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteAutoScalerResourceStrategyRequest`
372
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteAutoScalerResourceStrategyResponse`
373
+ def DeleteAutoScalerResourceStrategy(request)
374
+ body = send_request('DeleteAutoScalerResourceStrategy', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeleteAutoScalerResourceStrategyResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
320
392
  # 删除云原生API网关实例
321
393
 
322
394
  # @param request: Request instance for DeleteCloudNativeAPIGateway.
@@ -581,6 +653,54 @@ module TencentCloud
581
653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
654
  end
583
655
 
656
+ # 查看弹性伸缩策略列表
657
+
658
+ # @param request: Request instance for DescribeAutoScalerResourceStrategies.
659
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesRequest`
660
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesResponse`
661
+ def DescribeAutoScalerResourceStrategies(request)
662
+ body = send_request('DescribeAutoScalerResourceStrategies', request.serialize)
663
+ response = JSON.parse(body)
664
+ if response['Response'].key?('Error') == false
665
+ model = DescribeAutoScalerResourceStrategiesResponse.new
666
+ model.deserialize(response['Response'])
667
+ model
668
+ else
669
+ code = response['Response']['Error']['Code']
670
+ message = response['Response']['Error']['Message']
671
+ reqid = response['Response']['RequestId']
672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
673
+ end
674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
675
+ raise e
676
+ rescue StandardError => e
677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
+ end
679
+
680
+ # 查看弹性伸缩策略绑定的网关分组
681
+
682
+ # @param request: Request instance for DescribeAutoScalerResourceStrategyBindingGroups.
683
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsRequest`
684
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsResponse`
685
+ def DescribeAutoScalerResourceStrategyBindingGroups(request)
686
+ body = send_request('DescribeAutoScalerResourceStrategyBindingGroups', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DescribeAutoScalerResourceStrategyBindingGroupsResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
584
704
  # 获取云原生API网关实例信息
585
705
 
586
706
  # @param request: Request instance for DescribeCloudNativeAPIGateway.
@@ -989,6 +1109,30 @@ module TencentCloud
989
1109
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
1110
  end
991
1111
 
1112
+ # 查询云原生API网关实例公网详情
1113
+
1114
+ # @param request: Request instance for DescribePublicNetwork.
1115
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribePublicNetworkRequest`
1116
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribePublicNetworkResponse`
1117
+ def DescribePublicNetwork(request)
1118
+ body = send_request('DescribePublicNetwork', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = DescribePublicNetworkResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
992
1136
  # 查询引擎实例访问地址
993
1137
 
994
1138
  # @param request: Request instance for DescribeSREInstanceAccessAddress.
@@ -1157,6 +1301,30 @@ module TencentCloud
1157
1301
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1302
  end
1159
1303
 
1304
+ # 更新弹性伸缩策略
1305
+
1306
+ # @param request: Request instance for ModifyAutoScalerResourceStrategy.
1307
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyAutoScalerResourceStrategyRequest`
1308
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyAutoScalerResourceStrategyResponse`
1309
+ def ModifyAutoScalerResourceStrategy(request)
1310
+ body = send_request('ModifyAutoScalerResourceStrategy', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = ModifyAutoScalerResourceStrategyResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1160
1328
  # 修改云原生API网关实例基础信息
1161
1329
 
1162
1330
  # @param request: Request instance for ModifyCloudNativeAPIGateway.
@@ -1469,6 +1637,30 @@ module TencentCloud
1469
1637
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
1638
  end
1471
1639
 
1640
+ # 弹性伸缩策略批量解绑网关分组
1641
+
1642
+ # @param request: Request instance for UnbindAutoScalerResourceStrategyFromGroups.
1643
+ # @type request: :class:`Tencentcloud::tse::V20201207::UnbindAutoScalerResourceStrategyFromGroupsRequest`
1644
+ # @rtype: :class:`Tencentcloud::tse::V20201207::UnbindAutoScalerResourceStrategyFromGroupsResponse`
1645
+ def UnbindAutoScalerResourceStrategyFromGroups(request)
1646
+ body = send_request('UnbindAutoScalerResourceStrategyFromGroups', request.serialize)
1647
+ response = JSON.parse(body)
1648
+ if response['Response'].key?('Error') == false
1649
+ model = UnbindAutoScalerResourceStrategyFromGroupsResponse.new
1650
+ model.deserialize(response['Response'])
1651
+ model
1652
+ else
1653
+ code = response['Response']['Error']['Code']
1654
+ message = response['Response']['Error']['Message']
1655
+ reqid = response['Response']['RequestId']
1656
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1657
+ end
1658
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1659
+ raise e
1660
+ rescue StandardError => e
1661
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1662
+ end
1663
+
1472
1664
  # 修改云原生网关证书信息
1473
1665
 
1474
1666
  # @param request: Request instance for UpdateCloudNativeAPIGatewayCertificateInfo.
@@ -149,6 +149,50 @@ module TencentCloud
149
149
  end
150
150
  end
151
151
 
152
+ # BindAutoScalerResourceStrategyToGroups请求参数结构体
153
+ class BindAutoScalerResourceStrategyToGroupsRequest < TencentCloud::Common::AbstractModel
154
+ # @param GatewayId: 网关实例ID
155
+ # @type GatewayId: String
156
+ # @param StrategyId: 策略ID
157
+ # @type StrategyId: String
158
+ # @param GroupIds: 网关分组ID列表
159
+ # @type GroupIds: Array
160
+
161
+ attr_accessor :GatewayId, :StrategyId, :GroupIds
162
+
163
+ def initialize(gatewayid=nil, strategyid=nil, groupids=nil)
164
+ @GatewayId = gatewayid
165
+ @StrategyId = strategyid
166
+ @GroupIds = groupids
167
+ end
168
+
169
+ def deserialize(params)
170
+ @GatewayId = params['GatewayId']
171
+ @StrategyId = params['StrategyId']
172
+ @GroupIds = params['GroupIds']
173
+ end
174
+ end
175
+
176
+ # BindAutoScalerResourceStrategyToGroups返回参数结构体
177
+ class BindAutoScalerResourceStrategyToGroupsResponse < TencentCloud::Common::AbstractModel
178
+ # @param Result: 是否成功
179
+ # @type Result: Boolean
180
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
181
+ # @type RequestId: String
182
+
183
+ attr_accessor :Result, :RequestId
184
+
185
+ def initialize(result=nil, requestid=nil)
186
+ @Result = result
187
+ @RequestId = requestid
188
+ end
189
+
190
+ def deserialize(params)
191
+ @Result = params['Result']
192
+ @RequestId = params['RequestId']
193
+ end
194
+ end
195
+
152
196
  # 服务治理引擎绑定的kubernetes信息
153
197
  class BoundK8SInfo < TencentCloud::Common::AbstractModel
154
198
  # @param BoundClusterId: 绑定的kubernetes集群ID
@@ -739,8 +783,8 @@ module TencentCloud
739
783
 
740
784
  attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
741
785
  extend Gem::Deprecate
742
- deprecate :MaxReplicas, :none, 2024, 1
743
- deprecate :MaxReplicas=, :none, 2024, 1
786
+ deprecate :MaxReplicas, :none, 2024, 2
787
+ deprecate :MaxReplicas=, :none, 2024, 2
744
788
 
745
789
  def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
746
790
  @StrategyId = strategyid
@@ -802,16 +846,16 @@ module TencentCloud
802
846
 
803
847
  attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
804
848
  extend Gem::Deprecate
805
- deprecate :Enabled, :none, 2024, 1
806
- deprecate :Enabled=, :none, 2024, 1
807
- deprecate :CreateTime, :none, 2024, 1
808
- deprecate :CreateTime=, :none, 2024, 1
809
- deprecate :ModifyTime, :none, 2024, 1
810
- deprecate :ModifyTime=, :none, 2024, 1
811
- deprecate :StrategyId, :none, 2024, 1
812
- deprecate :StrategyId=, :none, 2024, 1
813
- deprecate :AutoScalerId, :none, 2024, 1
814
- deprecate :AutoScalerId=, :none, 2024, 1
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
815
859
 
816
860
  def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
817
861
  @MaxReplicas = maxreplicas
@@ -880,6 +924,46 @@ module TencentCloud
880
924
  end
881
925
  end
882
926
 
927
+ # 策略绑定的网关分组信息
928
+ class CloudNativeAPIGatewayStrategyBindingGroupInfo < TencentCloud::Common::AbstractModel
929
+ # @param GroupId: 网关分组ID
930
+ # 注意:此字段可能返回 null,表示取不到有效值。
931
+ # @type GroupId: String
932
+ # @param NodeConfig: 节点配置
933
+ # 注意:此字段可能返回 null,表示取不到有效值。
934
+ # @type NodeConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
935
+ # @param BindTime: 绑定时间
936
+ # 注意:此字段可能返回 null,表示取不到有效值。
937
+ # @type BindTime: String
938
+ # @param GroupName: 网关分组名称
939
+ # 注意:此字段可能返回 null,表示取不到有效值。
940
+ # @type GroupName: String
941
+ # @param Status: 绑定状态
942
+ # 注意:此字段可能返回 null,表示取不到有效值。
943
+ # @type Status: String
944
+
945
+ attr_accessor :GroupId, :NodeConfig, :BindTime, :GroupName, :Status
946
+
947
+ def initialize(groupid=nil, nodeconfig=nil, bindtime=nil, groupname=nil, status=nil)
948
+ @GroupId = groupid
949
+ @NodeConfig = nodeconfig
950
+ @BindTime = bindtime
951
+ @GroupName = groupname
952
+ @Status = status
953
+ end
954
+
955
+ def deserialize(params)
956
+ @GroupId = params['GroupId']
957
+ unless params['NodeConfig'].nil?
958
+ @NodeConfig = CloudNativeAPIGatewayNodeConfig.new
959
+ @NodeConfig.deserialize(params['NodeConfig'])
960
+ end
961
+ @BindTime = params['BindTime']
962
+ @GroupName = params['GroupName']
963
+ @Status = params['Status']
964
+ end
965
+ end
966
+
883
967
  # 定时伸缩策略配置
884
968
  class CloudNativeAPIGatewayStrategyCronScalerConfig < TencentCloud::Common::AbstractModel
885
969
  # @param Enabled: 是否开启定时伸缩
@@ -900,14 +984,14 @@ module TencentCloud
900
984
 
901
985
  attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
902
986
  extend Gem::Deprecate
903
- deprecate :Enabled, :none, 2024, 1
904
- deprecate :Enabled=, :none, 2024, 1
905
- deprecate :CreateTime, :none, 2024, 1
906
- deprecate :CreateTime=, :none, 2024, 1
907
- deprecate :ModifyTime, :none, 2024, 1
908
- deprecate :ModifyTime=, :none, 2024, 1
909
- deprecate :StrategyId, :none, 2024, 1
910
- deprecate :StrategyId=, :none, 2024, 1
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
911
995
 
912
996
  def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
913
997
  @Enabled = enabled
@@ -987,6 +1071,88 @@ module TencentCloud
987
1071
  end
988
1072
  end
989
1073
 
1074
+ # CreateAutoScalerResourceStrategy请求参数结构体
1075
+ class CreateAutoScalerResourceStrategyRequest < TencentCloud::Common::AbstractModel
1076
+ # @param GatewayId: 网关实例ID
1077
+ # @type GatewayId: String
1078
+ # @param StrategyName: 策略名称
1079
+ # @type StrategyName: String
1080
+ # @param Description: 策略描述
1081
+ # @type Description: String
1082
+ # @param Config: 指标伸缩配置
1083
+ # @type Config: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyAutoScalerConfig`
1084
+ # @param CronScalerConfig: 定时伸缩配置列表
1085
+ # @type CronScalerConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyCronScalerConfig`
1086
+ # @param MaxReplicas: 最大节点数
1087
+ # @type MaxReplicas: Integer
1088
+ # @param CronConfig: 定时伸缩配置
1089
+ # @type CronConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyCronScalerConfig`
1090
+
1091
+ attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
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
1097
+
1098
+ def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
1099
+ @GatewayId = gatewayid
1100
+ @StrategyName = strategyname
1101
+ @Description = description
1102
+ @Config = config
1103
+ @CronScalerConfig = cronscalerconfig
1104
+ @MaxReplicas = maxreplicas
1105
+ @CronConfig = cronconfig
1106
+ end
1107
+
1108
+ def deserialize(params)
1109
+ @GatewayId = params['GatewayId']
1110
+ @StrategyName = params['StrategyName']
1111
+ @Description = params['Description']
1112
+ unless params['Config'].nil?
1113
+ @Config = CloudNativeAPIGatewayStrategyAutoScalerConfig.new
1114
+ @Config.deserialize(params['Config'])
1115
+ end
1116
+ unless params['CronScalerConfig'].nil?
1117
+ @CronScalerConfig = CloudNativeAPIGatewayStrategyCronScalerConfig.new
1118
+ @CronScalerConfig.deserialize(params['CronScalerConfig'])
1119
+ end
1120
+ @MaxReplicas = params['MaxReplicas']
1121
+ unless params['CronConfig'].nil?
1122
+ @CronConfig = CloudNativeAPIGatewayStrategyCronScalerConfig.new
1123
+ @CronConfig.deserialize(params['CronConfig'])
1124
+ end
1125
+ end
1126
+ end
1127
+
1128
+ # CreateAutoScalerResourceStrategy返回参数结构体
1129
+ class CreateAutoScalerResourceStrategyResponse < TencentCloud::Common::AbstractModel
1130
+ # @param Result: 是否成功
1131
+ # @type Result: Boolean
1132
+ # @param StrategyId: 策略Id
1133
+ # 注意:此字段可能返回 null,表示取不到有效值。
1134
+ # @type StrategyId: String
1135
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1136
+ # @type RequestId: String
1137
+
1138
+ attr_accessor :Result, :StrategyId, :RequestId
1139
+ extend Gem::Deprecate
1140
+ deprecate :Result, :none, 2024, 2
1141
+ deprecate :Result=, :none, 2024, 2
1142
+
1143
+ def initialize(result=nil, strategyid=nil, requestid=nil)
1144
+ @Result = result
1145
+ @StrategyId = strategyid
1146
+ @RequestId = requestid
1147
+ end
1148
+
1149
+ def deserialize(params)
1150
+ @Result = params['Result']
1151
+ @StrategyId = params['StrategyId']
1152
+ @RequestId = params['RequestId']
1153
+ end
1154
+ end
1155
+
990
1156
  # CreateCloudNativeAPIGatewayCanaryRule请求参数结构体
991
1157
  class CreateCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
992
1158
  # @param GatewayId: 网关 ID
@@ -1047,10 +1213,10 @@ module TencentCloud
1047
1213
 
1048
1214
  attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
1049
1215
  extend Gem::Deprecate
1050
- deprecate :Key, :none, 2024, 1
1051
- deprecate :Key=, :none, 2024, 1
1052
- deprecate :Crt, :none, 2024, 1
1053
- deprecate :Crt=, :none, 2024, 1
1216
+ deprecate :Key, :none, 2024, 2
1217
+ deprecate :Key=, :none, 2024, 2
1218
+ deprecate :Crt, :none, 2024, 2
1219
+ deprecate :Crt=, :none, 2024, 2
1054
1220
 
1055
1221
  def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
1056
1222
  @GatewayId = gatewayid
@@ -1378,8 +1544,8 @@ module TencentCloud
1378
1544
 
1379
1545
  attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
1380
1546
  extend Gem::Deprecate
1381
- deprecate :ForceHttps, :none, 2024, 1
1382
- deprecate :ForceHttps=, :none, 2024, 1
1547
+ deprecate :ForceHttps, :none, 2024, 2
1548
+ deprecate :ForceHttps=, :none, 2024, 2
1383
1549
 
1384
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)
1385
1551
  @GatewayId = gatewayid
@@ -1917,6 +2083,46 @@ module TencentCloud
1917
2083
  end
1918
2084
  end
1919
2085
 
2086
+ # DeleteAutoScalerResourceStrategy请求参数结构体
2087
+ class DeleteAutoScalerResourceStrategyRequest < TencentCloud::Common::AbstractModel
2088
+ # @param GatewayId: 网关实例ID
2089
+ # @type GatewayId: String
2090
+ # @param StrategyId: 策略ID
2091
+ # @type StrategyId: String
2092
+
2093
+ attr_accessor :GatewayId, :StrategyId
2094
+
2095
+ def initialize(gatewayid=nil, strategyid=nil)
2096
+ @GatewayId = gatewayid
2097
+ @StrategyId = strategyid
2098
+ end
2099
+
2100
+ def deserialize(params)
2101
+ @GatewayId = params['GatewayId']
2102
+ @StrategyId = params['StrategyId']
2103
+ end
2104
+ end
2105
+
2106
+ # DeleteAutoScalerResourceStrategy返回参数结构体
2107
+ class DeleteAutoScalerResourceStrategyResponse < TencentCloud::Common::AbstractModel
2108
+ # @param Result: 是否成功
2109
+ # @type Result: Boolean
2110
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2111
+ # @type RequestId: String
2112
+
2113
+ attr_accessor :Result, :RequestId
2114
+
2115
+ def initialize(result=nil, requestid=nil)
2116
+ @Result = result
2117
+ @RequestId = requestid
2118
+ end
2119
+
2120
+ def deserialize(params)
2121
+ @Result = params['Result']
2122
+ @RequestId = params['RequestId']
2123
+ end
2124
+ end
2125
+
1920
2126
  # DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
1921
2127
  class DeleteCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
1922
2128
  # @param GatewayId: 网关 ID
@@ -2388,6 +2594,100 @@ module TencentCloud
2388
2594
  end
2389
2595
  end
2390
2596
 
2597
+ # DescribeAutoScalerResourceStrategies请求参数结构体
2598
+ class DescribeAutoScalerResourceStrategiesRequest < TencentCloud::Common::AbstractModel
2599
+ # @param GatewayId: 网关实例ID
2600
+ # @type GatewayId: String
2601
+ # @param StrategyId: 策略ID
2602
+ # @type StrategyId: String
2603
+
2604
+ attr_accessor :GatewayId, :StrategyId
2605
+
2606
+ def initialize(gatewayid=nil, strategyid=nil)
2607
+ @GatewayId = gatewayid
2608
+ @StrategyId = strategyid
2609
+ end
2610
+
2611
+ def deserialize(params)
2612
+ @GatewayId = params['GatewayId']
2613
+ @StrategyId = params['StrategyId']
2614
+ end
2615
+ end
2616
+
2617
+ # DescribeAutoScalerResourceStrategies返回参数结构体
2618
+ class DescribeAutoScalerResourceStrategiesResponse < TencentCloud::Common::AbstractModel
2619
+ # @param Result: 获取云原生API网关实例弹性伸缩策略列表响应结果。
2620
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.ListCloudNativeAPIGatewayStrategyResult`
2621
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2622
+ # @type RequestId: String
2623
+
2624
+ attr_accessor :Result, :RequestId
2625
+
2626
+ def initialize(result=nil, requestid=nil)
2627
+ @Result = result
2628
+ @RequestId = requestid
2629
+ end
2630
+
2631
+ def deserialize(params)
2632
+ unless params['Result'].nil?
2633
+ @Result = ListCloudNativeAPIGatewayStrategyResult.new
2634
+ @Result.deserialize(params['Result'])
2635
+ end
2636
+ @RequestId = params['RequestId']
2637
+ end
2638
+ end
2639
+
2640
+ # DescribeAutoScalerResourceStrategyBindingGroups请求参数结构体
2641
+ class DescribeAutoScalerResourceStrategyBindingGroupsRequest < TencentCloud::Common::AbstractModel
2642
+ # @param GatewayId: 网关实例ID
2643
+ # @type GatewayId: String
2644
+ # @param StrategyId: 策略ID
2645
+ # @type StrategyId: String
2646
+ # @param Offset: 查询偏移量
2647
+ # @type Offset: Integer
2648
+ # @param Limit: 查询数量限制
2649
+ # @type Limit: Integer
2650
+
2651
+ attr_accessor :GatewayId, :StrategyId, :Offset, :Limit
2652
+
2653
+ def initialize(gatewayid=nil, strategyid=nil, offset=nil, limit=nil)
2654
+ @GatewayId = gatewayid
2655
+ @StrategyId = strategyid
2656
+ @Offset = offset
2657
+ @Limit = limit
2658
+ end
2659
+
2660
+ def deserialize(params)
2661
+ @GatewayId = params['GatewayId']
2662
+ @StrategyId = params['StrategyId']
2663
+ @Offset = params['Offset']
2664
+ @Limit = params['Limit']
2665
+ end
2666
+ end
2667
+
2668
+ # DescribeAutoScalerResourceStrategyBindingGroups返回参数结构体
2669
+ class DescribeAutoScalerResourceStrategyBindingGroupsResponse < TencentCloud::Common::AbstractModel
2670
+ # @param Result: 云原生API网关实例策略绑定网关分组列表响应结果
2671
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult`
2672
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2673
+ # @type RequestId: String
2674
+
2675
+ attr_accessor :Result, :RequestId
2676
+
2677
+ def initialize(result=nil, requestid=nil)
2678
+ @Result = result
2679
+ @RequestId = requestid
2680
+ end
2681
+
2682
+ def deserialize(params)
2683
+ unless params['Result'].nil?
2684
+ @Result = ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult.new
2685
+ @Result.deserialize(params['Result'])
2686
+ end
2687
+ @RequestId = params['RequestId']
2688
+ end
2689
+ end
2690
+
2391
2691
  # DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
2392
2692
  class DescribeCloudNativeAPIGatewayCanaryRulesRequest < TencentCloud::Common::AbstractModel
2393
2693
  # @param GatewayId: 网关ID
@@ -3559,6 +3859,84 @@ module TencentCloud
3559
3859
  end
3560
3860
  end
3561
3861
 
3862
+ # DescribePublicNetwork请求参数结构体
3863
+ class DescribePublicNetworkRequest < TencentCloud::Common::AbstractModel
3864
+ # @param GatewayId: 云原生API网关实例ID。
3865
+ # @type GatewayId: String
3866
+ # @param GroupId: 网关分组ID
3867
+ # @type GroupId: String
3868
+ # @param NetworkId: 网络ID
3869
+ # @type NetworkId: String
3870
+
3871
+ attr_accessor :GatewayId, :GroupId, :NetworkId
3872
+
3873
+ def initialize(gatewayid=nil, groupid=nil, networkid=nil)
3874
+ @GatewayId = gatewayid
3875
+ @GroupId = groupid
3876
+ @NetworkId = networkid
3877
+ end
3878
+
3879
+ def deserialize(params)
3880
+ @GatewayId = params['GatewayId']
3881
+ @GroupId = params['GroupId']
3882
+ @NetworkId = params['NetworkId']
3883
+ end
3884
+ end
3885
+
3886
+ # DescribePublicNetwork返回参数结构体
3887
+ class DescribePublicNetworkResponse < TencentCloud::Common::AbstractModel
3888
+ # @param Result: 获取云原生API网关公网详情响应结果。
3889
+ # 注意:此字段可能返回 null,表示取不到有效值。
3890
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribePublicNetworkResult`
3891
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3892
+ # @type RequestId: String
3893
+
3894
+ attr_accessor :Result, :RequestId
3895
+
3896
+ def initialize(result=nil, requestid=nil)
3897
+ @Result = result
3898
+ @RequestId = requestid
3899
+ end
3900
+
3901
+ def deserialize(params)
3902
+ unless params['Result'].nil?
3903
+ @Result = DescribePublicNetworkResult.new
3904
+ @Result.deserialize(params['Result'])
3905
+ end
3906
+ @RequestId = params['RequestId']
3907
+ end
3908
+ end
3909
+
3910
+ # 查询客户端公网信息
3911
+ class DescribePublicNetworkResult < TencentCloud::Common::AbstractModel
3912
+ # @param GatewayId: 网关实例ID
3913
+ # 注意:此字段可能返回 null,表示取不到有效值。
3914
+ # @type GatewayId: String
3915
+ # @param GroupId: 网关分组ID
3916
+ # 注意:此字段可能返回 null,表示取不到有效值。
3917
+ # @type GroupId: String
3918
+ # @param PublicNetwork: 客户端公网信息
3919
+ # 注意:此字段可能返回 null,表示取不到有效值。
3920
+ # @type PublicNetwork: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayConfig`
3921
+
3922
+ attr_accessor :GatewayId, :GroupId, :PublicNetwork
3923
+
3924
+ def initialize(gatewayid=nil, groupid=nil, publicnetwork=nil)
3925
+ @GatewayId = gatewayid
3926
+ @GroupId = groupid
3927
+ @PublicNetwork = publicnetwork
3928
+ end
3929
+
3930
+ def deserialize(params)
3931
+ @GatewayId = params['GatewayId']
3932
+ @GroupId = params['GroupId']
3933
+ unless params['PublicNetwork'].nil?
3934
+ @PublicNetwork = CloudNativeAPIGatewayConfig.new
3935
+ @PublicNetwork.deserialize(params['PublicNetwork'])
3936
+ end
3937
+ end
3938
+ end
3939
+
3562
3940
  # DescribeSREInstanceAccessAddress请求参数结构体
3563
3941
  class DescribeSREInstanceAccessAddressRequest < TencentCloud::Common::AbstractModel
3564
3942
  # @param InstanceId: 注册引擎实例Id
@@ -3852,8 +4230,8 @@ module TencentCloud
3852
4230
 
3853
4231
  attr_accessor :GatewayId, :Type, :TypeList
3854
4232
  extend Gem::Deprecate
3855
- deprecate :Type, :none, 2024, 1
3856
- deprecate :Type=, :none, 2024, 1
4233
+ deprecate :Type, :none, 2024, 2
4234
+ deprecate :Type=, :none, 2024, 2
3857
4235
 
3858
4236
  def initialize(gatewayid=nil, type=nil, typelist=nil)
3859
4237
  @GatewayId = gatewayid
@@ -4511,8 +4889,8 @@ module TencentCloud
4511
4889
 
4512
4890
  attr_accessor :Total, :CertificatesList, :Pages
4513
4891
  extend Gem::Deprecate
4514
- deprecate :Pages, :none, 2024, 1
4515
- deprecate :Pages=, :none, 2024, 1
4892
+ deprecate :Pages, :none, 2024, 2
4893
+ deprecate :Pages=, :none, 2024, 2
4516
4894
 
4517
4895
  def initialize(total=nil, certificateslist=nil, pages=nil)
4518
4896
  @Total = total
@@ -4670,8 +5048,8 @@ module TencentCloud
4670
5048
 
4671
5049
  attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
4672
5050
  extend Gem::Deprecate
4673
- deprecate :ForceHttps, :none, 2024, 1
4674
- deprecate :ForceHttps=, :none, 2024, 1
5051
+ deprecate :ForceHttps, :none, 2024, 2
5052
+ deprecate :ForceHttps=, :none, 2024, 2
4675
5053
 
4676
5054
  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)
4677
5055
  @ID = id
@@ -5156,6 +5534,60 @@ module TencentCloud
5156
5534
  end
5157
5535
  end
5158
5536
 
5537
+ # 获取云原生API网关实例策略绑定网关分组列表响应结果。
5538
+ class ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult < TencentCloud::Common::AbstractModel
5539
+ # @param TotalCount: 数量
5540
+ # @type TotalCount: Integer
5541
+ # @param GroupInfos: 云原生API网关实例策略绑定网关分组列表
5542
+ # @type GroupInfos: Array
5543
+
5544
+ attr_accessor :TotalCount, :GroupInfos
5545
+
5546
+ def initialize(totalcount=nil, groupinfos=nil)
5547
+ @TotalCount = totalcount
5548
+ @GroupInfos = groupinfos
5549
+ end
5550
+
5551
+ def deserialize(params)
5552
+ @TotalCount = params['TotalCount']
5553
+ unless params['GroupInfos'].nil?
5554
+ @GroupInfos = []
5555
+ params['GroupInfos'].each do |i|
5556
+ cloudnativeapigatewaystrategybindinggroupinfo_tmp = CloudNativeAPIGatewayStrategyBindingGroupInfo.new
5557
+ cloudnativeapigatewaystrategybindinggroupinfo_tmp.deserialize(i)
5558
+ @GroupInfos << cloudnativeapigatewaystrategybindinggroupinfo_tmp
5559
+ end
5560
+ end
5561
+ end
5562
+ end
5563
+
5564
+ # 获取云原生API网关实例策略响应结果。
5565
+ class ListCloudNativeAPIGatewayStrategyResult < TencentCloud::Common::AbstractModel
5566
+ # @param TotalCount: 总数。
5567
+ # @type TotalCount: Integer
5568
+ # @param StrategyList: 云原生API网关实例策略列表。
5569
+ # @type StrategyList: Array
5570
+
5571
+ attr_accessor :TotalCount, :StrategyList
5572
+
5573
+ def initialize(totalcount=nil, strategylist=nil)
5574
+ @TotalCount = totalcount
5575
+ @StrategyList = strategylist
5576
+ end
5577
+
5578
+ def deserialize(params)
5579
+ @TotalCount = params['TotalCount']
5580
+ unless params['StrategyList'].nil?
5581
+ @StrategyList = []
5582
+ params['StrategyList'].each do |i|
5583
+ cloudnativeapigatewaystrategy_tmp = CloudNativeAPIGatewayStrategy.new
5584
+ cloudnativeapigatewaystrategy_tmp.deserialize(i)
5585
+ @StrategyList << cloudnativeapigatewaystrategy_tmp
5586
+ end
5587
+ end
5588
+ end
5589
+ end
5590
+
5159
5591
  # 列表过滤条件,模糊匹配
5160
5592
  class ListFilter < TencentCloud::Common::AbstractModel
5161
5593
  # @param Key: 过滤字段
@@ -5176,6 +5608,84 @@ module TencentCloud
5176
5608
  end
5177
5609
  end
5178
5610
 
5611
+ # ModifyAutoScalerResourceStrategy请求参数结构体
5612
+ class ModifyAutoScalerResourceStrategyRequest < TencentCloud::Common::AbstractModel
5613
+ # @param GatewayId: 网关实例ID
5614
+ # @type GatewayId: String
5615
+ # @param StrategyId: 策略ID
5616
+ # @type StrategyId: String
5617
+ # @param StrategyName: 策略名称
5618
+ # @type StrategyName: String
5619
+ # @param Description: 策略描述
5620
+ # @type Description: String
5621
+ # @param Config: 指标伸缩配置
5622
+ # @type Config: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyAutoScalerConfig`
5623
+ # @param CronScalerConfig: 定时伸缩配置
5624
+ # @type CronScalerConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyCronScalerConfig`
5625
+ # @param MaxReplicas: 最大节点数
5626
+ # @type MaxReplicas: Integer
5627
+ # @param CronConfig: 指标伸缩配置
5628
+ # @type CronConfig: :class:`Tencentcloud::Tse.v20201207.models.CloudNativeAPIGatewayStrategyCronScalerConfig`
5629
+
5630
+ attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
5631
+ 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
5636
+
5637
+ def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
5638
+ @GatewayId = gatewayid
5639
+ @StrategyId = strategyid
5640
+ @StrategyName = strategyname
5641
+ @Description = description
5642
+ @Config = config
5643
+ @CronScalerConfig = cronscalerconfig
5644
+ @MaxReplicas = maxreplicas
5645
+ @CronConfig = cronconfig
5646
+ end
5647
+
5648
+ def deserialize(params)
5649
+ @GatewayId = params['GatewayId']
5650
+ @StrategyId = params['StrategyId']
5651
+ @StrategyName = params['StrategyName']
5652
+ @Description = params['Description']
5653
+ unless params['Config'].nil?
5654
+ @Config = CloudNativeAPIGatewayStrategyAutoScalerConfig.new
5655
+ @Config.deserialize(params['Config'])
5656
+ end
5657
+ unless params['CronScalerConfig'].nil?
5658
+ @CronScalerConfig = CloudNativeAPIGatewayStrategyCronScalerConfig.new
5659
+ @CronScalerConfig.deserialize(params['CronScalerConfig'])
5660
+ end
5661
+ @MaxReplicas = params['MaxReplicas']
5662
+ unless params['CronConfig'].nil?
5663
+ @CronConfig = CloudNativeAPIGatewayStrategyCronScalerConfig.new
5664
+ @CronConfig.deserialize(params['CronConfig'])
5665
+ end
5666
+ end
5667
+ end
5668
+
5669
+ # ModifyAutoScalerResourceStrategy返回参数结构体
5670
+ class ModifyAutoScalerResourceStrategyResponse < TencentCloud::Common::AbstractModel
5671
+ # @param Result: 是否成功
5672
+ # @type Result: Boolean
5673
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5674
+ # @type RequestId: String
5675
+
5676
+ attr_accessor :Result, :RequestId
5677
+
5678
+ def initialize(result=nil, requestid=nil)
5679
+ @Result = result
5680
+ @RequestId = requestid
5681
+ end
5682
+
5683
+ def deserialize(params)
5684
+ @Result = params['Result']
5685
+ @RequestId = params['RequestId']
5686
+ end
5687
+ end
5688
+
5179
5689
  # ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
5180
5690
  class ModifyCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
5181
5691
  # @param GatewayId: 网关 ID
@@ -5246,10 +5756,10 @@ module TencentCloud
5246
5756
 
5247
5757
  attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
5248
5758
  extend Gem::Deprecate
5249
- deprecate :Name, :none, 2024, 1
5250
- deprecate :Name=, :none, 2024, 1
5251
- deprecate :BindDomains, :none, 2024, 1
5252
- deprecate :BindDomains=, :none, 2024, 1
5759
+ deprecate :Name, :none, 2024, 2
5760
+ deprecate :Name=, :none, 2024, 2
5761
+ deprecate :BindDomains, :none, 2024, 2
5762
+ deprecate :BindDomains=, :none, 2024, 2
5253
5763
 
5254
5764
  def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
5255
5765
  @GatewayId = gatewayid
@@ -5433,8 +5943,8 @@ module TencentCloud
5433
5943
 
5434
5944
  attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
5435
5945
  extend Gem::Deprecate
5436
- deprecate :ForceHttps, :none, 2024, 1
5437
- deprecate :ForceHttps=, :none, 2024, 1
5946
+ deprecate :ForceHttps, :none, 2024, 2
5947
+ deprecate :ForceHttps=, :none, 2024, 2
5438
5948
 
5439
5949
  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)
5440
5950
  @GatewayId = gatewayid
@@ -6612,6 +7122,50 @@ module TencentCloud
6612
7122
  end
6613
7123
  end
6614
7124
 
7125
+ # UnbindAutoScalerResourceStrategyFromGroups请求参数结构体
7126
+ class UnbindAutoScalerResourceStrategyFromGroupsRequest < TencentCloud::Common::AbstractModel
7127
+ # @param GatewayId: 网关实例ID
7128
+ # @type GatewayId: String
7129
+ # @param StrategyId: 策略ID
7130
+ # @type StrategyId: String
7131
+ # @param GroupIds: 网关分组ID列表
7132
+ # @type GroupIds: Array
7133
+
7134
+ attr_accessor :GatewayId, :StrategyId, :GroupIds
7135
+
7136
+ def initialize(gatewayid=nil, strategyid=nil, groupids=nil)
7137
+ @GatewayId = gatewayid
7138
+ @StrategyId = strategyid
7139
+ @GroupIds = groupids
7140
+ end
7141
+
7142
+ def deserialize(params)
7143
+ @GatewayId = params['GatewayId']
7144
+ @StrategyId = params['StrategyId']
7145
+ @GroupIds = params['GroupIds']
7146
+ end
7147
+ end
7148
+
7149
+ # UnbindAutoScalerResourceStrategyFromGroups返回参数结构体
7150
+ class UnbindAutoScalerResourceStrategyFromGroupsResponse < TencentCloud::Common::AbstractModel
7151
+ # @param Result: 是否成功
7152
+ # @type Result: Boolean
7153
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7154
+ # @type RequestId: String
7155
+
7156
+ attr_accessor :Result, :RequestId
7157
+
7158
+ def initialize(result=nil, requestid=nil)
7159
+ @Result = result
7160
+ @RequestId = requestid
7161
+ end
7162
+
7163
+ def deserialize(params)
7164
+ @Result = params['Result']
7165
+ @RequestId = params['RequestId']
7166
+ end
7167
+ end
7168
+
6615
7169
  # UpdateCloudNativeAPIGatewayCertificateInfo请求参数结构体
6616
7170
  class UpdateCloudNativeAPIGatewayCertificateInfoRequest < TencentCloud::Common::AbstractModel
6617
7171
  # @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.762
4
+ version: 3.0.764
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-01 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common