tencentcloud-sdk-tse 3.0.956 → 3.0.958
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 +398 -50
- 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: 661de1db9ac67a1718d71082284140161e6763b0
|
4
|
+
data.tar.gz: 54fec3c08bbabf04f501e12ba84832711961d92b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf0e0a3a03b6b6049e863a17401b6724d13133b95545129e35348b73e7f5ecb0c3218fbb98961eea736063be98359eb1a393601ec220a333b0463cb445187383
|
7
|
+
data.tar.gz: dc3e301356e48c4e4d7a727a8effc11ffb9710861a33b4b91e8d0ff311d5c1efb1c2223996484a7e036205b4eb8c2d4ffc4dba019d5687ce8c9ec9c38c349942
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.958
|
data/lib/v20201207/client.rb
CHANGED
@@ -485,6 +485,30 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
+
# 创建网关服务来源
|
489
|
+
|
490
|
+
# @param request: Request instance for CreateNativeGatewayServiceSource.
|
491
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateNativeGatewayServiceSourceRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateNativeGatewayServiceSourceResponse`
|
493
|
+
def CreateNativeGatewayServiceSource(request)
|
494
|
+
body = send_request('CreateNativeGatewayServiceSource', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = CreateNativeGatewayServiceSourceResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
488
512
|
# 创建或更新配置文件并发布配置
|
489
513
|
|
490
514
|
# @param request: Request instance for CreateOrUpdateConfigFileAndRelease.
|
@@ -989,6 +1013,30 @@ module TencentCloud
|
|
989
1013
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
1014
|
end
|
991
1015
|
|
1016
|
+
# 删除网关服务来源实例
|
1017
|
+
|
1018
|
+
# @param request: Request instance for DeleteNativeGatewayServiceSource.
|
1019
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteNativeGatewayServiceSourceRequest`
|
1020
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteNativeGatewayServiceSourceResponse`
|
1021
|
+
def DeleteNativeGatewayServiceSource(request)
|
1022
|
+
body = send_request('DeleteNativeGatewayServiceSource', request.serialize)
|
1023
|
+
response = JSON.parse(body)
|
1024
|
+
if response['Response'].key?('Error') == false
|
1025
|
+
model = DeleteNativeGatewayServiceSourceResponse.new
|
1026
|
+
model.deserialize(response['Response'])
|
1027
|
+
model
|
1028
|
+
else
|
1029
|
+
code = response['Response']['Error']['Code']
|
1030
|
+
message = response['Response']['Error']['Message']
|
1031
|
+
reqid = response['Response']['RequestId']
|
1032
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1033
|
+
end
|
1034
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1035
|
+
raise e
|
1036
|
+
rescue StandardError => e
|
1037
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
|
+
end
|
1039
|
+
|
992
1040
|
# 删除 WAF 防护域名
|
993
1041
|
|
994
1042
|
# @param request: Request instance for DeleteWafDomains.
|
@@ -1829,6 +1877,30 @@ module TencentCloud
|
|
1829
1877
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1830
1878
|
end
|
1831
1879
|
|
1880
|
+
# 查询网关服务来源实例列表
|
1881
|
+
|
1882
|
+
# @param request: Request instance for DescribeNativeGatewayServiceSources.
|
1883
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeNativeGatewayServiceSourcesRequest`
|
1884
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeNativeGatewayServiceSourcesResponse`
|
1885
|
+
def DescribeNativeGatewayServiceSources(request)
|
1886
|
+
body = send_request('DescribeNativeGatewayServiceSources', request.serialize)
|
1887
|
+
response = JSON.parse(body)
|
1888
|
+
if response['Response'].key?('Error') == false
|
1889
|
+
model = DescribeNativeGatewayServiceSourcesResponse.new
|
1890
|
+
model.deserialize(response['Response'])
|
1891
|
+
model
|
1892
|
+
else
|
1893
|
+
code = response['Response']['Error']['Code']
|
1894
|
+
message = response['Response']['Error']['Message']
|
1895
|
+
reqid = response['Response']['RequestId']
|
1896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1897
|
+
end
|
1898
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1899
|
+
raise e
|
1900
|
+
rescue StandardError => e
|
1901
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1902
|
+
end
|
1903
|
+
|
1832
1904
|
# 获取云原生网关服务详情
|
1833
1905
|
|
1834
1906
|
# @param request: Request instance for DescribeOneCloudNativeAPIGatewayService.
|
@@ -2453,6 +2525,30 @@ module TencentCloud
|
|
2453
2525
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2454
2526
|
end
|
2455
2527
|
|
2528
|
+
# 修改网关服务来源
|
2529
|
+
|
2530
|
+
# @param request: Request instance for ModifyNativeGatewayServiceSource.
|
2531
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::ModifyNativeGatewayServiceSourceRequest`
|
2532
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::ModifyNativeGatewayServiceSourceResponse`
|
2533
|
+
def ModifyNativeGatewayServiceSource(request)
|
2534
|
+
body = send_request('ModifyNativeGatewayServiceSource', request.serialize)
|
2535
|
+
response = JSON.parse(body)
|
2536
|
+
if response['Response'].key?('Error') == false
|
2537
|
+
model = ModifyNativeGatewayServiceSourceResponse.new
|
2538
|
+
model.deserialize(response['Response'])
|
2539
|
+
model
|
2540
|
+
else
|
2541
|
+
code = response['Response']['Error']['Code']
|
2542
|
+
message = response['Response']['Error']['Message']
|
2543
|
+
reqid = response['Response']['RequestId']
|
2544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2545
|
+
end
|
2546
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2547
|
+
raise e
|
2548
|
+
rescue StandardError => e
|
2549
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2550
|
+
end
|
2551
|
+
|
2456
2552
|
# 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
2457
2553
|
|
2458
2554
|
# @param request: Request instance for ModifyNetworkAccessStrategy.
|
data/lib/v20201207/models.rb
CHANGED
@@ -878,8 +878,8 @@ module TencentCloud
|
|
878
878
|
|
879
879
|
attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
|
880
880
|
extend Gem::Deprecate
|
881
|
-
deprecate :MaxReplicas, :none, 2024,
|
882
|
-
deprecate :MaxReplicas=, :none, 2024,
|
881
|
+
deprecate :MaxReplicas, :none, 2024, 12
|
882
|
+
deprecate :MaxReplicas=, :none, 2024, 12
|
883
883
|
|
884
884
|
def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
|
885
885
|
@StrategyId = strategyid
|
@@ -941,16 +941,16 @@ module TencentCloud
|
|
941
941
|
|
942
942
|
attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
|
943
943
|
extend Gem::Deprecate
|
944
|
-
deprecate :Enabled, :none, 2024,
|
945
|
-
deprecate :Enabled=, :none, 2024,
|
946
|
-
deprecate :CreateTime, :none, 2024,
|
947
|
-
deprecate :CreateTime=, :none, 2024,
|
948
|
-
deprecate :ModifyTime, :none, 2024,
|
949
|
-
deprecate :ModifyTime=, :none, 2024,
|
950
|
-
deprecate :StrategyId, :none, 2024,
|
951
|
-
deprecate :StrategyId=, :none, 2024,
|
952
|
-
deprecate :AutoScalerId, :none, 2024,
|
953
|
-
deprecate :AutoScalerId=, :none, 2024,
|
944
|
+
deprecate :Enabled, :none, 2024, 12
|
945
|
+
deprecate :Enabled=, :none, 2024, 12
|
946
|
+
deprecate :CreateTime, :none, 2024, 12
|
947
|
+
deprecate :CreateTime=, :none, 2024, 12
|
948
|
+
deprecate :ModifyTime, :none, 2024, 12
|
949
|
+
deprecate :ModifyTime=, :none, 2024, 12
|
950
|
+
deprecate :StrategyId, :none, 2024, 12
|
951
|
+
deprecate :StrategyId=, :none, 2024, 12
|
952
|
+
deprecate :AutoScalerId, :none, 2024, 12
|
953
|
+
deprecate :AutoScalerId=, :none, 2024, 12
|
954
954
|
|
955
955
|
def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
|
956
956
|
@MaxReplicas = maxreplicas
|
@@ -1079,14 +1079,14 @@ module TencentCloud
|
|
1079
1079
|
|
1080
1080
|
attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
|
1081
1081
|
extend Gem::Deprecate
|
1082
|
-
deprecate :Enabled, :none, 2024,
|
1083
|
-
deprecate :Enabled=, :none, 2024,
|
1084
|
-
deprecate :CreateTime, :none, 2024,
|
1085
|
-
deprecate :CreateTime=, :none, 2024,
|
1086
|
-
deprecate :ModifyTime, :none, 2024,
|
1087
|
-
deprecate :ModifyTime=, :none, 2024,
|
1088
|
-
deprecate :StrategyId, :none, 2024,
|
1089
|
-
deprecate :StrategyId=, :none, 2024,
|
1082
|
+
deprecate :Enabled, :none, 2024, 12
|
1083
|
+
deprecate :Enabled=, :none, 2024, 12
|
1084
|
+
deprecate :CreateTime, :none, 2024, 12
|
1085
|
+
deprecate :CreateTime=, :none, 2024, 12
|
1086
|
+
deprecate :ModifyTime, :none, 2024, 12
|
1087
|
+
deprecate :ModifyTime=, :none, 2024, 12
|
1088
|
+
deprecate :StrategyId, :none, 2024, 12
|
1089
|
+
deprecate :StrategyId=, :none, 2024, 12
|
1090
1090
|
|
1091
1091
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
1092
1092
|
@Enabled = enabled
|
@@ -1791,10 +1791,10 @@ module TencentCloud
|
|
1791
1791
|
|
1792
1792
|
attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
1793
1793
|
extend Gem::Deprecate
|
1794
|
-
deprecate :CronScalerConfig, :none, 2024,
|
1795
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
1796
|
-
deprecate :MaxReplicas, :none, 2024,
|
1797
|
-
deprecate :MaxReplicas=, :none, 2024,
|
1794
|
+
deprecate :CronScalerConfig, :none, 2024, 12
|
1795
|
+
deprecate :CronScalerConfig=, :none, 2024, 12
|
1796
|
+
deprecate :MaxReplicas, :none, 2024, 12
|
1797
|
+
deprecate :MaxReplicas=, :none, 2024, 12
|
1798
1798
|
|
1799
1799
|
def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
1800
1800
|
@GatewayId = gatewayid
|
@@ -1838,8 +1838,8 @@ module TencentCloud
|
|
1838
1838
|
|
1839
1839
|
attr_accessor :Result, :StrategyId, :RequestId
|
1840
1840
|
extend Gem::Deprecate
|
1841
|
-
deprecate :Result, :none, 2024,
|
1842
|
-
deprecate :Result=, :none, 2024,
|
1841
|
+
deprecate :Result, :none, 2024, 12
|
1842
|
+
deprecate :Result=, :none, 2024, 12
|
1843
1843
|
|
1844
1844
|
def initialize(result=nil, strategyid=nil, requestid=nil)
|
1845
1845
|
@Result = result
|
@@ -1914,10 +1914,10 @@ module TencentCloud
|
|
1914
1914
|
|
1915
1915
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
1916
1916
|
extend Gem::Deprecate
|
1917
|
-
deprecate :Key, :none, 2024,
|
1918
|
-
deprecate :Key=, :none, 2024,
|
1919
|
-
deprecate :Crt, :none, 2024,
|
1920
|
-
deprecate :Crt=, :none, 2024,
|
1917
|
+
deprecate :Key, :none, 2024, 12
|
1918
|
+
deprecate :Key=, :none, 2024, 12
|
1919
|
+
deprecate :Crt, :none, 2024, 12
|
1920
|
+
deprecate :Crt=, :none, 2024, 12
|
1921
1921
|
|
1922
1922
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
1923
1923
|
@GatewayId = gatewayid
|
@@ -2249,8 +2249,8 @@ module TencentCloud
|
|
2249
2249
|
|
2250
2250
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
2251
2251
|
extend Gem::Deprecate
|
2252
|
-
deprecate :ForceHttps, :none, 2024,
|
2253
|
-
deprecate :ForceHttps=, :none, 2024,
|
2252
|
+
deprecate :ForceHttps, :none, 2024, 12
|
2253
|
+
deprecate :ForceHttps=, :none, 2024, 12
|
2254
2254
|
|
2255
2255
|
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)
|
2256
2256
|
@GatewayId = gatewayid
|
@@ -3044,6 +3044,72 @@ module TencentCloud
|
|
3044
3044
|
end
|
3045
3045
|
end
|
3046
3046
|
|
3047
|
+
# CreateNativeGatewayServiceSource请求参数结构体
|
3048
|
+
class CreateNativeGatewayServiceSourceRequest < TencentCloud::Common::AbstractModel
|
3049
|
+
# @param GatewayID: 网关实例ID
|
3050
|
+
# @type GatewayID: String
|
3051
|
+
# @param SourceType: 服务来源类型,参考值:
|
3052
|
+
# - TSE-Nacos
|
3053
|
+
# - TSE-Consul
|
3054
|
+
# - TSE-PolarisMesh
|
3055
|
+
# - Customer-Nacos
|
3056
|
+
# - Customer-Consul
|
3057
|
+
# - Customer-PolarisMesh
|
3058
|
+
# - TSF
|
3059
|
+
# - TKE
|
3060
|
+
# - EKS
|
3061
|
+
# - PrivateDNS
|
3062
|
+
# - Customer-DNS
|
3063
|
+
# @type SourceType: String
|
3064
|
+
# @param SourceID: 服务来源实例ID,当SourceType的值不为PrivateDNS或Customer-DNS时,必填
|
3065
|
+
# @type SourceID: String
|
3066
|
+
# @param SourceName: 服务来源实例名称,当SourceType的值不为PrivateDNS时,必填
|
3067
|
+
# @type SourceName: String
|
3068
|
+
# @param SourceInfo: 服务来源实例额外信息
|
3069
|
+
# @type SourceInfo: :class:`Tencentcloud::Tse.v20201207.models.SourceInfo`
|
3070
|
+
|
3071
|
+
attr_accessor :GatewayID, :SourceType, :SourceID, :SourceName, :SourceInfo
|
3072
|
+
|
3073
|
+
def initialize(gatewayid=nil, sourcetype=nil, sourceid=nil, sourcename=nil, sourceinfo=nil)
|
3074
|
+
@GatewayID = gatewayid
|
3075
|
+
@SourceType = sourcetype
|
3076
|
+
@SourceID = sourceid
|
3077
|
+
@SourceName = sourcename
|
3078
|
+
@SourceInfo = sourceinfo
|
3079
|
+
end
|
3080
|
+
|
3081
|
+
def deserialize(params)
|
3082
|
+
@GatewayID = params['GatewayID']
|
3083
|
+
@SourceType = params['SourceType']
|
3084
|
+
@SourceID = params['SourceID']
|
3085
|
+
@SourceName = params['SourceName']
|
3086
|
+
unless params['SourceInfo'].nil?
|
3087
|
+
@SourceInfo = SourceInfo.new
|
3088
|
+
@SourceInfo.deserialize(params['SourceInfo'])
|
3089
|
+
end
|
3090
|
+
end
|
3091
|
+
end
|
3092
|
+
|
3093
|
+
# CreateNativeGatewayServiceSource返回参数结构体
|
3094
|
+
class CreateNativeGatewayServiceSourceResponse < TencentCloud::Common::AbstractModel
|
3095
|
+
# @param Result: 创建是否成功
|
3096
|
+
# @type Result: Boolean
|
3097
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3098
|
+
# @type RequestId: String
|
3099
|
+
|
3100
|
+
attr_accessor :Result, :RequestId
|
3101
|
+
|
3102
|
+
def initialize(result=nil, requestid=nil)
|
3103
|
+
@Result = result
|
3104
|
+
@RequestId = requestid
|
3105
|
+
end
|
3106
|
+
|
3107
|
+
def deserialize(params)
|
3108
|
+
@Result = params['Result']
|
3109
|
+
@RequestId = params['RequestId']
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
|
3047
3113
|
# CreateOrUpdateConfigFileAndRelease请求参数结构体
|
3048
3114
|
class CreateOrUpdateConfigFileAndReleaseRequest < TencentCloud::Common::AbstractModel
|
3049
3115
|
# @param InstanceId: 实例id
|
@@ -4017,6 +4083,46 @@ module TencentCloud
|
|
4017
4083
|
end
|
4018
4084
|
end
|
4019
4085
|
|
4086
|
+
# DeleteNativeGatewayServiceSource请求参数结构体
|
4087
|
+
class DeleteNativeGatewayServiceSourceRequest < TencentCloud::Common::AbstractModel
|
4088
|
+
# @param GatewayID: 网关实例 ID
|
4089
|
+
# @type GatewayID: String
|
4090
|
+
# @param SourceID: 服务来源实例 ID
|
4091
|
+
# @type SourceID: String
|
4092
|
+
|
4093
|
+
attr_accessor :GatewayID, :SourceID
|
4094
|
+
|
4095
|
+
def initialize(gatewayid=nil, sourceid=nil)
|
4096
|
+
@GatewayID = gatewayid
|
4097
|
+
@SourceID = sourceid
|
4098
|
+
end
|
4099
|
+
|
4100
|
+
def deserialize(params)
|
4101
|
+
@GatewayID = params['GatewayID']
|
4102
|
+
@SourceID = params['SourceID']
|
4103
|
+
end
|
4104
|
+
end
|
4105
|
+
|
4106
|
+
# DeleteNativeGatewayServiceSource返回参数结构体
|
4107
|
+
class DeleteNativeGatewayServiceSourceResponse < TencentCloud::Common::AbstractModel
|
4108
|
+
# @param Result: 结果
|
4109
|
+
# @type Result: Boolean
|
4110
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4111
|
+
# @type RequestId: String
|
4112
|
+
|
4113
|
+
attr_accessor :Result, :RequestId
|
4114
|
+
|
4115
|
+
def initialize(result=nil, requestid=nil)
|
4116
|
+
@Result = result
|
4117
|
+
@RequestId = requestid
|
4118
|
+
end
|
4119
|
+
|
4120
|
+
def deserialize(params)
|
4121
|
+
@Result = params['Result']
|
4122
|
+
@RequestId = params['RequestId']
|
4123
|
+
end
|
4124
|
+
end
|
4125
|
+
|
4020
4126
|
# DeleteWafDomains请求参数结构体
|
4021
4127
|
class DeleteWafDomainsRequest < TencentCloud::Common::AbstractModel
|
4022
4128
|
# @param GatewayId: 网关ID
|
@@ -6389,6 +6495,77 @@ module TencentCloud
|
|
6389
6495
|
end
|
6390
6496
|
end
|
6391
6497
|
|
6498
|
+
# DescribeNativeGatewayServiceSources请求参数结构体
|
6499
|
+
class DescribeNativeGatewayServiceSourcesRequest < TencentCloud::Common::AbstractModel
|
6500
|
+
# @param GatewayID: 网关实例ID
|
6501
|
+
# @type GatewayID: String
|
6502
|
+
# @param Limit: 单页条数,最大100
|
6503
|
+
# @type Limit: Integer
|
6504
|
+
# @param Offset: 分页偏移量
|
6505
|
+
# @type Offset: Integer
|
6506
|
+
# @param SourceName: 服务来源实例名称,模糊搜索
|
6507
|
+
# @type SourceName: String
|
6508
|
+
# @param SourceTypes: 微服务引擎类型:TSE-Nacos|TSE-Consul|TSE-PolarisMesh|Customer-Nacos|Customer-Consul|Customer-PolarisMesh
|
6509
|
+
# @type SourceTypes: Array
|
6510
|
+
# @param OrderField: 排序字段类型,当前仅支持SourceName
|
6511
|
+
# @type OrderField: String
|
6512
|
+
# @param OrderType: 排序类型,AES/DESC
|
6513
|
+
# @type OrderType: String
|
6514
|
+
|
6515
|
+
attr_accessor :GatewayID, :Limit, :Offset, :SourceName, :SourceTypes, :OrderField, :OrderType
|
6516
|
+
|
6517
|
+
def initialize(gatewayid=nil, limit=nil, offset=nil, sourcename=nil, sourcetypes=nil, orderfield=nil, ordertype=nil)
|
6518
|
+
@GatewayID = gatewayid
|
6519
|
+
@Limit = limit
|
6520
|
+
@Offset = offset
|
6521
|
+
@SourceName = sourcename
|
6522
|
+
@SourceTypes = sourcetypes
|
6523
|
+
@OrderField = orderfield
|
6524
|
+
@OrderType = ordertype
|
6525
|
+
end
|
6526
|
+
|
6527
|
+
def deserialize(params)
|
6528
|
+
@GatewayID = params['GatewayID']
|
6529
|
+
@Limit = params['Limit']
|
6530
|
+
@Offset = params['Offset']
|
6531
|
+
@SourceName = params['SourceName']
|
6532
|
+
@SourceTypes = params['SourceTypes']
|
6533
|
+
@OrderField = params['OrderField']
|
6534
|
+
@OrderType = params['OrderType']
|
6535
|
+
end
|
6536
|
+
end
|
6537
|
+
|
6538
|
+
# DescribeNativeGatewayServiceSources返回参数结构体
|
6539
|
+
class DescribeNativeGatewayServiceSourcesResponse < TencentCloud::Common::AbstractModel
|
6540
|
+
# @param Total: 总实例数
|
6541
|
+
# @type Total: Integer
|
6542
|
+
# @param List: 服务来源实例列表
|
6543
|
+
# @type List: Array
|
6544
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6545
|
+
# @type RequestId: String
|
6546
|
+
|
6547
|
+
attr_accessor :Total, :List, :RequestId
|
6548
|
+
|
6549
|
+
def initialize(total=nil, list=nil, requestid=nil)
|
6550
|
+
@Total = total
|
6551
|
+
@List = list
|
6552
|
+
@RequestId = requestid
|
6553
|
+
end
|
6554
|
+
|
6555
|
+
def deserialize(params)
|
6556
|
+
@Total = params['Total']
|
6557
|
+
unless params['List'].nil?
|
6558
|
+
@List = []
|
6559
|
+
params['List'].each do |i|
|
6560
|
+
nativegatewayservicesourceitem_tmp = NativeGatewayServiceSourceItem.new
|
6561
|
+
nativegatewayservicesourceitem_tmp.deserialize(i)
|
6562
|
+
@List << nativegatewayservicesourceitem_tmp
|
6563
|
+
end
|
6564
|
+
end
|
6565
|
+
@RequestId = params['RequestId']
|
6566
|
+
end
|
6567
|
+
end
|
6568
|
+
|
6392
6569
|
# DescribeOneCloudNativeAPIGatewayService请求参数结构体
|
6393
6570
|
class DescribeOneCloudNativeAPIGatewayServiceRequest < TencentCloud::Common::AbstractModel
|
6394
6571
|
# @param GatewayId: 网关ID
|
@@ -6880,8 +7057,8 @@ module TencentCloud
|
|
6880
7057
|
|
6881
7058
|
attr_accessor :GatewayId, :Type, :TypeList
|
6882
7059
|
extend Gem::Deprecate
|
6883
|
-
deprecate :Type, :none, 2024,
|
6884
|
-
deprecate :Type=, :none, 2024,
|
7060
|
+
deprecate :Type, :none, 2024, 12
|
7061
|
+
deprecate :Type=, :none, 2024, 12
|
6885
7062
|
|
6886
7063
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
6887
7064
|
@GatewayId = gatewayid
|
@@ -8294,8 +8471,8 @@ module TencentCloud
|
|
8294
8471
|
|
8295
8472
|
attr_accessor :Total, :CertificatesList, :Pages
|
8296
8473
|
extend Gem::Deprecate
|
8297
|
-
deprecate :Pages, :none, 2024,
|
8298
|
-
deprecate :Pages=, :none, 2024,
|
8474
|
+
deprecate :Pages, :none, 2024, 12
|
8475
|
+
deprecate :Pages=, :none, 2024, 12
|
8299
8476
|
|
8300
8477
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
8301
8478
|
@Total = total
|
@@ -8453,8 +8630,8 @@ module TencentCloud
|
|
8453
8630
|
|
8454
8631
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
8455
8632
|
extend Gem::Deprecate
|
8456
|
-
deprecate :ForceHttps, :none, 2024,
|
8457
|
-
deprecate :ForceHttps=, :none, 2024,
|
8633
|
+
deprecate :ForceHttps, :none, 2024, 12
|
8634
|
+
deprecate :ForceHttps=, :none, 2024, 12
|
8458
8635
|
|
8459
8636
|
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)
|
8460
8637
|
@ID = id
|
@@ -9163,10 +9340,10 @@ module TencentCloud
|
|
9163
9340
|
|
9164
9341
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
9165
9342
|
extend Gem::Deprecate
|
9166
|
-
deprecate :CronScalerConfig, :none, 2024,
|
9167
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
9168
|
-
deprecate :MaxReplicas, :none, 2024,
|
9169
|
-
deprecate :MaxReplicas=, :none, 2024,
|
9343
|
+
deprecate :CronScalerConfig, :none, 2024, 12
|
9344
|
+
deprecate :CronScalerConfig=, :none, 2024, 12
|
9345
|
+
deprecate :MaxReplicas, :none, 2024, 12
|
9346
|
+
deprecate :MaxReplicas=, :none, 2024, 12
|
9170
9347
|
|
9171
9348
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
9172
9349
|
@GatewayId = gatewayid
|
@@ -9290,10 +9467,10 @@ module TencentCloud
|
|
9290
9467
|
|
9291
9468
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
9292
9469
|
extend Gem::Deprecate
|
9293
|
-
deprecate :Name, :none, 2024,
|
9294
|
-
deprecate :Name=, :none, 2024,
|
9295
|
-
deprecate :BindDomains, :none, 2024,
|
9296
|
-
deprecate :BindDomains=, :none, 2024,
|
9470
|
+
deprecate :Name, :none, 2024, 12
|
9471
|
+
deprecate :Name=, :none, 2024, 12
|
9472
|
+
deprecate :BindDomains, :none, 2024, 12
|
9473
|
+
deprecate :BindDomains=, :none, 2024, 12
|
9297
9474
|
|
9298
9475
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
9299
9476
|
@GatewayId = gatewayid
|
@@ -9477,8 +9654,8 @@ module TencentCloud
|
|
9477
9654
|
|
9478
9655
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
9479
9656
|
extend Gem::Deprecate
|
9480
|
-
deprecate :ForceHttps, :none, 2024,
|
9481
|
-
deprecate :ForceHttps=, :none, 2024,
|
9657
|
+
deprecate :ForceHttps, :none, 2024, 12
|
9658
|
+
deprecate :ForceHttps=, :none, 2024, 12
|
9482
9659
|
|
9483
9660
|
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)
|
9484
9661
|
@GatewayId = gatewayid
|
@@ -10035,6 +10212,53 @@ module TencentCloud
|
|
10035
10212
|
end
|
10036
10213
|
end
|
10037
10214
|
|
10215
|
+
# ModifyNativeGatewayServiceSource请求参数结构体
|
10216
|
+
class ModifyNativeGatewayServiceSourceRequest < TencentCloud::Common::AbstractModel
|
10217
|
+
# @param GatewayID: 网关实例ID
|
10218
|
+
# @type GatewayID: String
|
10219
|
+
# @param SourceID: 服务来源实例ID
|
10220
|
+
# @type SourceID: String
|
10221
|
+
# @param SourceName: 服务来源名称
|
10222
|
+
# @type SourceName: String
|
10223
|
+
# @param SourceInfo: 服务来源实例额外信息
|
10224
|
+
# @type SourceInfo: :class:`Tencentcloud::Tse.v20201207.models.SourceInfo`
|
10225
|
+
|
10226
|
+
attr_accessor :GatewayID, :SourceID, :SourceName, :SourceInfo
|
10227
|
+
|
10228
|
+
def initialize(gatewayid=nil, sourceid=nil, sourcename=nil, sourceinfo=nil)
|
10229
|
+
@GatewayID = gatewayid
|
10230
|
+
@SourceID = sourceid
|
10231
|
+
@SourceName = sourcename
|
10232
|
+
@SourceInfo = sourceinfo
|
10233
|
+
end
|
10234
|
+
|
10235
|
+
def deserialize(params)
|
10236
|
+
@GatewayID = params['GatewayID']
|
10237
|
+
@SourceID = params['SourceID']
|
10238
|
+
@SourceName = params['SourceName']
|
10239
|
+
unless params['SourceInfo'].nil?
|
10240
|
+
@SourceInfo = SourceInfo.new
|
10241
|
+
@SourceInfo.deserialize(params['SourceInfo'])
|
10242
|
+
end
|
10243
|
+
end
|
10244
|
+
end
|
10245
|
+
|
10246
|
+
# ModifyNativeGatewayServiceSource返回参数结构体
|
10247
|
+
class ModifyNativeGatewayServiceSourceResponse < TencentCloud::Common::AbstractModel
|
10248
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10249
|
+
# @type RequestId: String
|
10250
|
+
|
10251
|
+
attr_accessor :RequestId
|
10252
|
+
|
10253
|
+
def initialize(requestid=nil)
|
10254
|
+
@RequestId = requestid
|
10255
|
+
end
|
10256
|
+
|
10257
|
+
def deserialize(params)
|
10258
|
+
@RequestId = params['RequestId']
|
10259
|
+
end
|
10260
|
+
end
|
10261
|
+
|
10038
10262
|
# ModifyNetworkAccessStrategy请求参数结构体
|
10039
10263
|
class ModifyNetworkAccessStrategyRequest < TencentCloud::Common::AbstractModel
|
10040
10264
|
# @param GatewayId: 云原生API网关实例ID。
|
@@ -10362,6 +10586,49 @@ module TencentCloud
|
|
10362
10586
|
end
|
10363
10587
|
end
|
10364
10588
|
|
10589
|
+
# 网关数据来源单个描述
|
10590
|
+
class NativeGatewayServiceSourceItem < TencentCloud::Common::AbstractModel
|
10591
|
+
# @param GatewayID: 网关实例ID
|
10592
|
+
# @type GatewayID: String
|
10593
|
+
# @param SourceID: 服务来源ID
|
10594
|
+
# @type SourceID: String
|
10595
|
+
# @param SourceName: 服务来源名称
|
10596
|
+
# @type SourceName: String
|
10597
|
+
# @param SourceType: 服务来源类型
|
10598
|
+
# @type SourceType: String
|
10599
|
+
# @param SourceInfo: 服务来源额外信息
|
10600
|
+
# @type SourceInfo: :class:`Tencentcloud::Tse.v20201207.models.SourceInfo`
|
10601
|
+
# @param CreateTime: 创建时间
|
10602
|
+
# @type CreateTime: String
|
10603
|
+
# @param ModifyTime: 修改时间
|
10604
|
+
# @type ModifyTime: String
|
10605
|
+
|
10606
|
+
attr_accessor :GatewayID, :SourceID, :SourceName, :SourceType, :SourceInfo, :CreateTime, :ModifyTime
|
10607
|
+
|
10608
|
+
def initialize(gatewayid=nil, sourceid=nil, sourcename=nil, sourcetype=nil, sourceinfo=nil, createtime=nil, modifytime=nil)
|
10609
|
+
@GatewayID = gatewayid
|
10610
|
+
@SourceID = sourceid
|
10611
|
+
@SourceName = sourcename
|
10612
|
+
@SourceType = sourcetype
|
10613
|
+
@SourceInfo = sourceinfo
|
10614
|
+
@CreateTime = createtime
|
10615
|
+
@ModifyTime = modifytime
|
10616
|
+
end
|
10617
|
+
|
10618
|
+
def deserialize(params)
|
10619
|
+
@GatewayID = params['GatewayID']
|
10620
|
+
@SourceID = params['SourceID']
|
10621
|
+
@SourceName = params['SourceName']
|
10622
|
+
@SourceType = params['SourceType']
|
10623
|
+
unless params['SourceInfo'].nil?
|
10624
|
+
@SourceInfo = SourceInfo.new
|
10625
|
+
@SourceInfo.deserialize(params['SourceInfo'])
|
10626
|
+
end
|
10627
|
+
@CreateTime = params['CreateTime']
|
10628
|
+
@ModifyTime = params['ModifyTime']
|
10629
|
+
end
|
10630
|
+
end
|
10631
|
+
|
10365
10632
|
# 网络访问策略
|
10366
10633
|
class NetworkAccessControl < TencentCloud::Common::AbstractModel
|
10367
10634
|
# @param Mode: 访问模式:Whitelist|Blacklist
|
@@ -11189,6 +11456,87 @@ module TencentCloud
|
|
11189
11456
|
end
|
11190
11457
|
end
|
11191
11458
|
|
11459
|
+
# 服务来源
|
11460
|
+
class SourceInfo < TencentCloud::Common::AbstractModel
|
11461
|
+
# @param Addresses: 微服务引擎接入IP地址信息
|
11462
|
+
# @type Addresses: Array
|
11463
|
+
# @param VpcInfo: 微服务引擎VPC信息
|
11464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11465
|
+
# @type VpcInfo: :class:`Tencentcloud::Tse.v20201207.models.SourceInstanceVpcInfo`
|
11466
|
+
# @param Auth: 微服务引擎鉴权信息
|
11467
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11468
|
+
# @type Auth: :class:`Tencentcloud::Tse.v20201207.models.SourceInstanceAuth`
|
11469
|
+
|
11470
|
+
attr_accessor :Addresses, :VpcInfo, :Auth
|
11471
|
+
|
11472
|
+
def initialize(addresses=nil, vpcinfo=nil, auth=nil)
|
11473
|
+
@Addresses = addresses
|
11474
|
+
@VpcInfo = vpcinfo
|
11475
|
+
@Auth = auth
|
11476
|
+
end
|
11477
|
+
|
11478
|
+
def deserialize(params)
|
11479
|
+
@Addresses = params['Addresses']
|
11480
|
+
unless params['VpcInfo'].nil?
|
11481
|
+
@VpcInfo = SourceInstanceVpcInfo.new
|
11482
|
+
@VpcInfo.deserialize(params['VpcInfo'])
|
11483
|
+
end
|
11484
|
+
unless params['Auth'].nil?
|
11485
|
+
@Auth = SourceInstanceAuth.new
|
11486
|
+
@Auth.deserialize(params['Auth'])
|
11487
|
+
end
|
11488
|
+
end
|
11489
|
+
end
|
11490
|
+
|
11491
|
+
# 实例鉴权信息
|
11492
|
+
class SourceInstanceAuth < TencentCloud::Common::AbstractModel
|
11493
|
+
# @param Username: 用户名
|
11494
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11495
|
+
# @type Username: String
|
11496
|
+
# @param Password: 账户密码
|
11497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11498
|
+
# @type Password: String
|
11499
|
+
# @param AccessToken: 访问凭据 token
|
11500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11501
|
+
# @type AccessToken: String
|
11502
|
+
|
11503
|
+
attr_accessor :Username, :Password, :AccessToken
|
11504
|
+
|
11505
|
+
def initialize(username=nil, password=nil, accesstoken=nil)
|
11506
|
+
@Username = username
|
11507
|
+
@Password = password
|
11508
|
+
@AccessToken = accesstoken
|
11509
|
+
end
|
11510
|
+
|
11511
|
+
def deserialize(params)
|
11512
|
+
@Username = params['Username']
|
11513
|
+
@Password = params['Password']
|
11514
|
+
@AccessToken = params['AccessToken']
|
11515
|
+
end
|
11516
|
+
end
|
11517
|
+
|
11518
|
+
# 微服务引擎实例的VPC信息
|
11519
|
+
class SourceInstanceVpcInfo < TencentCloud::Common::AbstractModel
|
11520
|
+
# @param VpcID: 微服务引擎VPC信息
|
11521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11522
|
+
# @type VpcID: String
|
11523
|
+
# @param SubnetID: 微服务引擎子网信息
|
11524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11525
|
+
# @type SubnetID: String
|
11526
|
+
|
11527
|
+
attr_accessor :VpcID, :SubnetID
|
11528
|
+
|
11529
|
+
def initialize(vpcid=nil, subnetid=nil)
|
11530
|
+
@VpcID = vpcid
|
11531
|
+
@SubnetID = subnetid
|
11532
|
+
end
|
11533
|
+
|
11534
|
+
def deserialize(params)
|
11535
|
+
@VpcID = params['VpcID']
|
11536
|
+
@SubnetID = params['SubnetID']
|
11537
|
+
end
|
11538
|
+
end
|
11539
|
+
|
11192
11540
|
# 存储的额外选项
|
11193
11541
|
class StorageOption < TencentCloud::Common::AbstractModel
|
11194
11542
|
# @param Name: 存储对象,分为snap和txn两种
|
@@ -11558,8 +11906,8 @@ module TencentCloud
|
|
11558
11906
|
|
11559
11907
|
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses, :IgnoreZeroWeightNodes, :ZeroWeightHeathCheck
|
11560
11908
|
extend Gem::Deprecate
|
11561
|
-
deprecate :IgnoreZeroWeightNodes, :none, 2024,
|
11562
|
-
deprecate :IgnoreZeroWeightNodes=, :none, 2024,
|
11909
|
+
deprecate :IgnoreZeroWeightNodes, :none, 2024, 12
|
11910
|
+
deprecate :IgnoreZeroWeightNodes=, :none, 2024, 12
|
11563
11911
|
|
11564
11912
|
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil)
|
11565
11913
|
@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.958
|
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-12-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|