tencentcloud-sdk-tse 3.0.793 → 3.0.795
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201207/models.rb +242 -76
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa32e91a4c41d1bde5607d22aad27aa2bfddd4a2
|
4
|
+
data.tar.gz: a9be1fb79cd4427428cf7fc3daa8edc2daad748b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 115c91ebb71795a6f6a2e753a5820cf5ca08dd053d5cdb631254599117214ad1ce0ff950ae93b377f2e3c6ca771975268340969cbb786890b774bd7f7e8d60d7
|
7
|
+
data.tar.gz: d3818de48b60977de7f9e00bffa40855490889f99a60372e5c2fbdae8cbaca5489d4a8c2aa928274a44d92a5d1bcb1fcbf3b2360bd9a03941906bc6039ddff23
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.795
|
data/lib/v20201207/models.rb
CHANGED
@@ -393,16 +393,49 @@ module TencentCloud
|
|
393
393
|
# @param ServiceName: 归属服务名称
|
394
394
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
395
395
|
# @type ServiceName: String
|
396
|
+
# @param RuleType: 灰度规则类别
|
397
|
+
# Standard|Lane
|
398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
399
|
+
# @type RuleType: String
|
400
|
+
# @param MatchType: 全链路灰度策略多个条件之间的匹配方式,与AND,或OR
|
401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
402
|
+
# @type MatchType: String
|
403
|
+
# @param GroupId: 泳道组ID
|
404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
405
|
+
# @type GroupId: String
|
406
|
+
# @param GroupName: 泳道组名称
|
407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
408
|
+
# @type GroupName: String
|
409
|
+
# @param LaneId: 泳道ID
|
410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
411
|
+
# @type LaneId: String
|
412
|
+
# @param LaneName: 泳道名称
|
413
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
414
|
+
# @type LaneName: String
|
415
|
+
# @param MatchMode: 泳道匹配规则:严格STRICT|宽松PERMISSIVE
|
416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
417
|
+
# @type MatchMode: String
|
418
|
+
# @param LaneTag: 泳道标签
|
419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
420
|
+
# @type LaneTag: String
|
396
421
|
|
397
|
-
attr_accessor :Priority, :Enabled, :ConditionList, :BalancedServiceList, :ServiceId, :ServiceName
|
422
|
+
attr_accessor :Priority, :Enabled, :ConditionList, :BalancedServiceList, :ServiceId, :ServiceName, :RuleType, :MatchType, :GroupId, :GroupName, :LaneId, :LaneName, :MatchMode, :LaneTag
|
398
423
|
|
399
|
-
def initialize(priority=nil, enabled=nil, conditionlist=nil, balancedservicelist=nil, serviceid=nil, servicename=nil)
|
424
|
+
def initialize(priority=nil, enabled=nil, conditionlist=nil, balancedservicelist=nil, serviceid=nil, servicename=nil, ruletype=nil, matchtype=nil, groupid=nil, groupname=nil, laneid=nil, lanename=nil, matchmode=nil, lanetag=nil)
|
400
425
|
@Priority = priority
|
401
426
|
@Enabled = enabled
|
402
427
|
@ConditionList = conditionlist
|
403
428
|
@BalancedServiceList = balancedservicelist
|
404
429
|
@ServiceId = serviceid
|
405
430
|
@ServiceName = servicename
|
431
|
+
@RuleType = ruletype
|
432
|
+
@MatchType = matchtype
|
433
|
+
@GroupId = groupid
|
434
|
+
@GroupName = groupname
|
435
|
+
@LaneId = laneid
|
436
|
+
@LaneName = lanename
|
437
|
+
@MatchMode = matchmode
|
438
|
+
@LaneTag = lanetag
|
406
439
|
end
|
407
440
|
|
408
441
|
def deserialize(params)
|
@@ -426,6 +459,14 @@ module TencentCloud
|
|
426
459
|
end
|
427
460
|
@ServiceId = params['ServiceId']
|
428
461
|
@ServiceName = params['ServiceName']
|
462
|
+
@RuleType = params['RuleType']
|
463
|
+
@MatchType = params['MatchType']
|
464
|
+
@GroupId = params['GroupId']
|
465
|
+
@GroupName = params['GroupName']
|
466
|
+
@LaneId = params['LaneId']
|
467
|
+
@LaneName = params['LaneName']
|
468
|
+
@MatchMode = params['MatchMode']
|
469
|
+
@LaneTag = params['LaneTag']
|
429
470
|
end
|
430
471
|
end
|
431
472
|
|
@@ -666,24 +707,15 @@ module TencentCloud
|
|
666
707
|
# @type Enabled: Boolean
|
667
708
|
# @param QpsThresholds: qps阈值
|
668
709
|
# @type QpsThresholds: Array
|
669
|
-
# @param LimitBy: 限流依据
|
670
|
-
# ip service consumer credential path header
|
671
|
-
# @type LimitBy: String
|
672
|
-
# @param ResponseType: 响应策略
|
673
|
-
# url请求转发
|
674
|
-
# text 响应配置
|
675
|
-
# default 直接返回
|
676
|
-
# @type ResponseType: String
|
677
|
-
# @param HideClientHeaders: 是否隐藏限流客户端响应头
|
678
|
-
# @type HideClientHeaders: Boolean
|
679
|
-
# @param IsDelay: 是否开启请求排队
|
680
|
-
# @type IsDelay: Boolean
|
681
710
|
# @param Path: 需要进行流量控制的请求路径
|
682
711
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
683
712
|
# @type Path: String
|
684
713
|
# @param Header: 需要进行流量控制的请求头Key
|
685
714
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
686
715
|
# @type Header: String
|
716
|
+
# @param LimitBy: 限流依据
|
717
|
+
# ip service consumer credential path header
|
718
|
+
# @type LimitBy: String
|
687
719
|
# @param ExternalRedis: 外部redis配置
|
688
720
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
689
721
|
# @type ExternalRedis: :class:`Tencentcloud::Tse.v20201207.models.ExternalRedis`
|
@@ -701,25 +733,42 @@ module TencentCloud
|
|
701
733
|
# @param RateLimitResponseUrl: 请求转发地址
|
702
734
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
703
735
|
# @type RateLimitResponseUrl: String
|
736
|
+
# @param ResponseType: 响应策略
|
737
|
+
# url请求转发
|
738
|
+
# text 响应配置
|
739
|
+
# default 直接返回
|
740
|
+
# @type ResponseType: String
|
741
|
+
# @param HideClientHeaders: 是否隐藏限流客户端响应头
|
742
|
+
# @type HideClientHeaders: Boolean
|
704
743
|
# @param LineUpTime: 排队时间
|
705
744
|
# @type LineUpTime: Integer
|
745
|
+
# @param IsDelay: 是否开启请求排队
|
746
|
+
# @type IsDelay: Boolean
|
747
|
+
# @param BasicLimitQpsThresholds: 基础限流
|
748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
749
|
+
# @type BasicLimitQpsThresholds: Array
|
750
|
+
# @param LimitRules: 参数限流的规则
|
751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
752
|
+
# @type LimitRules: Array
|
706
753
|
|
707
|
-
attr_accessor :Enabled, :QpsThresholds, :LimitBy, :
|
754
|
+
attr_accessor :Enabled, :QpsThresholds, :Path, :Header, :LimitBy, :ExternalRedis, :Policy, :RateLimitResponse, :RateLimitResponseUrl, :ResponseType, :HideClientHeaders, :LineUpTime, :IsDelay, :BasicLimitQpsThresholds, :LimitRules
|
708
755
|
|
709
|
-
def initialize(enabled=nil, qpsthresholds=nil, limitby=nil,
|
756
|
+
def initialize(enabled=nil, qpsthresholds=nil, path=nil, header=nil, limitby=nil, externalredis=nil, policy=nil, ratelimitresponse=nil, ratelimitresponseurl=nil, responsetype=nil, hideclientheaders=nil, lineuptime=nil, isdelay=nil, basiclimitqpsthresholds=nil, limitrules=nil)
|
710
757
|
@Enabled = enabled
|
711
758
|
@QpsThresholds = qpsthresholds
|
712
|
-
@LimitBy = limitby
|
713
|
-
@ResponseType = responsetype
|
714
|
-
@HideClientHeaders = hideclientheaders
|
715
|
-
@IsDelay = isdelay
|
716
759
|
@Path = path
|
717
760
|
@Header = header
|
761
|
+
@LimitBy = limitby
|
718
762
|
@ExternalRedis = externalredis
|
719
763
|
@Policy = policy
|
720
764
|
@RateLimitResponse = ratelimitresponse
|
721
765
|
@RateLimitResponseUrl = ratelimitresponseurl
|
766
|
+
@ResponseType = responsetype
|
767
|
+
@HideClientHeaders = hideclientheaders
|
722
768
|
@LineUpTime = lineuptime
|
769
|
+
@IsDelay = isdelay
|
770
|
+
@BasicLimitQpsThresholds = basiclimitqpsthresholds
|
771
|
+
@LimitRules = limitrules
|
723
772
|
end
|
724
773
|
|
725
774
|
def deserialize(params)
|
@@ -732,12 +781,9 @@ module TencentCloud
|
|
732
781
|
@QpsThresholds << qpsthreshold_tmp
|
733
782
|
end
|
734
783
|
end
|
735
|
-
@LimitBy = params['LimitBy']
|
736
|
-
@ResponseType = params['ResponseType']
|
737
|
-
@HideClientHeaders = params['HideClientHeaders']
|
738
|
-
@IsDelay = params['IsDelay']
|
739
784
|
@Path = params['Path']
|
740
785
|
@Header = params['Header']
|
786
|
+
@LimitBy = params['LimitBy']
|
741
787
|
unless params['ExternalRedis'].nil?
|
742
788
|
@ExternalRedis = ExternalRedis.new
|
743
789
|
@ExternalRedis.deserialize(params['ExternalRedis'])
|
@@ -748,7 +794,26 @@ module TencentCloud
|
|
748
794
|
@RateLimitResponse.deserialize(params['RateLimitResponse'])
|
749
795
|
end
|
750
796
|
@RateLimitResponseUrl = params['RateLimitResponseUrl']
|
797
|
+
@ResponseType = params['ResponseType']
|
798
|
+
@HideClientHeaders = params['HideClientHeaders']
|
751
799
|
@LineUpTime = params['LineUpTime']
|
800
|
+
@IsDelay = params['IsDelay']
|
801
|
+
unless params['BasicLimitQpsThresholds'].nil?
|
802
|
+
@BasicLimitQpsThresholds = []
|
803
|
+
params['BasicLimitQpsThresholds'].each do |i|
|
804
|
+
qpsthreshold_tmp = QpsThreshold.new
|
805
|
+
qpsthreshold_tmp.deserialize(i)
|
806
|
+
@BasicLimitQpsThresholds << qpsthreshold_tmp
|
807
|
+
end
|
808
|
+
end
|
809
|
+
unless params['LimitRules'].nil?
|
810
|
+
@LimitRules = []
|
811
|
+
params['LimitRules'].each do |i|
|
812
|
+
limitrule_tmp = LimitRule.new
|
813
|
+
limitrule_tmp.deserialize(i)
|
814
|
+
@LimitRules << limitrule_tmp
|
815
|
+
end
|
816
|
+
end
|
752
817
|
end
|
753
818
|
end
|
754
819
|
|
@@ -783,8 +848,8 @@ module TencentCloud
|
|
783
848
|
|
784
849
|
attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
|
785
850
|
extend Gem::Deprecate
|
786
|
-
deprecate :MaxReplicas, :none, 2024,
|
787
|
-
deprecate :MaxReplicas=, :none, 2024,
|
851
|
+
deprecate :MaxReplicas, :none, 2024, 4
|
852
|
+
deprecate :MaxReplicas=, :none, 2024, 4
|
788
853
|
|
789
854
|
def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
|
790
855
|
@StrategyId = strategyid
|
@@ -846,16 +911,16 @@ module TencentCloud
|
|
846
911
|
|
847
912
|
attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
|
848
913
|
extend Gem::Deprecate
|
849
|
-
deprecate :Enabled, :none, 2024,
|
850
|
-
deprecate :Enabled=, :none, 2024,
|
851
|
-
deprecate :CreateTime, :none, 2024,
|
852
|
-
deprecate :CreateTime=, :none, 2024,
|
853
|
-
deprecate :ModifyTime, :none, 2024,
|
854
|
-
deprecate :ModifyTime=, :none, 2024,
|
855
|
-
deprecate :StrategyId, :none, 2024,
|
856
|
-
deprecate :StrategyId=, :none, 2024,
|
857
|
-
deprecate :AutoScalerId, :none, 2024,
|
858
|
-
deprecate :AutoScalerId=, :none, 2024,
|
914
|
+
deprecate :Enabled, :none, 2024, 4
|
915
|
+
deprecate :Enabled=, :none, 2024, 4
|
916
|
+
deprecate :CreateTime, :none, 2024, 4
|
917
|
+
deprecate :CreateTime=, :none, 2024, 4
|
918
|
+
deprecate :ModifyTime, :none, 2024, 4
|
919
|
+
deprecate :ModifyTime=, :none, 2024, 4
|
920
|
+
deprecate :StrategyId, :none, 2024, 4
|
921
|
+
deprecate :StrategyId=, :none, 2024, 4
|
922
|
+
deprecate :AutoScalerId, :none, 2024, 4
|
923
|
+
deprecate :AutoScalerId=, :none, 2024, 4
|
859
924
|
|
860
925
|
def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
|
861
926
|
@MaxReplicas = maxreplicas
|
@@ -984,14 +1049,14 @@ module TencentCloud
|
|
984
1049
|
|
985
1050
|
attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
|
986
1051
|
extend Gem::Deprecate
|
987
|
-
deprecate :Enabled, :none, 2024,
|
988
|
-
deprecate :Enabled=, :none, 2024,
|
989
|
-
deprecate :CreateTime, :none, 2024,
|
990
|
-
deprecate :CreateTime=, :none, 2024,
|
991
|
-
deprecate :ModifyTime, :none, 2024,
|
992
|
-
deprecate :ModifyTime=, :none, 2024,
|
993
|
-
deprecate :StrategyId, :none, 2024,
|
994
|
-
deprecate :StrategyId=, :none, 2024,
|
1052
|
+
deprecate :Enabled, :none, 2024, 4
|
1053
|
+
deprecate :Enabled=, :none, 2024, 4
|
1054
|
+
deprecate :CreateTime, :none, 2024, 4
|
1055
|
+
deprecate :CreateTime=, :none, 2024, 4
|
1056
|
+
deprecate :ModifyTime, :none, 2024, 4
|
1057
|
+
deprecate :ModifyTime=, :none, 2024, 4
|
1058
|
+
deprecate :StrategyId, :none, 2024, 4
|
1059
|
+
deprecate :StrategyId=, :none, 2024, 4
|
995
1060
|
|
996
1061
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
997
1062
|
@Enabled = enabled
|
@@ -1686,10 +1751,10 @@ module TencentCloud
|
|
1686
1751
|
|
1687
1752
|
attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
1688
1753
|
extend Gem::Deprecate
|
1689
|
-
deprecate :CronScalerConfig, :none, 2024,
|
1690
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
1691
|
-
deprecate :MaxReplicas, :none, 2024,
|
1692
|
-
deprecate :MaxReplicas=, :none, 2024,
|
1754
|
+
deprecate :CronScalerConfig, :none, 2024, 4
|
1755
|
+
deprecate :CronScalerConfig=, :none, 2024, 4
|
1756
|
+
deprecate :MaxReplicas, :none, 2024, 4
|
1757
|
+
deprecate :MaxReplicas=, :none, 2024, 4
|
1693
1758
|
|
1694
1759
|
def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
1695
1760
|
@GatewayId = gatewayid
|
@@ -1733,8 +1798,8 @@ module TencentCloud
|
|
1733
1798
|
|
1734
1799
|
attr_accessor :Result, :StrategyId, :RequestId
|
1735
1800
|
extend Gem::Deprecate
|
1736
|
-
deprecate :Result, :none, 2024,
|
1737
|
-
deprecate :Result=, :none, 2024,
|
1801
|
+
deprecate :Result, :none, 2024, 4
|
1802
|
+
deprecate :Result=, :none, 2024, 4
|
1738
1803
|
|
1739
1804
|
def initialize(result=nil, strategyid=nil, requestid=nil)
|
1740
1805
|
@Result = result
|
@@ -1809,10 +1874,10 @@ module TencentCloud
|
|
1809
1874
|
|
1810
1875
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
1811
1876
|
extend Gem::Deprecate
|
1812
|
-
deprecate :Key, :none, 2024,
|
1813
|
-
deprecate :Key=, :none, 2024,
|
1814
|
-
deprecate :Crt, :none, 2024,
|
1815
|
-
deprecate :Crt=, :none, 2024,
|
1877
|
+
deprecate :Key, :none, 2024, 4
|
1878
|
+
deprecate :Key=, :none, 2024, 4
|
1879
|
+
deprecate :Crt, :none, 2024, 4
|
1880
|
+
deprecate :Crt=, :none, 2024, 4
|
1816
1881
|
|
1817
1882
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
1818
1883
|
@GatewayId = gatewayid
|
@@ -2140,8 +2205,8 @@ module TencentCloud
|
|
2140
2205
|
|
2141
2206
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
2142
2207
|
extend Gem::Deprecate
|
2143
|
-
deprecate :ForceHttps, :none, 2024,
|
2144
|
-
deprecate :ForceHttps=, :none, 2024,
|
2208
|
+
deprecate :ForceHttps, :none, 2024, 4
|
2209
|
+
deprecate :ForceHttps=, :none, 2024, 4
|
2145
2210
|
|
2146
2211
|
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)
|
2147
2212
|
@GatewayId = gatewayid
|
@@ -4037,16 +4102,19 @@ module TencentCloud
|
|
4037
4102
|
# @type GatewayId: String
|
4038
4103
|
# @param ServiceId: 服务 ID
|
4039
4104
|
# @type ServiceId: String
|
4105
|
+
# @param RuleType: 灰度规则类别 Standard|Lane
|
4106
|
+
# @type RuleType: String
|
4040
4107
|
# @param Limit: 列表数量
|
4041
4108
|
# @type Limit: Integer
|
4042
4109
|
# @param Offset: 列表offset
|
4043
4110
|
# @type Offset: Integer
|
4044
4111
|
|
4045
|
-
attr_accessor :GatewayId, :ServiceId, :Limit, :Offset
|
4112
|
+
attr_accessor :GatewayId, :ServiceId, :RuleType, :Limit, :Offset
|
4046
4113
|
|
4047
|
-
def initialize(gatewayid=nil, serviceid=nil, limit=nil, offset=nil)
|
4114
|
+
def initialize(gatewayid=nil, serviceid=nil, ruletype=nil, limit=nil, offset=nil)
|
4048
4115
|
@GatewayId = gatewayid
|
4049
4116
|
@ServiceId = serviceid
|
4117
|
+
@RuleType = ruletype
|
4050
4118
|
@Limit = limit
|
4051
4119
|
@Offset = offset
|
4052
4120
|
end
|
@@ -4054,6 +4122,7 @@ module TencentCloud
|
|
4054
4122
|
def deserialize(params)
|
4055
4123
|
@GatewayId = params['GatewayId']
|
4056
4124
|
@ServiceId = params['ServiceId']
|
4125
|
+
@RuleType = params['RuleType']
|
4057
4126
|
@Limit = params['Limit']
|
4058
4127
|
@Offset = params['Offset']
|
4059
4128
|
end
|
@@ -6551,8 +6620,8 @@ module TencentCloud
|
|
6551
6620
|
|
6552
6621
|
attr_accessor :GatewayId, :Type, :TypeList
|
6553
6622
|
extend Gem::Deprecate
|
6554
|
-
deprecate :Type, :none, 2024,
|
6555
|
-
deprecate :Type=, :none, 2024,
|
6623
|
+
deprecate :Type, :none, 2024, 4
|
6624
|
+
deprecate :Type=, :none, 2024, 4
|
6556
6625
|
|
6557
6626
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
6558
6627
|
@GatewayId = gatewayid
|
@@ -7876,6 +7945,28 @@ module TencentCloud
|
|
7876
7945
|
end
|
7877
7946
|
end
|
7878
7947
|
|
7948
|
+
# Key/Value结构
|
7949
|
+
class KeyValue < TencentCloud::Common::AbstractModel
|
7950
|
+
# @param Key: 条件的Key
|
7951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7952
|
+
# @type Key: String
|
7953
|
+
# @param Value: 条件的Value
|
7954
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7955
|
+
# @type Value: String
|
7956
|
+
|
7957
|
+
attr_accessor :Key, :Value
|
7958
|
+
|
7959
|
+
def initialize(key=nil, value=nil)
|
7960
|
+
@Key = key
|
7961
|
+
@Value = value
|
7962
|
+
end
|
7963
|
+
|
7964
|
+
def deserialize(params)
|
7965
|
+
@Key = params['Key']
|
7966
|
+
@Value = params['Value']
|
7967
|
+
end
|
7968
|
+
end
|
7969
|
+
|
7879
7970
|
# Kong网关主动健康检查配置
|
7880
7971
|
class KongActiveHealthCheck < TencentCloud::Common::AbstractModel
|
7881
7972
|
# @param HealthyInterval: 主动健康检查健康探测间隔,单位:秒,0表示不开启
|
@@ -7937,8 +8028,8 @@ module TencentCloud
|
|
7937
8028
|
|
7938
8029
|
attr_accessor :Total, :CertificatesList, :Pages
|
7939
8030
|
extend Gem::Deprecate
|
7940
|
-
deprecate :Pages, :none, 2024,
|
7941
|
-
deprecate :Pages=, :none, 2024,
|
8031
|
+
deprecate :Pages, :none, 2024, 4
|
8032
|
+
deprecate :Pages=, :none, 2024, 4
|
7942
8033
|
|
7943
8034
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
7944
8035
|
@Total = total
|
@@ -8096,8 +8187,8 @@ module TencentCloud
|
|
8096
8187
|
|
8097
8188
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
8098
8189
|
extend Gem::Deprecate
|
8099
|
-
deprecate :ForceHttps, :none, 2024,
|
8100
|
-
deprecate :ForceHttps=, :none, 2024,
|
8190
|
+
deprecate :ForceHttps, :none, 2024, 4
|
8191
|
+
deprecate :ForceHttps=, :none, 2024, 4
|
8101
8192
|
|
8102
8193
|
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)
|
8103
8194
|
@ID = id
|
@@ -8352,10 +8443,13 @@ module TencentCloud
|
|
8352
8443
|
# @param CvmInstanceName: CVM实例名称
|
8353
8444
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8354
8445
|
# @type CvmInstanceName: String
|
8446
|
+
# @param Tags: target标签
|
8447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8448
|
+
# @type Tags: Array
|
8355
8449
|
|
8356
|
-
attr_accessor :Host, :Port, :Weight, :Health, :CreatedTime, :Source, :CvmInstanceId, :CvmInstanceName
|
8450
|
+
attr_accessor :Host, :Port, :Weight, :Health, :CreatedTime, :Source, :CvmInstanceId, :CvmInstanceName, :Tags
|
8357
8451
|
|
8358
|
-
def initialize(host=nil, port=nil, weight=nil, health=nil, createdtime=nil, source=nil, cvminstanceid=nil, cvminstancename=nil)
|
8452
|
+
def initialize(host=nil, port=nil, weight=nil, health=nil, createdtime=nil, source=nil, cvminstanceid=nil, cvminstancename=nil, tags=nil)
|
8359
8453
|
@Host = host
|
8360
8454
|
@Port = port
|
8361
8455
|
@Weight = weight
|
@@ -8364,6 +8458,7 @@ module TencentCloud
|
|
8364
8458
|
@Source = source
|
8365
8459
|
@CvmInstanceId = cvminstanceid
|
8366
8460
|
@CvmInstanceName = cvminstancename
|
8461
|
+
@Tags = tags
|
8367
8462
|
end
|
8368
8463
|
|
8369
8464
|
def deserialize(params)
|
@@ -8375,6 +8470,7 @@ module TencentCloud
|
|
8375
8470
|
@Source = params['Source']
|
8376
8471
|
@CvmInstanceId = params['CvmInstanceId']
|
8377
8472
|
@CvmInstanceName = params['CvmInstanceName']
|
8473
|
+
@Tags = params['Tags']
|
8378
8474
|
end
|
8379
8475
|
end
|
8380
8476
|
|
@@ -8560,6 +8656,54 @@ module TencentCloud
|
|
8560
8656
|
end
|
8561
8657
|
end
|
8562
8658
|
|
8659
|
+
# 参数限流的规则
|
8660
|
+
class LimitRule < TencentCloud::Common::AbstractModel
|
8661
|
+
# @param Filters: 请求匹配条件
|
8662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8663
|
+
# @type Filters: Array
|
8664
|
+
# @param LimitBy: 参数限流依据组合
|
8665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8666
|
+
# @type LimitBy: Array
|
8667
|
+
# @param QpsThresholds: 限流阈值
|
8668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8669
|
+
# @type QpsThresholds: Array
|
8670
|
+
|
8671
|
+
attr_accessor :Filters, :LimitBy, :QpsThresholds
|
8672
|
+
|
8673
|
+
def initialize(filters=nil, limitby=nil, qpsthresholds=nil)
|
8674
|
+
@Filters = filters
|
8675
|
+
@LimitBy = limitby
|
8676
|
+
@QpsThresholds = qpsthresholds
|
8677
|
+
end
|
8678
|
+
|
8679
|
+
def deserialize(params)
|
8680
|
+
unless params['Filters'].nil?
|
8681
|
+
@Filters = []
|
8682
|
+
params['Filters'].each do |i|
|
8683
|
+
rulefilter_tmp = RuleFilter.new
|
8684
|
+
rulefilter_tmp.deserialize(i)
|
8685
|
+
@Filters << rulefilter_tmp
|
8686
|
+
end
|
8687
|
+
end
|
8688
|
+
unless params['LimitBy'].nil?
|
8689
|
+
@LimitBy = []
|
8690
|
+
params['LimitBy'].each do |i|
|
8691
|
+
keyvalue_tmp = KeyValue.new
|
8692
|
+
keyvalue_tmp.deserialize(i)
|
8693
|
+
@LimitBy << keyvalue_tmp
|
8694
|
+
end
|
8695
|
+
end
|
8696
|
+
unless params['QpsThresholds'].nil?
|
8697
|
+
@QpsThresholds = []
|
8698
|
+
params['QpsThresholds'].each do |i|
|
8699
|
+
qpsthreshold_tmp = QpsThreshold.new
|
8700
|
+
qpsthreshold_tmp.deserialize(i)
|
8701
|
+
@QpsThresholds << qpsthreshold_tmp
|
8702
|
+
end
|
8703
|
+
end
|
8704
|
+
end
|
8705
|
+
end
|
8706
|
+
|
8563
8707
|
# 获取云原生API网关实例列表响应结果。
|
8564
8708
|
class ListCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
8565
8709
|
# @param TotalCount: 总数。
|
@@ -8704,10 +8848,10 @@ module TencentCloud
|
|
8704
8848
|
|
8705
8849
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
8706
8850
|
extend Gem::Deprecate
|
8707
|
-
deprecate :CronScalerConfig, :none, 2024,
|
8708
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
8709
|
-
deprecate :MaxReplicas, :none, 2024,
|
8710
|
-
deprecate :MaxReplicas=, :none, 2024,
|
8851
|
+
deprecate :CronScalerConfig, :none, 2024, 4
|
8852
|
+
deprecate :CronScalerConfig=, :none, 2024, 4
|
8853
|
+
deprecate :MaxReplicas, :none, 2024, 4
|
8854
|
+
deprecate :MaxReplicas=, :none, 2024, 4
|
8711
8855
|
|
8712
8856
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
8713
8857
|
@GatewayId = gatewayid
|
@@ -8831,10 +8975,10 @@ module TencentCloud
|
|
8831
8975
|
|
8832
8976
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
8833
8977
|
extend Gem::Deprecate
|
8834
|
-
deprecate :Name, :none, 2024,
|
8835
|
-
deprecate :Name=, :none, 2024,
|
8836
|
-
deprecate :BindDomains, :none, 2024,
|
8837
|
-
deprecate :BindDomains=, :none, 2024,
|
8978
|
+
deprecate :Name, :none, 2024, 4
|
8979
|
+
deprecate :Name=, :none, 2024, 4
|
8980
|
+
deprecate :BindDomains, :none, 2024, 4
|
8981
|
+
deprecate :BindDomains=, :none, 2024, 4
|
8838
8982
|
|
8839
8983
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
8840
8984
|
@GatewayId = gatewayid
|
@@ -9018,8 +9162,8 @@ module TencentCloud
|
|
9018
9162
|
|
9019
9163
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
9020
9164
|
extend Gem::Deprecate
|
9021
|
-
deprecate :ForceHttps, :none, 2024,
|
9022
|
-
deprecate :ForceHttps=, :none, 2024,
|
9165
|
+
deprecate :ForceHttps, :none, 2024, 4
|
9166
|
+
deprecate :ForceHttps=, :none, 2024, 4
|
9023
9167
|
|
9024
9168
|
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)
|
9025
9169
|
@GatewayId = gatewayid
|
@@ -10233,6 +10377,28 @@ module TencentCloud
|
|
10233
10377
|
end
|
10234
10378
|
end
|
10235
10379
|
|
10380
|
+
# 限流规则的Filter
|
10381
|
+
class RuleFilter < TencentCloud::Common::AbstractModel
|
10382
|
+
# @param Key: 限流条件的Key
|
10383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10384
|
+
# @type Key: String
|
10385
|
+
# @param Values: 限流条件的Values
|
10386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10387
|
+
# @type Values: Array
|
10388
|
+
|
10389
|
+
attr_accessor :Key, :Values
|
10390
|
+
|
10391
|
+
def initialize(key=nil, values=nil)
|
10392
|
+
@Key = key
|
10393
|
+
@Values = values
|
10394
|
+
end
|
10395
|
+
|
10396
|
+
def deserialize(params)
|
10397
|
+
@Key = params['Key']
|
10398
|
+
@Values = params['Values']
|
10399
|
+
end
|
10400
|
+
end
|
10401
|
+
|
10236
10402
|
# 微服务注册引擎实例
|
10237
10403
|
class SREInstance < TencentCloud::Common::AbstractModel
|
10238
10404
|
# @param InstanceId: 实例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.
|
4
|
+
version: 3.0.795
|
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-
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|