tencentcloud-sdk-tse 3.0.1094 → 3.0.1122
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/client.rb +24 -0
- data/lib/v20201207/models.rb +197 -52
- 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: 7542835064412f8b7df025f83bdd2518ae66f695
|
4
|
+
data.tar.gz: edaa344b20332ccba420b02811a17c5c704e2e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 973d304a026680eeb00e4f505fa68ed8c0a809ebe53637fe2c5b9d6840f197d7829e6991583a9d99d9f9932550401f0589bb71b967760e65b643f68acdfd7f63
|
7
|
+
data.tar.gz: 420a6bd6e10e5efa8a160793b2e9eba80f60f2112f1674643dbba64d0045523532cc6359dfac11098040f7fd9ec483b540fe3bdbf1252ee129d423f452118e81
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1122
|
data/lib/v20201207/client.rb
CHANGED
@@ -1421,6 +1421,30 @@ module TencentCloud
|
|
1421
1421
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1422
1422
|
end
|
1423
1423
|
|
1424
|
+
# 轻量查询云原生网关服务列表
|
1425
|
+
|
1426
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayServicesLight.
|
1427
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesLightRequest`
|
1428
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesLightResponse`
|
1429
|
+
def DescribeCloudNativeAPIGatewayServicesLight(request)
|
1430
|
+
body = send_request('DescribeCloudNativeAPIGatewayServicesLight', request.serialize)
|
1431
|
+
response = JSON.parse(body)
|
1432
|
+
if response['Response'].key?('Error') == false
|
1433
|
+
model = DescribeCloudNativeAPIGatewayServicesLightResponse.new
|
1434
|
+
model.deserialize(response['Response'])
|
1435
|
+
model
|
1436
|
+
else
|
1437
|
+
code = response['Response']['Error']['Code']
|
1438
|
+
message = response['Response']['Error']['Message']
|
1439
|
+
reqid = response['Response']['RequestId']
|
1440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1441
|
+
end
|
1442
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1443
|
+
raise e
|
1444
|
+
rescue StandardError => e
|
1445
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1446
|
+
end
|
1447
|
+
|
1424
1448
|
# 获取云原生网关服务详情下的Upstream列表
|
1425
1449
|
|
1426
1450
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayUpstream.
|
data/lib/v20201207/models.rb
CHANGED
@@ -823,8 +823,8 @@ module TencentCloud
|
|
823
823
|
|
824
824
|
attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
|
825
825
|
extend Gem::Deprecate
|
826
|
-
deprecate :MaxReplicas, :none, 2025,
|
827
|
-
deprecate :MaxReplicas=, :none, 2025,
|
826
|
+
deprecate :MaxReplicas, :none, 2025, 8
|
827
|
+
deprecate :MaxReplicas=, :none, 2025, 8
|
828
828
|
|
829
829
|
def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
|
830
830
|
@StrategyId = strategyid
|
@@ -885,16 +885,16 @@ module TencentCloud
|
|
885
885
|
|
886
886
|
attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
|
887
887
|
extend Gem::Deprecate
|
888
|
-
deprecate :Enabled, :none, 2025,
|
889
|
-
deprecate :Enabled=, :none, 2025,
|
890
|
-
deprecate :CreateTime, :none, 2025,
|
891
|
-
deprecate :CreateTime=, :none, 2025,
|
892
|
-
deprecate :ModifyTime, :none, 2025,
|
893
|
-
deprecate :ModifyTime=, :none, 2025,
|
894
|
-
deprecate :StrategyId, :none, 2025,
|
895
|
-
deprecate :StrategyId=, :none, 2025,
|
896
|
-
deprecate :AutoScalerId, :none, 2025,
|
897
|
-
deprecate :AutoScalerId=, :none, 2025,
|
888
|
+
deprecate :Enabled, :none, 2025, 8
|
889
|
+
deprecate :Enabled=, :none, 2025, 8
|
890
|
+
deprecate :CreateTime, :none, 2025, 8
|
891
|
+
deprecate :CreateTime=, :none, 2025, 8
|
892
|
+
deprecate :ModifyTime, :none, 2025, 8
|
893
|
+
deprecate :ModifyTime=, :none, 2025, 8
|
894
|
+
deprecate :StrategyId, :none, 2025, 8
|
895
|
+
deprecate :StrategyId=, :none, 2025, 8
|
896
|
+
deprecate :AutoScalerId, :none, 2025, 8
|
897
|
+
deprecate :AutoScalerId=, :none, 2025, 8
|
898
898
|
|
899
899
|
def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
|
900
900
|
@MaxReplicas = maxreplicas
|
@@ -1015,14 +1015,14 @@ module TencentCloud
|
|
1015
1015
|
|
1016
1016
|
attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
|
1017
1017
|
extend Gem::Deprecate
|
1018
|
-
deprecate :Enabled, :none, 2025,
|
1019
|
-
deprecate :Enabled=, :none, 2025,
|
1020
|
-
deprecate :CreateTime, :none, 2025,
|
1021
|
-
deprecate :CreateTime=, :none, 2025,
|
1022
|
-
deprecate :ModifyTime, :none, 2025,
|
1023
|
-
deprecate :ModifyTime=, :none, 2025,
|
1024
|
-
deprecate :StrategyId, :none, 2025,
|
1025
|
-
deprecate :StrategyId=, :none, 2025,
|
1018
|
+
deprecate :Enabled, :none, 2025, 8
|
1019
|
+
deprecate :Enabled=, :none, 2025, 8
|
1020
|
+
deprecate :CreateTime, :none, 2025, 8
|
1021
|
+
deprecate :CreateTime=, :none, 2025, 8
|
1022
|
+
deprecate :ModifyTime, :none, 2025, 8
|
1023
|
+
deprecate :ModifyTime=, :none, 2025, 8
|
1024
|
+
deprecate :StrategyId, :none, 2025, 8
|
1025
|
+
deprecate :StrategyId=, :none, 2025, 8
|
1026
1026
|
|
1027
1027
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
1028
1028
|
@Enabled = enabled
|
@@ -1700,10 +1700,10 @@ module TencentCloud
|
|
1700
1700
|
|
1701
1701
|
attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
1702
1702
|
extend Gem::Deprecate
|
1703
|
-
deprecate :CronScalerConfig, :none, 2025,
|
1704
|
-
deprecate :CronScalerConfig=, :none, 2025,
|
1705
|
-
deprecate :MaxReplicas, :none, 2025,
|
1706
|
-
deprecate :MaxReplicas=, :none, 2025,
|
1703
|
+
deprecate :CronScalerConfig, :none, 2025, 8
|
1704
|
+
deprecate :CronScalerConfig=, :none, 2025, 8
|
1705
|
+
deprecate :MaxReplicas, :none, 2025, 8
|
1706
|
+
deprecate :MaxReplicas=, :none, 2025, 8
|
1707
1707
|
|
1708
1708
|
def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
1709
1709
|
@GatewayId = gatewayid
|
@@ -1746,8 +1746,8 @@ module TencentCloud
|
|
1746
1746
|
|
1747
1747
|
attr_accessor :Result, :StrategyId, :RequestId
|
1748
1748
|
extend Gem::Deprecate
|
1749
|
-
deprecate :Result, :none, 2025,
|
1750
|
-
deprecate :Result=, :none, 2025,
|
1749
|
+
deprecate :Result, :none, 2025, 8
|
1750
|
+
deprecate :Result=, :none, 2025, 8
|
1751
1751
|
|
1752
1752
|
def initialize(result=nil, strategyid=nil, requestid=nil)
|
1753
1753
|
@Result = result
|
@@ -1833,10 +1833,10 @@ module TencentCloud
|
|
1833
1833
|
|
1834
1834
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
1835
1835
|
extend Gem::Deprecate
|
1836
|
-
deprecate :Key, :none, 2025,
|
1837
|
-
deprecate :Key=, :none, 2025,
|
1838
|
-
deprecate :Crt, :none, 2025,
|
1839
|
-
deprecate :Crt=, :none, 2025,
|
1836
|
+
deprecate :Key, :none, 2025, 8
|
1837
|
+
deprecate :Key=, :none, 2025, 8
|
1838
|
+
deprecate :Crt, :none, 2025, 8
|
1839
|
+
deprecate :Crt=, :none, 2025, 8
|
1840
1840
|
|
1841
1841
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
1842
1842
|
@GatewayId = gatewayid
|
@@ -2171,8 +2171,8 @@ module TencentCloud
|
|
2171
2171
|
|
2172
2172
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
2173
2173
|
extend Gem::Deprecate
|
2174
|
-
deprecate :ForceHttps, :none, 2025,
|
2175
|
-
deprecate :ForceHttps=, :none, 2025,
|
2174
|
+
deprecate :ForceHttps, :none, 2025, 8
|
2175
|
+
deprecate :ForceHttps=, :none, 2025, 8
|
2176
2176
|
|
2177
2177
|
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, requestbuffering=nil, responsebuffering=nil, regexpriority=nil)
|
2178
2178
|
@GatewayId = gatewayid
|
@@ -2582,10 +2582,14 @@ module TencentCloud
|
|
2582
2582
|
# @type StorageOption: Array
|
2583
2583
|
# @param AffinityConstraint: ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
|
2584
2584
|
# @type AffinityConstraint: String
|
2585
|
+
# @param ZoneIds: 指定zone id列表
|
2586
|
+
# @type ZoneIds: Array
|
2587
|
+
# @param EngineRegionTag: 地域特殊标签,用于区分相同地域,不通的业务属性
|
2588
|
+
# @type EngineRegionTag: String
|
2585
2589
|
|
2586
|
-
attr_accessor :EngineType, :EngineVersion, :EngineProductVersion, :EngineRegion, :EngineName, :TradeType, :EngineResourceSpec, :EngineNodeNum, :VpcId, :SubnetId, :ApolloEnvParams, :EngineTags, :EngineAdmin, :PrepaidPeriod, :PrepaidRenewFlag, :EngineRegionInfos, :StorageType, :StorageCapacity, :StorageOption, :AffinityConstraint
|
2590
|
+
attr_accessor :EngineType, :EngineVersion, :EngineProductVersion, :EngineRegion, :EngineName, :TradeType, :EngineResourceSpec, :EngineNodeNum, :VpcId, :SubnetId, :ApolloEnvParams, :EngineTags, :EngineAdmin, :PrepaidPeriod, :PrepaidRenewFlag, :EngineRegionInfos, :StorageType, :StorageCapacity, :StorageOption, :AffinityConstraint, :ZoneIds, :EngineRegionTag
|
2587
2591
|
|
2588
|
-
def initialize(enginetype=nil, engineversion=nil, engineproductversion=nil, engineregion=nil, enginename=nil, tradetype=nil, engineresourcespec=nil, enginenodenum=nil, vpcid=nil, subnetid=nil, apolloenvparams=nil, enginetags=nil, engineadmin=nil, prepaidperiod=nil, prepaidrenewflag=nil, engineregioninfos=nil, storagetype=nil, storagecapacity=nil, storageoption=nil, affinityconstraint=nil)
|
2592
|
+
def initialize(enginetype=nil, engineversion=nil, engineproductversion=nil, engineregion=nil, enginename=nil, tradetype=nil, engineresourcespec=nil, enginenodenum=nil, vpcid=nil, subnetid=nil, apolloenvparams=nil, enginetags=nil, engineadmin=nil, prepaidperiod=nil, prepaidrenewflag=nil, engineregioninfos=nil, storagetype=nil, storagecapacity=nil, storageoption=nil, affinityconstraint=nil, zoneids=nil, engineregiontag=nil)
|
2589
2593
|
@EngineType = enginetype
|
2590
2594
|
@EngineVersion = engineversion
|
2591
2595
|
@EngineProductVersion = engineproductversion
|
@@ -2606,6 +2610,8 @@ module TencentCloud
|
|
2606
2610
|
@StorageCapacity = storagecapacity
|
2607
2611
|
@StorageOption = storageoption
|
2608
2612
|
@AffinityConstraint = affinityconstraint
|
2613
|
+
@ZoneIds = zoneids
|
2614
|
+
@EngineRegionTag = engineregiontag
|
2609
2615
|
end
|
2610
2616
|
|
2611
2617
|
def deserialize(params)
|
@@ -2660,6 +2666,8 @@ module TencentCloud
|
|
2660
2666
|
end
|
2661
2667
|
end
|
2662
2668
|
@AffinityConstraint = params['AffinityConstraint']
|
2669
|
+
@ZoneIds = params['ZoneIds']
|
2670
|
+
@EngineRegionTag = params['EngineRegionTag']
|
2663
2671
|
end
|
2664
2672
|
end
|
2665
2673
|
|
@@ -4941,6 +4949,64 @@ module TencentCloud
|
|
4941
4949
|
end
|
4942
4950
|
end
|
4943
4951
|
|
4952
|
+
# DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
|
4953
|
+
class DescribeCloudNativeAPIGatewayServicesLightRequest < TencentCloud::Common::AbstractModel
|
4954
|
+
# @param GatewayId: 网关ID
|
4955
|
+
# @type GatewayId: String
|
4956
|
+
# @param Limit: 列表数量
|
4957
|
+
# @type Limit: Integer
|
4958
|
+
# @param Offset: 列表 offset
|
4959
|
+
# @type Offset: Integer
|
4960
|
+
# @param Filters: 过滤条件,多个过滤条件之间是与的关系,支持 id、name、upstreamType
|
4961
|
+
# @type Filters: Array
|
4962
|
+
|
4963
|
+
attr_accessor :GatewayId, :Limit, :Offset, :Filters
|
4964
|
+
|
4965
|
+
def initialize(gatewayid=nil, limit=nil, offset=nil, filters=nil)
|
4966
|
+
@GatewayId = gatewayid
|
4967
|
+
@Limit = limit
|
4968
|
+
@Offset = offset
|
4969
|
+
@Filters = filters
|
4970
|
+
end
|
4971
|
+
|
4972
|
+
def deserialize(params)
|
4973
|
+
@GatewayId = params['GatewayId']
|
4974
|
+
@Limit = params['Limit']
|
4975
|
+
@Offset = params['Offset']
|
4976
|
+
unless params['Filters'].nil?
|
4977
|
+
@Filters = []
|
4978
|
+
params['Filters'].each do |i|
|
4979
|
+
listfilter_tmp = ListFilter.new
|
4980
|
+
listfilter_tmp.deserialize(i)
|
4981
|
+
@Filters << listfilter_tmp
|
4982
|
+
end
|
4983
|
+
end
|
4984
|
+
end
|
4985
|
+
end
|
4986
|
+
|
4987
|
+
# DescribeCloudNativeAPIGatewayServicesLight返回参数结构体
|
4988
|
+
class DescribeCloudNativeAPIGatewayServicesLightResponse < TencentCloud::Common::AbstractModel
|
4989
|
+
# @param Result: 无
|
4990
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.GatewayServices`
|
4991
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4992
|
+
# @type RequestId: String
|
4993
|
+
|
4994
|
+
attr_accessor :Result, :RequestId
|
4995
|
+
|
4996
|
+
def initialize(result=nil, requestid=nil)
|
4997
|
+
@Result = result
|
4998
|
+
@RequestId = requestid
|
4999
|
+
end
|
5000
|
+
|
5001
|
+
def deserialize(params)
|
5002
|
+
unless params['Result'].nil?
|
5003
|
+
@Result = GatewayServices.new
|
5004
|
+
@Result.deserialize(params['Result'])
|
5005
|
+
end
|
5006
|
+
@RequestId = params['RequestId']
|
5007
|
+
end
|
5008
|
+
end
|
5009
|
+
|
4944
5010
|
# DescribeCloudNativeAPIGatewayServices请求参数结构体
|
4945
5011
|
class DescribeCloudNativeAPIGatewayServicesRequest < TencentCloud::Common::AbstractModel
|
4946
5012
|
# @param GatewayId: 网关ID
|
@@ -6997,8 +7063,8 @@ module TencentCloud
|
|
6997
7063
|
|
6998
7064
|
attr_accessor :GatewayId, :Type, :TypeList
|
6999
7065
|
extend Gem::Deprecate
|
7000
|
-
deprecate :Type, :none, 2025,
|
7001
|
-
deprecate :Type=, :none, 2025,
|
7066
|
+
deprecate :Type, :none, 2025, 8
|
7067
|
+
deprecate :Type=, :none, 2025, 8
|
7002
7068
|
|
7003
7069
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
7004
7070
|
@GatewayId = gatewayid
|
@@ -7442,6 +7508,33 @@ module TencentCloud
|
|
7442
7508
|
end
|
7443
7509
|
end
|
7444
7510
|
|
7511
|
+
# 轻量查询网关服务列表出参
|
7512
|
+
class GatewayServices < TencentCloud::Common::AbstractModel
|
7513
|
+
# @param ServiceList: 服务列表
|
7514
|
+
# @type ServiceList: Array
|
7515
|
+
# @param TotalCount: 结果总数
|
7516
|
+
# @type TotalCount: Integer
|
7517
|
+
|
7518
|
+
attr_accessor :ServiceList, :TotalCount
|
7519
|
+
|
7520
|
+
def initialize(servicelist=nil, totalcount=nil)
|
7521
|
+
@ServiceList = servicelist
|
7522
|
+
@TotalCount = totalcount
|
7523
|
+
end
|
7524
|
+
|
7525
|
+
def deserialize(params)
|
7526
|
+
unless params['ServiceList'].nil?
|
7527
|
+
@ServiceList = []
|
7528
|
+
params['ServiceList'].each do |i|
|
7529
|
+
kongservicelightpreview_tmp = KongServiceLightPreview.new
|
7530
|
+
kongservicelightpreview_tmp.deserialize(i)
|
7531
|
+
@ServiceList << kongservicelightpreview_tmp
|
7532
|
+
end
|
7533
|
+
end
|
7534
|
+
@TotalCount = params['TotalCount']
|
7535
|
+
end
|
7536
|
+
end
|
7537
|
+
|
7445
7538
|
# 服务别名结构信息
|
7446
7539
|
class GovernanceAlias < TencentCloud::Common::AbstractModel
|
7447
7540
|
# @param Alias: 服务别名
|
@@ -8372,8 +8465,8 @@ module TencentCloud
|
|
8372
8465
|
|
8373
8466
|
attr_accessor :Total, :CertificatesList, :Pages
|
8374
8467
|
extend Gem::Deprecate
|
8375
|
-
deprecate :Pages, :none, 2025,
|
8376
|
-
deprecate :Pages=, :none, 2025,
|
8468
|
+
deprecate :Pages, :none, 2025, 8
|
8469
|
+
deprecate :Pages=, :none, 2025, 8
|
8377
8470
|
|
8378
8471
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
8379
8472
|
@Total = total
|
@@ -8514,8 +8607,8 @@ module TencentCloud
|
|
8514
8607
|
|
8515
8608
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
8516
8609
|
extend Gem::Deprecate
|
8517
|
-
deprecate :ForceHttps, :none, 2025,
|
8518
|
-
deprecate :ForceHttps=, :none, 2025,
|
8610
|
+
deprecate :ForceHttps, :none, 2025, 8
|
8611
|
+
deprecate :ForceHttps=, :none, 2025, 8
|
8519
8612
|
|
8520
8613
|
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, requestbuffering=nil, responsebuffering=nil, regexpriority=nil)
|
8521
8614
|
@ID = id
|
@@ -8628,6 +8721,58 @@ module TencentCloud
|
|
8628
8721
|
end
|
8629
8722
|
end
|
8630
8723
|
|
8724
|
+
# 云原生网关服务简洁预览信息
|
8725
|
+
class KongServiceLightPreview < TencentCloud::Common::AbstractModel
|
8726
|
+
# @param ID: 服务ID
|
8727
|
+
# @type ID: String
|
8728
|
+
# @param Name: 服务名字
|
8729
|
+
# @type Name: String
|
8730
|
+
# @param UpstreamInfo: 后端配置
|
8731
|
+
# @type UpstreamInfo: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamInfo`
|
8732
|
+
# @param UpstreamType: 后端类型
|
8733
|
+
# @type UpstreamType: String
|
8734
|
+
# @param CreatedTime: 创建时间
|
8735
|
+
# @type CreatedTime: String
|
8736
|
+
# @param Path: 请求路径
|
8737
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8738
|
+
# @type Path: String
|
8739
|
+
# @param Protocol: 后端协议
|
8740
|
+
# @type Protocol: String
|
8741
|
+
# @param Retries: 重试次数
|
8742
|
+
# @type Retries: Integer
|
8743
|
+
# @param Timeout: 后端延时,单位ms
|
8744
|
+
# @type Timeout: Integer
|
8745
|
+
|
8746
|
+
attr_accessor :ID, :Name, :UpstreamInfo, :UpstreamType, :CreatedTime, :Path, :Protocol, :Retries, :Timeout
|
8747
|
+
|
8748
|
+
def initialize(id=nil, name=nil, upstreaminfo=nil, upstreamtype=nil, createdtime=nil, path=nil, protocol=nil, retries=nil, timeout=nil)
|
8749
|
+
@ID = id
|
8750
|
+
@Name = name
|
8751
|
+
@UpstreamInfo = upstreaminfo
|
8752
|
+
@UpstreamType = upstreamtype
|
8753
|
+
@CreatedTime = createdtime
|
8754
|
+
@Path = path
|
8755
|
+
@Protocol = protocol
|
8756
|
+
@Retries = retries
|
8757
|
+
@Timeout = timeout
|
8758
|
+
end
|
8759
|
+
|
8760
|
+
def deserialize(params)
|
8761
|
+
@ID = params['ID']
|
8762
|
+
@Name = params['Name']
|
8763
|
+
unless params['UpstreamInfo'].nil?
|
8764
|
+
@UpstreamInfo = KongUpstreamInfo.new
|
8765
|
+
@UpstreamInfo.deserialize(params['UpstreamInfo'])
|
8766
|
+
end
|
8767
|
+
@UpstreamType = params['UpstreamType']
|
8768
|
+
@CreatedTime = params['CreatedTime']
|
8769
|
+
@Path = params['Path']
|
8770
|
+
@Protocol = params['Protocol']
|
8771
|
+
@Retries = params['Retries']
|
8772
|
+
@Timeout = params['Timeout']
|
8773
|
+
end
|
8774
|
+
end
|
8775
|
+
|
8631
8776
|
# 云原生网关服务预览信息
|
8632
8777
|
class KongServicePreview < TencentCloud::Common::AbstractModel
|
8633
8778
|
# @param ID: 服务ID
|
@@ -9166,10 +9311,10 @@ module TencentCloud
|
|
9166
9311
|
|
9167
9312
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
9168
9313
|
extend Gem::Deprecate
|
9169
|
-
deprecate :CronScalerConfig, :none, 2025,
|
9170
|
-
deprecate :CronScalerConfig=, :none, 2025,
|
9171
|
-
deprecate :MaxReplicas, :none, 2025,
|
9172
|
-
deprecate :MaxReplicas=, :none, 2025,
|
9314
|
+
deprecate :CronScalerConfig, :none, 2025, 8
|
9315
|
+
deprecate :CronScalerConfig=, :none, 2025, 8
|
9316
|
+
deprecate :MaxReplicas, :none, 2025, 8
|
9317
|
+
deprecate :MaxReplicas=, :none, 2025, 8
|
9173
9318
|
|
9174
9319
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
9175
9320
|
@GatewayId = gatewayid
|
@@ -9304,10 +9449,10 @@ module TencentCloud
|
|
9304
9449
|
|
9305
9450
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
9306
9451
|
extend Gem::Deprecate
|
9307
|
-
deprecate :Name, :none, 2025,
|
9308
|
-
deprecate :Name=, :none, 2025,
|
9309
|
-
deprecate :BindDomains, :none, 2025,
|
9310
|
-
deprecate :BindDomains=, :none, 2025,
|
9452
|
+
deprecate :Name, :none, 2025, 8
|
9453
|
+
deprecate :Name=, :none, 2025, 8
|
9454
|
+
deprecate :BindDomains, :none, 2025, 8
|
9455
|
+
deprecate :BindDomains=, :none, 2025, 8
|
9311
9456
|
|
9312
9457
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
9313
9458
|
@GatewayId = gatewayid
|
@@ -9501,8 +9646,8 @@ module TencentCloud
|
|
9501
9646
|
|
9502
9647
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
9503
9648
|
extend Gem::Deprecate
|
9504
|
-
deprecate :ForceHttps, :none, 2025,
|
9505
|
-
deprecate :ForceHttps=, :none, 2025,
|
9649
|
+
deprecate :ForceHttps, :none, 2025, 8
|
9650
|
+
deprecate :ForceHttps=, :none, 2025, 8
|
9506
9651
|
|
9507
9652
|
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, requestbuffering=nil, responsebuffering=nil, regexpriority=nil)
|
9508
9653
|
@GatewayId = gatewayid
|
@@ -11691,8 +11836,8 @@ module TencentCloud
|
|
11691
11836
|
|
11692
11837
|
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses, :IgnoreZeroWeightNodes, :ZeroWeightHeathCheck
|
11693
11838
|
extend Gem::Deprecate
|
11694
|
-
deprecate :IgnoreZeroWeightNodes, :none, 2025,
|
11695
|
-
deprecate :IgnoreZeroWeightNodes=, :none, 2025,
|
11839
|
+
deprecate :IgnoreZeroWeightNodes, :none, 2025, 8
|
11840
|
+
deprecate :IgnoreZeroWeightNodes=, :none, 2025, 8
|
11696
11841
|
|
11697
11842
|
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil)
|
11698
11843
|
@EnableActiveHealthCheck = enableactivehealthcheck
|
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.1122
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|