tencentcloud-sdk-tse 3.0.702 → 3.0.704
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201207/client.rb +96 -0
- data/lib/v20201207/models.rb +385 -32
- 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: f2fc9eb9bb10d70c49e8518ecfcc856a0d1a250a
|
4
|
+
data.tar.gz: 437c9077209ff5507389544d8f5c8753d8cf7437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b0d46fa70363c3a7e4afd6a4bc2eab618d419a26ddbb63d828fcdf6825c1b566ec63ff45ab381b0d5fdec2681bf4fb7c38b745e3416806e533cfc9958c1b5f7
|
7
|
+
data.tar.gz: f0ce482cb1a2ed722ff4948c94600ec9b2bc1418b9dfe6d84b851b7a9b8ec20d983768c0754a2cca52e61d2f71ecac7e9c9c3cff974c870e934a9aeba5b3cddb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.704
|
data/lib/v20201207/client.rb
CHANGED
@@ -725,6 +725,30 @@ module TencentCloud
|
|
725
725
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
726
|
end
|
727
727
|
|
728
|
+
# 获取云原生网关服务详情下的Upstream列表
|
729
|
+
|
730
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayUpstream.
|
731
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamRequest`
|
732
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamResponse`
|
733
|
+
def DescribeCloudNativeAPIGatewayUpstream(request)
|
734
|
+
body = send_request('DescribeCloudNativeAPIGatewayUpstream', request.serialize)
|
735
|
+
response = JSON.parse(body)
|
736
|
+
if response['Response'].key?('Error') == false
|
737
|
+
model = DescribeCloudNativeAPIGatewayUpstreamResponse.new
|
738
|
+
model.deserialize(response['Response'])
|
739
|
+
model
|
740
|
+
else
|
741
|
+
code = response['Response']['Error']['Code']
|
742
|
+
message = response['Response']['Error']['Message']
|
743
|
+
reqid = response['Response']['RequestId']
|
744
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
+
end
|
746
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
+
raise e
|
748
|
+
rescue StandardError => e
|
749
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
+
end
|
751
|
+
|
728
752
|
# 获取云原生API网关实例列表
|
729
753
|
|
730
754
|
# @param request: Request instance for DescribeCloudNativeAPIGateways.
|
@@ -893,6 +917,30 @@ module TencentCloud
|
|
893
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
918
|
end
|
895
919
|
|
920
|
+
# 获取云原生网关服务健康检查配置
|
921
|
+
|
922
|
+
# @param request: Request instance for DescribeUpstreamHealthCheckConfig.
|
923
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeUpstreamHealthCheckConfigRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeUpstreamHealthCheckConfigResponse`
|
925
|
+
def DescribeUpstreamHealthCheckConfig(request)
|
926
|
+
body = send_request('DescribeUpstreamHealthCheckConfig', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DescribeUpstreamHealthCheckConfigResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
896
944
|
# 查询Zookeeper类型注册引擎实例副本信息
|
897
945
|
|
898
946
|
# @param request: Request instance for DescribeZookeeperReplicas.
|
@@ -1133,6 +1181,30 @@ module TencentCloud
|
|
1133
1181
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
1182
|
end
|
1135
1183
|
|
1184
|
+
# 修改云原生网关上游实例节点健康状态
|
1185
|
+
|
1186
|
+
# @param request: Request instance for ModifyUpstreamNodeStatus.
|
1187
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyUpstreamNodeStatusRequest`
|
1188
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyUpstreamNodeStatusResponse`
|
1189
|
+
def ModifyUpstreamNodeStatus(request)
|
1190
|
+
body = send_request('ModifyUpstreamNodeStatus', request.serialize)
|
1191
|
+
response = JSON.parse(body)
|
1192
|
+
if response['Response'].key?('Error') == false
|
1193
|
+
model = ModifyUpstreamNodeStatusResponse.new
|
1194
|
+
model.deserialize(response['Response'])
|
1195
|
+
model
|
1196
|
+
else
|
1197
|
+
code = response['Response']['Error']['Code']
|
1198
|
+
message = response['Response']['Error']['Message']
|
1199
|
+
reqid = response['Response']['RequestId']
|
1200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
+
end
|
1202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
+
raise e
|
1204
|
+
rescue StandardError => e
|
1205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
+
end
|
1207
|
+
|
1136
1208
|
# 修改云原生网关证书信息
|
1137
1209
|
|
1138
1210
|
# @param request: Request instance for UpdateCloudNativeAPIGatewayCertificateInfo.
|
@@ -1205,6 +1277,30 @@ module TencentCloud
|
|
1205
1277
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
1278
|
end
|
1207
1279
|
|
1280
|
+
# 更新云原生网关健康检查配置
|
1281
|
+
|
1282
|
+
# @param request: Request instance for UpdateUpstreamHealthCheckConfig.
|
1283
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::UpdateUpstreamHealthCheckConfigRequest`
|
1284
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::UpdateUpstreamHealthCheckConfigResponse`
|
1285
|
+
def UpdateUpstreamHealthCheckConfig(request)
|
1286
|
+
body = send_request('UpdateUpstreamHealthCheckConfig', request.serialize)
|
1287
|
+
response = JSON.parse(body)
|
1288
|
+
if response['Response'].key?('Error') == false
|
1289
|
+
model = UpdateUpstreamHealthCheckConfigResponse.new
|
1290
|
+
model.deserialize(response['Response'])
|
1291
|
+
model
|
1292
|
+
else
|
1293
|
+
code = response['Response']['Error']['Code']
|
1294
|
+
message = response['Response']['Error']['Message']
|
1295
|
+
reqid = response['Response']['RequestId']
|
1296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1297
|
+
end
|
1298
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1299
|
+
raise e
|
1300
|
+
rescue StandardError => e
|
1301
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
|
+
end
|
1303
|
+
|
1208
1304
|
# 更新网关上游实例列表,仅支持IPList服务类型
|
1209
1305
|
|
1210
1306
|
# @param request: Request instance for UpdateUpstreamTargets.
|
data/lib/v20201207/models.rb
CHANGED
@@ -695,8 +695,8 @@ module TencentCloud
|
|
695
695
|
|
696
696
|
attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
|
697
697
|
extend Gem::Deprecate
|
698
|
-
deprecate :MaxReplicas, :none, 2023,
|
699
|
-
deprecate :MaxReplicas=, :none, 2023,
|
698
|
+
deprecate :MaxReplicas, :none, 2023, 11
|
699
|
+
deprecate :MaxReplicas=, :none, 2023, 11
|
700
700
|
|
701
701
|
def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
|
702
702
|
@StrategyId = strategyid
|
@@ -758,14 +758,14 @@ module TencentCloud
|
|
758
758
|
|
759
759
|
attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
|
760
760
|
extend Gem::Deprecate
|
761
|
-
deprecate :CreateTime, :none, 2023,
|
762
|
-
deprecate :CreateTime=, :none, 2023,
|
763
|
-
deprecate :ModifyTime, :none, 2023,
|
764
|
-
deprecate :ModifyTime=, :none, 2023,
|
765
|
-
deprecate :StrategyId, :none, 2023,
|
766
|
-
deprecate :StrategyId=, :none, 2023,
|
767
|
-
deprecate :AutoScalerId, :none, 2023,
|
768
|
-
deprecate :AutoScalerId=, :none, 2023,
|
761
|
+
deprecate :CreateTime, :none, 2023, 11
|
762
|
+
deprecate :CreateTime=, :none, 2023, 11
|
763
|
+
deprecate :ModifyTime, :none, 2023, 11
|
764
|
+
deprecate :ModifyTime=, :none, 2023, 11
|
765
|
+
deprecate :StrategyId, :none, 2023, 11
|
766
|
+
deprecate :StrategyId=, :none, 2023, 11
|
767
|
+
deprecate :AutoScalerId, :none, 2023, 11
|
768
|
+
deprecate :AutoScalerId=, :none, 2023, 11
|
769
769
|
|
770
770
|
def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
|
771
771
|
@MaxReplicas = maxreplicas
|
@@ -852,12 +852,12 @@ module TencentCloud
|
|
852
852
|
|
853
853
|
attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
|
854
854
|
extend Gem::Deprecate
|
855
|
-
deprecate :CreateTime, :none, 2023,
|
856
|
-
deprecate :CreateTime=, :none, 2023,
|
857
|
-
deprecate :ModifyTime, :none, 2023,
|
858
|
-
deprecate :ModifyTime=, :none, 2023,
|
859
|
-
deprecate :StrategyId, :none, 2023,
|
860
|
-
deprecate :StrategyId=, :none, 2023,
|
855
|
+
deprecate :CreateTime, :none, 2023, 11
|
856
|
+
deprecate :CreateTime=, :none, 2023, 11
|
857
|
+
deprecate :ModifyTime, :none, 2023, 11
|
858
|
+
deprecate :ModifyTime=, :none, 2023, 11
|
859
|
+
deprecate :StrategyId, :none, 2023, 11
|
860
|
+
deprecate :StrategyId=, :none, 2023, 11
|
861
861
|
|
862
862
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
863
863
|
@Enabled = enabled
|
@@ -997,10 +997,10 @@ module TencentCloud
|
|
997
997
|
|
998
998
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
999
999
|
extend Gem::Deprecate
|
1000
|
-
deprecate :Key, :none, 2023,
|
1001
|
-
deprecate :Key=, :none, 2023,
|
1002
|
-
deprecate :Crt, :none, 2023,
|
1003
|
-
deprecate :Crt=, :none, 2023,
|
1000
|
+
deprecate :Key, :none, 2023, 11
|
1001
|
+
deprecate :Key=, :none, 2023, 11
|
1002
|
+
deprecate :Crt, :none, 2023, 11
|
1003
|
+
deprecate :Crt=, :none, 2023, 11
|
1004
1004
|
|
1005
1005
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
1006
1006
|
@GatewayId = gatewayid
|
@@ -1277,8 +1277,8 @@ module TencentCloud
|
|
1277
1277
|
|
1278
1278
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
1279
1279
|
extend Gem::Deprecate
|
1280
|
-
deprecate :ForceHttps, :none, 2023,
|
1281
|
-
deprecate :ForceHttps=, :none, 2023,
|
1280
|
+
deprecate :ForceHttps, :none, 2023, 11
|
1281
|
+
deprecate :ForceHttps=, :none, 2023, 11
|
1282
1282
|
|
1283
1283
|
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)
|
1284
1284
|
@GatewayId = gatewayid
|
@@ -2897,6 +2897,49 @@ module TencentCloud
|
|
2897
2897
|
end
|
2898
2898
|
end
|
2899
2899
|
|
2900
|
+
# DescribeCloudNativeAPIGatewayUpstream请求参数结构体
|
2901
|
+
class DescribeCloudNativeAPIGatewayUpstreamRequest < TencentCloud::Common::AbstractModel
|
2902
|
+
# @param GatewayId: 网关ID
|
2903
|
+
# @type GatewayId: String
|
2904
|
+
# @param ServiceName: 服务名字
|
2905
|
+
# @type ServiceName: String
|
2906
|
+
|
2907
|
+
attr_accessor :GatewayId, :ServiceName
|
2908
|
+
|
2909
|
+
def initialize(gatewayid=nil, servicename=nil)
|
2910
|
+
@GatewayId = gatewayid
|
2911
|
+
@ServiceName = servicename
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
def deserialize(params)
|
2915
|
+
@GatewayId = params['GatewayId']
|
2916
|
+
@ServiceName = params['ServiceName']
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# DescribeCloudNativeAPIGatewayUpstream返回参数结构体
|
2921
|
+
class DescribeCloudNativeAPIGatewayUpstreamResponse < TencentCloud::Common::AbstractModel
|
2922
|
+
# @param Result: 无
|
2923
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongUpstreamList`
|
2924
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2925
|
+
# @type RequestId: String
|
2926
|
+
|
2927
|
+
attr_accessor :Result, :RequestId
|
2928
|
+
|
2929
|
+
def initialize(result=nil, requestid=nil)
|
2930
|
+
@Result = result
|
2931
|
+
@RequestId = requestid
|
2932
|
+
end
|
2933
|
+
|
2934
|
+
def deserialize(params)
|
2935
|
+
unless params['Result'].nil?
|
2936
|
+
@Result = KongUpstreamList.new
|
2937
|
+
@Result.deserialize(params['Result'])
|
2938
|
+
end
|
2939
|
+
@RequestId = params['RequestId']
|
2940
|
+
end
|
2941
|
+
end
|
2942
|
+
|
2900
2943
|
# DescribeCloudNativeAPIGateways请求参数结构体
|
2901
2944
|
class DescribeCloudNativeAPIGatewaysRequest < TencentCloud::Common::AbstractModel
|
2902
2945
|
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
@@ -3447,6 +3490,50 @@ module TencentCloud
|
|
3447
3490
|
end
|
3448
3491
|
end
|
3449
3492
|
|
3493
|
+
# DescribeUpstreamHealthCheckConfig请求参数结构体
|
3494
|
+
class DescribeUpstreamHealthCheckConfigRequest < TencentCloud::Common::AbstractModel
|
3495
|
+
# @param GatewayId: 网关ID
|
3496
|
+
# @type GatewayId: String
|
3497
|
+
# @param Name: 网关服务名称
|
3498
|
+
# @type Name: String
|
3499
|
+
|
3500
|
+
attr_accessor :GatewayId, :Name
|
3501
|
+
|
3502
|
+
def initialize(gatewayid=nil, name=nil)
|
3503
|
+
@GatewayId = gatewayid
|
3504
|
+
@Name = name
|
3505
|
+
end
|
3506
|
+
|
3507
|
+
def deserialize(params)
|
3508
|
+
@GatewayId = params['GatewayId']
|
3509
|
+
@Name = params['Name']
|
3510
|
+
end
|
3511
|
+
end
|
3512
|
+
|
3513
|
+
# DescribeUpstreamHealthCheckConfig返回参数结构体
|
3514
|
+
class DescribeUpstreamHealthCheckConfigResponse < TencentCloud::Common::AbstractModel
|
3515
|
+
# @param Result: 健康检查配置
|
3516
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3517
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.UpstreamHealthCheckConfig`
|
3518
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3519
|
+
# @type RequestId: String
|
3520
|
+
|
3521
|
+
attr_accessor :Result, :RequestId
|
3522
|
+
|
3523
|
+
def initialize(result=nil, requestid=nil)
|
3524
|
+
@Result = result
|
3525
|
+
@RequestId = requestid
|
3526
|
+
end
|
3527
|
+
|
3528
|
+
def deserialize(params)
|
3529
|
+
unless params['Result'].nil?
|
3530
|
+
@Result = UpstreamHealthCheckConfig.new
|
3531
|
+
@Result.deserialize(params['Result'])
|
3532
|
+
end
|
3533
|
+
@RequestId = params['RequestId']
|
3534
|
+
end
|
3535
|
+
end
|
3536
|
+
|
3450
3537
|
# DescribeZookeeperReplicas请求参数结构体
|
3451
3538
|
class DescribeZookeeperReplicasRequest < TencentCloud::Common::AbstractModel
|
3452
3539
|
# @param InstanceId: 注册引擎实例ID
|
@@ -3960,6 +4047,33 @@ module TencentCloud
|
|
3960
4047
|
end
|
3961
4048
|
end
|
3962
4049
|
|
4050
|
+
# Kong网关主动健康检查配置
|
4051
|
+
class KongActiveHealthCheck < TencentCloud::Common::AbstractModel
|
4052
|
+
# @param HealthyInterval: 主动健康检查健康探测间隔,单位:秒,0表示不开启
|
4053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4054
|
+
# @type HealthyInterval: Integer
|
4055
|
+
# @param UnHealthyInterval: 主动健康检查异常探测间隔,单位:秒,0表示不开启
|
4056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4057
|
+
# @type UnHealthyInterval: Integer
|
4058
|
+
# @param HttpPath: 在 GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。
|
4059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4060
|
+
# @type HttpPath: String
|
4061
|
+
|
4062
|
+
attr_accessor :HealthyInterval, :UnHealthyInterval, :HttpPath
|
4063
|
+
|
4064
|
+
def initialize(healthyinterval=nil, unhealthyinterval=nil, httppath=nil)
|
4065
|
+
@HealthyInterval = healthyinterval
|
4066
|
+
@UnHealthyInterval = unhealthyinterval
|
4067
|
+
@HttpPath = httppath
|
4068
|
+
end
|
4069
|
+
|
4070
|
+
def deserialize(params)
|
4071
|
+
@HealthyInterval = params['HealthyInterval']
|
4072
|
+
@UnHealthyInterval = params['UnHealthyInterval']
|
4073
|
+
@HttpPath = params['HttpPath']
|
4074
|
+
end
|
4075
|
+
end
|
4076
|
+
|
3963
4077
|
# 云原生网关证书
|
3964
4078
|
class KongCertificate < TencentCloud::Common::AbstractModel
|
3965
4079
|
# @param Cert: 无
|
@@ -3994,8 +4108,8 @@ module TencentCloud
|
|
3994
4108
|
|
3995
4109
|
attr_accessor :Total, :CertificatesList, :Pages
|
3996
4110
|
extend Gem::Deprecate
|
3997
|
-
deprecate :Pages, :none, 2023,
|
3998
|
-
deprecate :Pages=, :none, 2023,
|
4111
|
+
deprecate :Pages, :none, 2023, 11
|
4112
|
+
deprecate :Pages=, :none, 2023, 11
|
3999
4113
|
|
4000
4114
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
4001
4115
|
@Total = total
|
@@ -4086,6 +4200,23 @@ module TencentCloud
|
|
4086
4200
|
end
|
4087
4201
|
end
|
4088
4202
|
|
4203
|
+
# Kong网关被动健康检查配置
|
4204
|
+
class KongPassiveHealthCheck < TencentCloud::Common::AbstractModel
|
4205
|
+
# @param Type: 后端target协议类型,被动健康检查支持http和tcp,主动健康检查支持http
|
4206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4207
|
+
# @type Type: String
|
4208
|
+
|
4209
|
+
attr_accessor :Type
|
4210
|
+
|
4211
|
+
def initialize(type=nil)
|
4212
|
+
@Type = type
|
4213
|
+
end
|
4214
|
+
|
4215
|
+
def deserialize(params)
|
4216
|
+
@Type = params['Type']
|
4217
|
+
end
|
4218
|
+
end
|
4219
|
+
|
4089
4220
|
# 云原生网关路由信息
|
4090
4221
|
class KongRoutePreview < TencentCloud::Common::AbstractModel
|
4091
4222
|
# @param ID: 服务ID
|
@@ -4136,8 +4267,8 @@ module TencentCloud
|
|
4136
4267
|
|
4137
4268
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
4138
4269
|
extend Gem::Deprecate
|
4139
|
-
deprecate :ForceHttps, :none, 2023,
|
4140
|
-
deprecate :ForceHttps=, :none, 2023,
|
4270
|
+
deprecate :ForceHttps, :none, 2023, 11
|
4271
|
+
deprecate :ForceHttps=, :none, 2023, 11
|
4141
4272
|
|
4142
4273
|
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)
|
4143
4274
|
@ID = id
|
@@ -4527,6 +4658,64 @@ module TencentCloud
|
|
4527
4658
|
end
|
4528
4659
|
end
|
4529
4660
|
|
4661
|
+
# kong后端upstream列表
|
4662
|
+
class KongUpstreamList < TencentCloud::Common::AbstractModel
|
4663
|
+
# @param UpstreamList: 无
|
4664
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4665
|
+
# @type UpstreamList: Array
|
4666
|
+
|
4667
|
+
attr_accessor :UpstreamList
|
4668
|
+
|
4669
|
+
def initialize(upstreamlist=nil)
|
4670
|
+
@UpstreamList = upstreamlist
|
4671
|
+
end
|
4672
|
+
|
4673
|
+
def deserialize(params)
|
4674
|
+
unless params['UpstreamList'].nil?
|
4675
|
+
@UpstreamList = []
|
4676
|
+
params['UpstreamList'].each do |i|
|
4677
|
+
kongupstreampreview_tmp = KongUpstreamPreview.new
|
4678
|
+
kongupstreampreview_tmp.deserialize(i)
|
4679
|
+
@UpstreamList << kongupstreampreview_tmp
|
4680
|
+
end
|
4681
|
+
end
|
4682
|
+
end
|
4683
|
+
end
|
4684
|
+
|
4685
|
+
# 云原生网关Upstream信息
|
4686
|
+
class KongUpstreamPreview < TencentCloud::Common::AbstractModel
|
4687
|
+
# @param ID: 服务ID
|
4688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4689
|
+
# @type ID: String
|
4690
|
+
# @param Name: 服务名字
|
4691
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4692
|
+
# @type Name: String
|
4693
|
+
# @param Target: 后端配置
|
4694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4695
|
+
# @type Target: Array
|
4696
|
+
|
4697
|
+
attr_accessor :ID, :Name, :Target
|
4698
|
+
|
4699
|
+
def initialize(id=nil, name=nil, target=nil)
|
4700
|
+
@ID = id
|
4701
|
+
@Name = name
|
4702
|
+
@Target = target
|
4703
|
+
end
|
4704
|
+
|
4705
|
+
def deserialize(params)
|
4706
|
+
@ID = params['ID']
|
4707
|
+
@Name = params['Name']
|
4708
|
+
unless params['Target'].nil?
|
4709
|
+
@Target = []
|
4710
|
+
params['Target'].each do |i|
|
4711
|
+
kongtarget_tmp = KongTarget.new
|
4712
|
+
kongtarget_tmp.deserialize(i)
|
4713
|
+
@Target << kongtarget_tmp
|
4714
|
+
end
|
4715
|
+
end
|
4716
|
+
end
|
4717
|
+
end
|
4718
|
+
|
4530
4719
|
# 获取云原生API网关实例列表响应结果。
|
4531
4720
|
class ListCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
4532
4721
|
# @param TotalCount: 总数。
|
@@ -4644,10 +4833,10 @@ module TencentCloud
|
|
4644
4833
|
|
4645
4834
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
4646
4835
|
extend Gem::Deprecate
|
4647
|
-
deprecate :Name, :none, 2023,
|
4648
|
-
deprecate :Name=, :none, 2023,
|
4649
|
-
deprecate :BindDomains, :none, 2023,
|
4650
|
-
deprecate :BindDomains=, :none, 2023,
|
4836
|
+
deprecate :Name, :none, 2023, 11
|
4837
|
+
deprecate :Name=, :none, 2023, 11
|
4838
|
+
deprecate :BindDomains, :none, 2023, 11
|
4839
|
+
deprecate :BindDomains=, :none, 2023, 11
|
4651
4840
|
|
4652
4841
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
4653
4842
|
@GatewayId = gatewayid
|
@@ -4831,8 +5020,8 @@ module TencentCloud
|
|
4831
5020
|
|
4832
5021
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
4833
5022
|
extend Gem::Deprecate
|
4834
|
-
deprecate :ForceHttps, :none, 2023,
|
4835
|
-
deprecate :ForceHttps=, :none, 2023,
|
5023
|
+
deprecate :ForceHttps, :none, 2023, 11
|
5024
|
+
deprecate :ForceHttps=, :none, 2023, 11
|
4836
5025
|
|
4837
5026
|
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)
|
4838
5027
|
@GatewayId = gatewayid
|
@@ -5055,6 +5244,59 @@ module TencentCloud
|
|
5055
5244
|
end
|
5056
5245
|
end
|
5057
5246
|
|
5247
|
+
# ModifyUpstreamNodeStatus请求参数结构体
|
5248
|
+
class ModifyUpstreamNodeStatusRequest < TencentCloud::Common::AbstractModel
|
5249
|
+
# @param GatewayId: 网关实例ID
|
5250
|
+
# @type GatewayId: String
|
5251
|
+
# @param ServiceName: 服务名称
|
5252
|
+
# @type ServiceName: String
|
5253
|
+
# @param Host: 访问IP地址或域名
|
5254
|
+
# @type Host: String
|
5255
|
+
# @param Port: 访问端口
|
5256
|
+
# @type Port: Integer
|
5257
|
+
# @param Status: HEALTHY或UNHEALTHY
|
5258
|
+
# @type Status: String
|
5259
|
+
|
5260
|
+
attr_accessor :GatewayId, :ServiceName, :Host, :Port, :Status
|
5261
|
+
|
5262
|
+
def initialize(gatewayid=nil, servicename=nil, host=nil, port=nil, status=nil)
|
5263
|
+
@GatewayId = gatewayid
|
5264
|
+
@ServiceName = servicename
|
5265
|
+
@Host = host
|
5266
|
+
@Port = port
|
5267
|
+
@Status = status
|
5268
|
+
end
|
5269
|
+
|
5270
|
+
def deserialize(params)
|
5271
|
+
@GatewayId = params['GatewayId']
|
5272
|
+
@ServiceName = params['ServiceName']
|
5273
|
+
@Host = params['Host']
|
5274
|
+
@Port = params['Port']
|
5275
|
+
@Status = params['Status']
|
5276
|
+
end
|
5277
|
+
end
|
5278
|
+
|
5279
|
+
# ModifyUpstreamNodeStatus返回参数结构体
|
5280
|
+
class ModifyUpstreamNodeStatusResponse < TencentCloud::Common::AbstractModel
|
5281
|
+
# @param Result: 是否成功
|
5282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5283
|
+
# @type Result: Boolean
|
5284
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5285
|
+
# @type RequestId: String
|
5286
|
+
|
5287
|
+
attr_accessor :Result, :RequestId
|
5288
|
+
|
5289
|
+
def initialize(result=nil, requestid=nil)
|
5290
|
+
@Result = result
|
5291
|
+
@RequestId = requestid
|
5292
|
+
end
|
5293
|
+
|
5294
|
+
def deserialize(params)
|
5295
|
+
@Result = params['Result']
|
5296
|
+
@RequestId = params['RequestId']
|
5297
|
+
end
|
5298
|
+
end
|
5299
|
+
|
5058
5300
|
# Nacos副本信息
|
5059
5301
|
class NacosReplica < TencentCloud::Common::AbstractModel
|
5060
5302
|
# @param Name: 名称
|
@@ -5830,6 +6072,54 @@ module TencentCloud
|
|
5830
6072
|
end
|
5831
6073
|
end
|
5832
6074
|
|
6075
|
+
# UpdateUpstreamHealthCheckConfig请求参数结构体
|
6076
|
+
class UpdateUpstreamHealthCheckConfigRequest < TencentCloud::Common::AbstractModel
|
6077
|
+
# @param GatewayId: 网关ID
|
6078
|
+
# @type GatewayId: String
|
6079
|
+
# @param Name: 网关服务名称
|
6080
|
+
# @type Name: String
|
6081
|
+
# @param HealthCheckConfig: 健康检查配置
|
6082
|
+
# @type HealthCheckConfig: :class:`Tencentcloud::Tse.v20201207.models.UpstreamHealthCheckConfig`
|
6083
|
+
|
6084
|
+
attr_accessor :GatewayId, :Name, :HealthCheckConfig
|
6085
|
+
|
6086
|
+
def initialize(gatewayid=nil, name=nil, healthcheckconfig=nil)
|
6087
|
+
@GatewayId = gatewayid
|
6088
|
+
@Name = name
|
6089
|
+
@HealthCheckConfig = healthcheckconfig
|
6090
|
+
end
|
6091
|
+
|
6092
|
+
def deserialize(params)
|
6093
|
+
@GatewayId = params['GatewayId']
|
6094
|
+
@Name = params['Name']
|
6095
|
+
unless params['HealthCheckConfig'].nil?
|
6096
|
+
@HealthCheckConfig = UpstreamHealthCheckConfig.new
|
6097
|
+
@HealthCheckConfig.deserialize(params['HealthCheckConfig'])
|
6098
|
+
end
|
6099
|
+
end
|
6100
|
+
end
|
6101
|
+
|
6102
|
+
# UpdateUpstreamHealthCheckConfig返回参数结构体
|
6103
|
+
class UpdateUpstreamHealthCheckConfigResponse < TencentCloud::Common::AbstractModel
|
6104
|
+
# @param Result: 是否成功
|
6105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6106
|
+
# @type Result: Boolean
|
6107
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6108
|
+
# @type RequestId: String
|
6109
|
+
|
6110
|
+
attr_accessor :Result, :RequestId
|
6111
|
+
|
6112
|
+
def initialize(result=nil, requestid=nil)
|
6113
|
+
@Result = result
|
6114
|
+
@RequestId = requestid
|
6115
|
+
end
|
6116
|
+
|
6117
|
+
def deserialize(params)
|
6118
|
+
@Result = params['Result']
|
6119
|
+
@RequestId = params['RequestId']
|
6120
|
+
end
|
6121
|
+
end
|
6122
|
+
|
5833
6123
|
# UpdateUpstreamTargets请求参数结构体
|
5834
6124
|
class UpdateUpstreamTargetsRequest < TencentCloud::Common::AbstractModel
|
5835
6125
|
# @param GatewayId: 网关实例ID
|
@@ -5882,6 +6172,69 @@ module TencentCloud
|
|
5882
6172
|
end
|
5883
6173
|
end
|
5884
6174
|
|
6175
|
+
# 云原生网关健康检查配置
|
6176
|
+
class UpstreamHealthCheckConfig < TencentCloud::Common::AbstractModel
|
6177
|
+
# @param EnableActiveHealthCheck: 开启主动健康检查
|
6178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6179
|
+
# @type EnableActiveHealthCheck: Boolean
|
6180
|
+
# @param ActiveHealthCheck: 主动健康检查配置
|
6181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6182
|
+
# @type ActiveHealthCheck: :class:`Tencentcloud::Tse.v20201207.models.KongActiveHealthCheck`
|
6183
|
+
# @param EnablePassiveHealthCheck: 开启被动健康检查
|
6184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6185
|
+
# @type EnablePassiveHealthCheck: Boolean
|
6186
|
+
# @param PassiveHealthCheck: 被动健康检查配置
|
6187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6188
|
+
# @type PassiveHealthCheck: :class:`Tencentcloud::Tse.v20201207.models.KongPassiveHealthCheck`
|
6189
|
+
# @param Successes: 连续健康阈值,单位:次
|
6190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6191
|
+
# @type Successes: Integer
|
6192
|
+
# @param Failures: 连续异常阈值,单位:次
|
6193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6194
|
+
# @type Failures: Integer
|
6195
|
+
# @param Timeouts: 超时阈值,单位:次
|
6196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6197
|
+
# @type Timeouts: Integer
|
6198
|
+
# @param HealthyHttpStatuses: 健康HTTP状态码
|
6199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6200
|
+
# @type HealthyHttpStatuses: Array
|
6201
|
+
# @param UnhealthyHttpStatuses: 异常HTTP状态码
|
6202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6203
|
+
# @type UnhealthyHttpStatuses: Array
|
6204
|
+
|
6205
|
+
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses
|
6206
|
+
|
6207
|
+
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil)
|
6208
|
+
@EnableActiveHealthCheck = enableactivehealthcheck
|
6209
|
+
@ActiveHealthCheck = activehealthcheck
|
6210
|
+
@EnablePassiveHealthCheck = enablepassivehealthcheck
|
6211
|
+
@PassiveHealthCheck = passivehealthcheck
|
6212
|
+
@Successes = successes
|
6213
|
+
@Failures = failures
|
6214
|
+
@Timeouts = timeouts
|
6215
|
+
@HealthyHttpStatuses = healthyhttpstatuses
|
6216
|
+
@UnhealthyHttpStatuses = unhealthyhttpstatuses
|
6217
|
+
end
|
6218
|
+
|
6219
|
+
def deserialize(params)
|
6220
|
+
@EnableActiveHealthCheck = params['EnableActiveHealthCheck']
|
6221
|
+
unless params['ActiveHealthCheck'].nil?
|
6222
|
+
@ActiveHealthCheck = KongActiveHealthCheck.new
|
6223
|
+
@ActiveHealthCheck.deserialize(params['ActiveHealthCheck'])
|
6224
|
+
end
|
6225
|
+
@EnablePassiveHealthCheck = params['EnablePassiveHealthCheck']
|
6226
|
+
unless params['PassiveHealthCheck'].nil?
|
6227
|
+
@PassiveHealthCheck = KongPassiveHealthCheck.new
|
6228
|
+
@PassiveHealthCheck.deserialize(params['PassiveHealthCheck'])
|
6229
|
+
end
|
6230
|
+
@Successes = params['Successes']
|
6231
|
+
@Failures = params['Failures']
|
6232
|
+
@Timeouts = params['Timeouts']
|
6233
|
+
@HealthyHttpStatuses = params['HealthyHttpStatuses']
|
6234
|
+
@UnhealthyHttpStatuses = params['UnhealthyHttpStatuses']
|
6235
|
+
end
|
6236
|
+
end
|
6237
|
+
|
5885
6238
|
# 私有网络信息
|
5886
6239
|
class VpcInfo < TencentCloud::Common::AbstractModel
|
5887
6240
|
# @param VpcId: Vpc Id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.704
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|