tencentcloud-sdk-tse 3.0.1153 → 3.0.1168
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 +72 -0
- data/lib/v20201207/models.rb +234 -52
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2169ef8fe0e25876b29d6ff9a84393f1caacadeb
|
|
4
|
+
data.tar.gz: 289a1c9e26a7e416196a023c9a1b875c44f18962
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae77147770c5a45b64e765b13fe360b5a8348ca5c109fe7d68b692e55e177aa2822b04e9ff30247dda1b4c1557180e9873477348764e9f0f17911470273de7b0
|
|
7
|
+
data.tar.gz: fe9d128e21e08db092a80148ac4464510fa068c093e55e75a1d2c02477e3f2b63b6379913e7d21f9f7f9910245841c05367898d0327a3daa7051fc88bed01c7c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1168
|
data/lib/v20201207/client.rb
CHANGED
|
@@ -509,6 +509,30 @@ module TencentCloud
|
|
|
509
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
510
510
|
end
|
|
511
511
|
|
|
512
|
+
# 创建或编辑云原生网关访问控制
|
|
513
|
+
|
|
514
|
+
# @param request: Request instance for CreateOrModifyCloudNativeAPIGatewayIPRestriction.
|
|
515
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest`
|
|
516
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse`
|
|
517
|
+
def CreateOrModifyCloudNativeAPIGatewayIPRestriction(request)
|
|
518
|
+
body = send_request('CreateOrModifyCloudNativeAPIGatewayIPRestriction', request.serialize)
|
|
519
|
+
response = JSON.parse(body)
|
|
520
|
+
if response['Response'].key?('Error') == false
|
|
521
|
+
model = CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse.new
|
|
522
|
+
model.deserialize(response['Response'])
|
|
523
|
+
model
|
|
524
|
+
else
|
|
525
|
+
code = response['Response']['Error']['Code']
|
|
526
|
+
message = response['Response']['Error']['Message']
|
|
527
|
+
reqid = response['Response']['RequestId']
|
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
529
|
+
end
|
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
531
|
+
raise e
|
|
532
|
+
rescue StandardError => e
|
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
534
|
+
end
|
|
535
|
+
|
|
512
536
|
# 创建或更新配置文件并发布配置
|
|
513
537
|
|
|
514
538
|
# @param request: Request instance for CreateOrUpdateConfigFileAndRelease.
|
|
@@ -653,6 +677,30 @@ module TencentCloud
|
|
|
653
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
654
678
|
end
|
|
655
679
|
|
|
680
|
+
# 删除云原生网关访问控制
|
|
681
|
+
|
|
682
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayIPRestriction.
|
|
683
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayIPRestrictionRequest`
|
|
684
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayIPRestrictionResponse`
|
|
685
|
+
def DeleteCloudNativeAPIGatewayIPRestriction(request)
|
|
686
|
+
body = send_request('DeleteCloudNativeAPIGatewayIPRestriction', request.serialize)
|
|
687
|
+
response = JSON.parse(body)
|
|
688
|
+
if response['Response'].key?('Error') == false
|
|
689
|
+
model = DeleteCloudNativeAPIGatewayIPRestrictionResponse.new
|
|
690
|
+
model.deserialize(response['Response'])
|
|
691
|
+
model
|
|
692
|
+
else
|
|
693
|
+
code = response['Response']['Error']['Code']
|
|
694
|
+
message = response['Response']['Error']['Message']
|
|
695
|
+
reqid = response['Response']['RequestId']
|
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
697
|
+
end
|
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
699
|
+
raise e
|
|
700
|
+
rescue StandardError => e
|
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
702
|
+
end
|
|
703
|
+
|
|
656
704
|
# 删除公网网络配置
|
|
657
705
|
|
|
658
706
|
# @param request: Request instance for DeleteCloudNativeAPIGatewayPublicNetwork.
|
|
@@ -1253,6 +1301,30 @@ module TencentCloud
|
|
|
1253
1301
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1254
1302
|
end
|
|
1255
1303
|
|
|
1304
|
+
# 查询云原生网关访问控制
|
|
1305
|
+
|
|
1306
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayIPRestriction.
|
|
1307
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayIPRestrictionRequest`
|
|
1308
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayIPRestrictionResponse`
|
|
1309
|
+
def DescribeCloudNativeAPIGatewayIPRestriction(request)
|
|
1310
|
+
body = send_request('DescribeCloudNativeAPIGatewayIPRestriction', request.serialize)
|
|
1311
|
+
response = JSON.parse(body)
|
|
1312
|
+
if response['Response'].key?('Error') == false
|
|
1313
|
+
model = DescribeCloudNativeAPIGatewayIPRestrictionResponse.new
|
|
1314
|
+
model.deserialize(response['Response'])
|
|
1315
|
+
model
|
|
1316
|
+
else
|
|
1317
|
+
code = response['Response']['Error']['Code']
|
|
1318
|
+
message = response['Response']['Error']['Message']
|
|
1319
|
+
reqid = response['Response']['RequestId']
|
|
1320
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1321
|
+
end
|
|
1322
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1323
|
+
raise e
|
|
1324
|
+
rescue StandardError => e
|
|
1325
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1256
1328
|
# 根据公网IP查询云原生网关实例信息
|
|
1257
1329
|
|
|
1258
1330
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayInfoByIp.
|
data/lib/v20201207/models.rb
CHANGED
|
@@ -827,8 +827,8 @@ module TencentCloud
|
|
|
827
827
|
|
|
828
828
|
attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
|
|
829
829
|
extend Gem::Deprecate
|
|
830
|
-
deprecate :MaxReplicas, :none, 2025,
|
|
831
|
-
deprecate :MaxReplicas=, :none, 2025,
|
|
830
|
+
deprecate :MaxReplicas, :none, 2025, 11
|
|
831
|
+
deprecate :MaxReplicas=, :none, 2025, 11
|
|
832
832
|
|
|
833
833
|
def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
|
|
834
834
|
@StrategyId = strategyid
|
|
@@ -889,16 +889,16 @@ module TencentCloud
|
|
|
889
889
|
|
|
890
890
|
attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
|
|
891
891
|
extend Gem::Deprecate
|
|
892
|
-
deprecate :Enabled, :none, 2025,
|
|
893
|
-
deprecate :Enabled=, :none, 2025,
|
|
894
|
-
deprecate :CreateTime, :none, 2025,
|
|
895
|
-
deprecate :CreateTime=, :none, 2025,
|
|
896
|
-
deprecate :ModifyTime, :none, 2025,
|
|
897
|
-
deprecate :ModifyTime=, :none, 2025,
|
|
898
|
-
deprecate :StrategyId, :none, 2025,
|
|
899
|
-
deprecate :StrategyId=, :none, 2025,
|
|
900
|
-
deprecate :AutoScalerId, :none, 2025,
|
|
901
|
-
deprecate :AutoScalerId=, :none, 2025,
|
|
892
|
+
deprecate :Enabled, :none, 2025, 11
|
|
893
|
+
deprecate :Enabled=, :none, 2025, 11
|
|
894
|
+
deprecate :CreateTime, :none, 2025, 11
|
|
895
|
+
deprecate :CreateTime=, :none, 2025, 11
|
|
896
|
+
deprecate :ModifyTime, :none, 2025, 11
|
|
897
|
+
deprecate :ModifyTime=, :none, 2025, 11
|
|
898
|
+
deprecate :StrategyId, :none, 2025, 11
|
|
899
|
+
deprecate :StrategyId=, :none, 2025, 11
|
|
900
|
+
deprecate :AutoScalerId, :none, 2025, 11
|
|
901
|
+
deprecate :AutoScalerId=, :none, 2025, 11
|
|
902
902
|
|
|
903
903
|
def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
|
|
904
904
|
@MaxReplicas = maxreplicas
|
|
@@ -1019,14 +1019,14 @@ module TencentCloud
|
|
|
1019
1019
|
|
|
1020
1020
|
attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
|
|
1021
1021
|
extend Gem::Deprecate
|
|
1022
|
-
deprecate :Enabled, :none, 2025,
|
|
1023
|
-
deprecate :Enabled=, :none, 2025,
|
|
1024
|
-
deprecate :CreateTime, :none, 2025,
|
|
1025
|
-
deprecate :CreateTime=, :none, 2025,
|
|
1026
|
-
deprecate :ModifyTime, :none, 2025,
|
|
1027
|
-
deprecate :ModifyTime=, :none, 2025,
|
|
1028
|
-
deprecate :StrategyId, :none, 2025,
|
|
1029
|
-
deprecate :StrategyId=, :none, 2025,
|
|
1022
|
+
deprecate :Enabled, :none, 2025, 11
|
|
1023
|
+
deprecate :Enabled=, :none, 2025, 11
|
|
1024
|
+
deprecate :CreateTime, :none, 2025, 11
|
|
1025
|
+
deprecate :CreateTime=, :none, 2025, 11
|
|
1026
|
+
deprecate :ModifyTime, :none, 2025, 11
|
|
1027
|
+
deprecate :ModifyTime=, :none, 2025, 11
|
|
1028
|
+
deprecate :StrategyId, :none, 2025, 11
|
|
1029
|
+
deprecate :StrategyId=, :none, 2025, 11
|
|
1030
1030
|
|
|
1031
1031
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
|
1032
1032
|
@Enabled = enabled
|
|
@@ -1704,10 +1704,10 @@ module TencentCloud
|
|
|
1704
1704
|
|
|
1705
1705
|
attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
|
1706
1706
|
extend Gem::Deprecate
|
|
1707
|
-
deprecate :CronScalerConfig, :none, 2025,
|
|
1708
|
-
deprecate :CronScalerConfig=, :none, 2025,
|
|
1709
|
-
deprecate :MaxReplicas, :none, 2025,
|
|
1710
|
-
deprecate :MaxReplicas=, :none, 2025,
|
|
1707
|
+
deprecate :CronScalerConfig, :none, 2025, 11
|
|
1708
|
+
deprecate :CronScalerConfig=, :none, 2025, 11
|
|
1709
|
+
deprecate :MaxReplicas, :none, 2025, 11
|
|
1710
|
+
deprecate :MaxReplicas=, :none, 2025, 11
|
|
1711
1711
|
|
|
1712
1712
|
def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
|
1713
1713
|
@GatewayId = gatewayid
|
|
@@ -1750,8 +1750,8 @@ module TencentCloud
|
|
|
1750
1750
|
|
|
1751
1751
|
attr_accessor :Result, :StrategyId, :RequestId
|
|
1752
1752
|
extend Gem::Deprecate
|
|
1753
|
-
deprecate :Result, :none, 2025,
|
|
1754
|
-
deprecate :Result=, :none, 2025,
|
|
1753
|
+
deprecate :Result, :none, 2025, 11
|
|
1754
|
+
deprecate :Result=, :none, 2025, 11
|
|
1755
1755
|
|
|
1756
1756
|
def initialize(result=nil, strategyid=nil, requestid=nil)
|
|
1757
1757
|
@Result = result
|
|
@@ -1837,10 +1837,10 @@ module TencentCloud
|
|
|
1837
1837
|
|
|
1838
1838
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
|
1839
1839
|
extend Gem::Deprecate
|
|
1840
|
-
deprecate :Key, :none, 2025,
|
|
1841
|
-
deprecate :Key=, :none, 2025,
|
|
1842
|
-
deprecate :Crt, :none, 2025,
|
|
1843
|
-
deprecate :Crt=, :none, 2025,
|
|
1840
|
+
deprecate :Key, :none, 2025, 11
|
|
1841
|
+
deprecate :Key=, :none, 2025, 11
|
|
1842
|
+
deprecate :Crt, :none, 2025, 11
|
|
1843
|
+
deprecate :Crt=, :none, 2025, 11
|
|
1844
1844
|
|
|
1845
1845
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
|
1846
1846
|
@GatewayId = gatewayid
|
|
@@ -2175,8 +2175,8 @@ module TencentCloud
|
|
|
2175
2175
|
|
|
2176
2176
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
|
2177
2177
|
extend Gem::Deprecate
|
|
2178
|
-
deprecate :ForceHttps, :none, 2025,
|
|
2179
|
-
deprecate :ForceHttps=, :none, 2025,
|
|
2178
|
+
deprecate :ForceHttps, :none, 2025, 11
|
|
2179
|
+
deprecate :ForceHttps=, :none, 2025, 11
|
|
2180
2180
|
|
|
2181
2181
|
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)
|
|
2182
2182
|
@GatewayId = gatewayid
|
|
@@ -3048,6 +3048,58 @@ module TencentCloud
|
|
|
3048
3048
|
end
|
|
3049
3049
|
end
|
|
3050
3050
|
|
|
3051
|
+
# CreateOrModifyCloudNativeAPIGatewayIPRestriction请求参数结构体
|
|
3052
|
+
class CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest < TencentCloud::Common::AbstractModel
|
|
3053
|
+
# @param GatewayId: 网关ID
|
|
3054
|
+
# @type GatewayId: String
|
|
3055
|
+
# @param SourceType: 访问控制插件绑定的资源类型:route|service
|
|
3056
|
+
# @type SourceType: String
|
|
3057
|
+
# @param SourceId: 路由或服务的id
|
|
3058
|
+
# @type SourceId: String
|
|
3059
|
+
# @param Enabled: 是否启用插件
|
|
3060
|
+
# @type Enabled: Boolean
|
|
3061
|
+
# @param RestrictionType: 访问控制类型:whiteList|blackList
|
|
3062
|
+
# @type RestrictionType: String
|
|
3063
|
+
# @param AddressList: cidr|ip
|
|
3064
|
+
# @type AddressList: Array
|
|
3065
|
+
|
|
3066
|
+
attr_accessor :GatewayId, :SourceType, :SourceId, :Enabled, :RestrictionType, :AddressList
|
|
3067
|
+
|
|
3068
|
+
def initialize(gatewayid=nil, sourcetype=nil, sourceid=nil, enabled=nil, restrictiontype=nil, addresslist=nil)
|
|
3069
|
+
@GatewayId = gatewayid
|
|
3070
|
+
@SourceType = sourcetype
|
|
3071
|
+
@SourceId = sourceid
|
|
3072
|
+
@Enabled = enabled
|
|
3073
|
+
@RestrictionType = restrictiontype
|
|
3074
|
+
@AddressList = addresslist
|
|
3075
|
+
end
|
|
3076
|
+
|
|
3077
|
+
def deserialize(params)
|
|
3078
|
+
@GatewayId = params['GatewayId']
|
|
3079
|
+
@SourceType = params['SourceType']
|
|
3080
|
+
@SourceId = params['SourceId']
|
|
3081
|
+
@Enabled = params['Enabled']
|
|
3082
|
+
@RestrictionType = params['RestrictionType']
|
|
3083
|
+
@AddressList = params['AddressList']
|
|
3084
|
+
end
|
|
3085
|
+
end
|
|
3086
|
+
|
|
3087
|
+
# CreateOrModifyCloudNativeAPIGatewayIPRestriction返回参数结构体
|
|
3088
|
+
class CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse < TencentCloud::Common::AbstractModel
|
|
3089
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3090
|
+
# @type RequestId: String
|
|
3091
|
+
|
|
3092
|
+
attr_accessor :RequestId
|
|
3093
|
+
|
|
3094
|
+
def initialize(requestid=nil)
|
|
3095
|
+
@RequestId = requestid
|
|
3096
|
+
end
|
|
3097
|
+
|
|
3098
|
+
def deserialize(params)
|
|
3099
|
+
@RequestId = params['RequestId']
|
|
3100
|
+
end
|
|
3101
|
+
end
|
|
3102
|
+
|
|
3051
3103
|
# CreateOrUpdateConfigFileAndRelease请求参数结构体
|
|
3052
3104
|
class CreateOrUpdateConfigFileAndReleaseRequest < TencentCloud::Common::AbstractModel
|
|
3053
3105
|
# @param InstanceId: 实例id
|
|
@@ -3283,6 +3335,46 @@ module TencentCloud
|
|
|
3283
3335
|
end
|
|
3284
3336
|
end
|
|
3285
3337
|
|
|
3338
|
+
# DeleteCloudNativeAPIGatewayIPRestriction请求参数结构体
|
|
3339
|
+
class DeleteCloudNativeAPIGatewayIPRestrictionRequest < TencentCloud::Common::AbstractModel
|
|
3340
|
+
# @param GatewayId: 网关ID
|
|
3341
|
+
# @type GatewayId: String
|
|
3342
|
+
# @param SourceType: 访问控制插件绑定的资源类型:route|service
|
|
3343
|
+
# @type SourceType: String
|
|
3344
|
+
# @param SourceId: 路由或服务的id
|
|
3345
|
+
# @type SourceId: String
|
|
3346
|
+
|
|
3347
|
+
attr_accessor :GatewayId, :SourceType, :SourceId
|
|
3348
|
+
|
|
3349
|
+
def initialize(gatewayid=nil, sourcetype=nil, sourceid=nil)
|
|
3350
|
+
@GatewayId = gatewayid
|
|
3351
|
+
@SourceType = sourcetype
|
|
3352
|
+
@SourceId = sourceid
|
|
3353
|
+
end
|
|
3354
|
+
|
|
3355
|
+
def deserialize(params)
|
|
3356
|
+
@GatewayId = params['GatewayId']
|
|
3357
|
+
@SourceType = params['SourceType']
|
|
3358
|
+
@SourceId = params['SourceId']
|
|
3359
|
+
end
|
|
3360
|
+
end
|
|
3361
|
+
|
|
3362
|
+
# DeleteCloudNativeAPIGatewayIPRestriction返回参数结构体
|
|
3363
|
+
class DeleteCloudNativeAPIGatewayIPRestrictionResponse < TencentCloud::Common::AbstractModel
|
|
3364
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3365
|
+
# @type RequestId: String
|
|
3366
|
+
|
|
3367
|
+
attr_accessor :RequestId
|
|
3368
|
+
|
|
3369
|
+
def initialize(requestid=nil)
|
|
3370
|
+
@RequestId = requestid
|
|
3371
|
+
end
|
|
3372
|
+
|
|
3373
|
+
def deserialize(params)
|
|
3374
|
+
@RequestId = params['RequestId']
|
|
3375
|
+
end
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3286
3378
|
# DeleteCloudNativeAPIGatewayPublicNetwork请求参数结构体
|
|
3287
3379
|
class DeleteCloudNativeAPIGatewayPublicNetworkRequest < TencentCloud::Common::AbstractModel
|
|
3288
3380
|
# @param GatewayId: 云原生API网关实例ID。
|
|
@@ -4478,6 +4570,54 @@ module TencentCloud
|
|
|
4478
4570
|
end
|
|
4479
4571
|
end
|
|
4480
4572
|
|
|
4573
|
+
# DescribeCloudNativeAPIGatewayIPRestriction请求参数结构体
|
|
4574
|
+
class DescribeCloudNativeAPIGatewayIPRestrictionRequest < TencentCloud::Common::AbstractModel
|
|
4575
|
+
# @param GatewayId: 网关ID
|
|
4576
|
+
# @type GatewayId: String
|
|
4577
|
+
# @param SourceType: 访问控制插件绑定的资源类型:route|service
|
|
4578
|
+
# @type SourceType: String
|
|
4579
|
+
# @param SourceId: 路由或服务的id
|
|
4580
|
+
# @type SourceId: String
|
|
4581
|
+
|
|
4582
|
+
attr_accessor :GatewayId, :SourceType, :SourceId
|
|
4583
|
+
|
|
4584
|
+
def initialize(gatewayid=nil, sourcetype=nil, sourceid=nil)
|
|
4585
|
+
@GatewayId = gatewayid
|
|
4586
|
+
@SourceType = sourcetype
|
|
4587
|
+
@SourceId = sourceid
|
|
4588
|
+
end
|
|
4589
|
+
|
|
4590
|
+
def deserialize(params)
|
|
4591
|
+
@GatewayId = params['GatewayId']
|
|
4592
|
+
@SourceType = params['SourceType']
|
|
4593
|
+
@SourceId = params['SourceId']
|
|
4594
|
+
end
|
|
4595
|
+
end
|
|
4596
|
+
|
|
4597
|
+
# DescribeCloudNativeAPIGatewayIPRestriction返回参数结构体
|
|
4598
|
+
class DescribeCloudNativeAPIGatewayIPRestrictionResponse < TencentCloud::Common::AbstractModel
|
|
4599
|
+
# @param Result: 出参
|
|
4600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4601
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeKongIpRestrictionResult`
|
|
4602
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4603
|
+
# @type RequestId: String
|
|
4604
|
+
|
|
4605
|
+
attr_accessor :Result, :RequestId
|
|
4606
|
+
|
|
4607
|
+
def initialize(result=nil, requestid=nil)
|
|
4608
|
+
@Result = result
|
|
4609
|
+
@RequestId = requestid
|
|
4610
|
+
end
|
|
4611
|
+
|
|
4612
|
+
def deserialize(params)
|
|
4613
|
+
unless params['Result'].nil?
|
|
4614
|
+
@Result = DescribeKongIpRestrictionResult.new
|
|
4615
|
+
@Result.deserialize(params['Result'])
|
|
4616
|
+
end
|
|
4617
|
+
@RequestId = params['RequestId']
|
|
4618
|
+
end
|
|
4619
|
+
end
|
|
4620
|
+
|
|
4481
4621
|
# DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
|
|
4482
4622
|
class DescribeCloudNativeAPIGatewayInfoByIpRequest < TencentCloud::Common::AbstractModel
|
|
4483
4623
|
# @param PublicNetworkIP: 云原生网关的公网ip
|
|
@@ -4730,10 +4870,13 @@ module TencentCloud
|
|
|
4730
4870
|
# @type PublicIpAddresses: Array
|
|
4731
4871
|
# @param DeleteProtect: 是否开启删除保护
|
|
4732
4872
|
# @type DeleteProtect: Boolean
|
|
4873
|
+
# @param AvailableVersions: 表示可以升级的版本号
|
|
4874
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4875
|
+
# @type AvailableVersions: Array
|
|
4733
4876
|
|
|
4734
|
-
attr_accessor :GatewayId, :Status, :Name, :Type, :GatewayVersion, :NodeConfig, :VpcConfig, :Description, :CreateTime, :Tags, :EnableCls, :TradeType, :FeatureVersion, :InternetMaxBandwidthOut, :AutoRenewFlag, :CurDeadline, :IsolateTime, :EnableInternet, :EngineRegion, :IngressClassName, :InternetPayMode, :GatewayMinorVersion, :InstancePort, :LoadBalancerType, :PublicIpAddresses, :DeleteProtect
|
|
4877
|
+
attr_accessor :GatewayId, :Status, :Name, :Type, :GatewayVersion, :NodeConfig, :VpcConfig, :Description, :CreateTime, :Tags, :EnableCls, :TradeType, :FeatureVersion, :InternetMaxBandwidthOut, :AutoRenewFlag, :CurDeadline, :IsolateTime, :EnableInternet, :EngineRegion, :IngressClassName, :InternetPayMode, :GatewayMinorVersion, :InstancePort, :LoadBalancerType, :PublicIpAddresses, :DeleteProtect, :AvailableVersions
|
|
4735
4878
|
|
|
4736
|
-
def initialize(gatewayid=nil, status=nil, name=nil, type=nil, gatewayversion=nil, nodeconfig=nil, vpcconfig=nil, description=nil, createtime=nil, tags=nil, enablecls=nil, tradetype=nil, featureversion=nil, internetmaxbandwidthout=nil, autorenewflag=nil, curdeadline=nil, isolatetime=nil, enableinternet=nil, engineregion=nil, ingressclassname=nil, internetpaymode=nil, gatewayminorversion=nil, instanceport=nil, loadbalancertype=nil, publicipaddresses=nil, deleteprotect=nil)
|
|
4879
|
+
def initialize(gatewayid=nil, status=nil, name=nil, type=nil, gatewayversion=nil, nodeconfig=nil, vpcconfig=nil, description=nil, createtime=nil, tags=nil, enablecls=nil, tradetype=nil, featureversion=nil, internetmaxbandwidthout=nil, autorenewflag=nil, curdeadline=nil, isolatetime=nil, enableinternet=nil, engineregion=nil, ingressclassname=nil, internetpaymode=nil, gatewayminorversion=nil, instanceport=nil, loadbalancertype=nil, publicipaddresses=nil, deleteprotect=nil, availableversions=nil)
|
|
4737
4880
|
@GatewayId = gatewayid
|
|
4738
4881
|
@Status = status
|
|
4739
4882
|
@Name = name
|
|
@@ -4760,6 +4903,7 @@ module TencentCloud
|
|
|
4760
4903
|
@LoadBalancerType = loadbalancertype
|
|
4761
4904
|
@PublicIpAddresses = publicipaddresses
|
|
4762
4905
|
@DeleteProtect = deleteprotect
|
|
4906
|
+
@AvailableVersions = availableversions
|
|
4763
4907
|
end
|
|
4764
4908
|
|
|
4765
4909
|
def deserialize(params)
|
|
@@ -4805,6 +4949,7 @@ module TencentCloud
|
|
|
4805
4949
|
@LoadBalancerType = params['LoadBalancerType']
|
|
4806
4950
|
@PublicIpAddresses = params['PublicIpAddresses']
|
|
4807
4951
|
@DeleteProtect = params['DeleteProtect']
|
|
4952
|
+
@AvailableVersions = params['AvailableVersions']
|
|
4808
4953
|
end
|
|
4809
4954
|
end
|
|
4810
4955
|
|
|
@@ -6370,6 +6515,43 @@ module TencentCloud
|
|
|
6370
6515
|
end
|
|
6371
6516
|
end
|
|
6372
6517
|
|
|
6518
|
+
# 查询云原生网关访问控制配置出参
|
|
6519
|
+
class DescribeKongIpRestrictionResult < TencentCloud::Common::AbstractModel
|
|
6520
|
+
# @param SourceType: 访问控制插件绑定的资源类型:route | service
|
|
6521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6522
|
+
# @type SourceType: String
|
|
6523
|
+
# @param SourceId: 路由或服务的id
|
|
6524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6525
|
+
# @type SourceId: String
|
|
6526
|
+
# @param Enabled: 是否启用插件
|
|
6527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6528
|
+
# @type Enabled: Boolean
|
|
6529
|
+
# @param RestrictionType: 访问控制类型:whiteList|blackList
|
|
6530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6531
|
+
# @type RestrictionType: String
|
|
6532
|
+
# @param AddressList: cidr|ip
|
|
6533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6534
|
+
# @type AddressList: Array
|
|
6535
|
+
|
|
6536
|
+
attr_accessor :SourceType, :SourceId, :Enabled, :RestrictionType, :AddressList
|
|
6537
|
+
|
|
6538
|
+
def initialize(sourcetype=nil, sourceid=nil, enabled=nil, restrictiontype=nil, addresslist=nil)
|
|
6539
|
+
@SourceType = sourcetype
|
|
6540
|
+
@SourceId = sourceid
|
|
6541
|
+
@Enabled = enabled
|
|
6542
|
+
@RestrictionType = restrictiontype
|
|
6543
|
+
@AddressList = addresslist
|
|
6544
|
+
end
|
|
6545
|
+
|
|
6546
|
+
def deserialize(params)
|
|
6547
|
+
@SourceType = params['SourceType']
|
|
6548
|
+
@SourceId = params['SourceId']
|
|
6549
|
+
@Enabled = params['Enabled']
|
|
6550
|
+
@RestrictionType = params['RestrictionType']
|
|
6551
|
+
@AddressList = params['AddressList']
|
|
6552
|
+
end
|
|
6553
|
+
end
|
|
6554
|
+
|
|
6373
6555
|
# DescribeNacosReplicas请求参数结构体
|
|
6374
6556
|
class DescribeNacosReplicasRequest < TencentCloud::Common::AbstractModel
|
|
6375
6557
|
# @param InstanceId: 引擎实例ID
|
|
@@ -7090,8 +7272,8 @@ module TencentCloud
|
|
|
7090
7272
|
|
|
7091
7273
|
attr_accessor :GatewayId, :Type, :TypeList
|
|
7092
7274
|
extend Gem::Deprecate
|
|
7093
|
-
deprecate :Type, :none, 2025,
|
|
7094
|
-
deprecate :Type=, :none, 2025,
|
|
7275
|
+
deprecate :Type, :none, 2025, 11
|
|
7276
|
+
deprecate :Type=, :none, 2025, 11
|
|
7095
7277
|
|
|
7096
7278
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
|
7097
7279
|
@GatewayId = gatewayid
|
|
@@ -8500,8 +8682,8 @@ module TencentCloud
|
|
|
8500
8682
|
|
|
8501
8683
|
attr_accessor :Total, :CertificatesList, :Pages
|
|
8502
8684
|
extend Gem::Deprecate
|
|
8503
|
-
deprecate :Pages, :none, 2025,
|
|
8504
|
-
deprecate :Pages=, :none, 2025,
|
|
8685
|
+
deprecate :Pages, :none, 2025, 11
|
|
8686
|
+
deprecate :Pages=, :none, 2025, 11
|
|
8505
8687
|
|
|
8506
8688
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
|
8507
8689
|
@Total = total
|
|
@@ -8642,8 +8824,8 @@ module TencentCloud
|
|
|
8642
8824
|
|
|
8643
8825
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
|
8644
8826
|
extend Gem::Deprecate
|
|
8645
|
-
deprecate :ForceHttps, :none, 2025,
|
|
8646
|
-
deprecate :ForceHttps=, :none, 2025,
|
|
8827
|
+
deprecate :ForceHttps, :none, 2025, 11
|
|
8828
|
+
deprecate :ForceHttps=, :none, 2025, 11
|
|
8647
8829
|
|
|
8648
8830
|
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)
|
|
8649
8831
|
@ID = id
|
|
@@ -9346,10 +9528,10 @@ module TencentCloud
|
|
|
9346
9528
|
|
|
9347
9529
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
|
9348
9530
|
extend Gem::Deprecate
|
|
9349
|
-
deprecate :CronScalerConfig, :none, 2025,
|
|
9350
|
-
deprecate :CronScalerConfig=, :none, 2025,
|
|
9351
|
-
deprecate :MaxReplicas, :none, 2025,
|
|
9352
|
-
deprecate :MaxReplicas=, :none, 2025,
|
|
9531
|
+
deprecate :CronScalerConfig, :none, 2025, 11
|
|
9532
|
+
deprecate :CronScalerConfig=, :none, 2025, 11
|
|
9533
|
+
deprecate :MaxReplicas, :none, 2025, 11
|
|
9534
|
+
deprecate :MaxReplicas=, :none, 2025, 11
|
|
9353
9535
|
|
|
9354
9536
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
|
9355
9537
|
@GatewayId = gatewayid
|
|
@@ -9484,10 +9666,10 @@ module TencentCloud
|
|
|
9484
9666
|
|
|
9485
9667
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
|
9486
9668
|
extend Gem::Deprecate
|
|
9487
|
-
deprecate :Name, :none, 2025,
|
|
9488
|
-
deprecate :Name=, :none, 2025,
|
|
9489
|
-
deprecate :BindDomains, :none, 2025,
|
|
9490
|
-
deprecate :BindDomains=, :none, 2025,
|
|
9669
|
+
deprecate :Name, :none, 2025, 11
|
|
9670
|
+
deprecate :Name=, :none, 2025, 11
|
|
9671
|
+
deprecate :BindDomains, :none, 2025, 11
|
|
9672
|
+
deprecate :BindDomains=, :none, 2025, 11
|
|
9491
9673
|
|
|
9492
9674
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
|
9493
9675
|
@GatewayId = gatewayid
|
|
@@ -9681,8 +9863,8 @@ module TencentCloud
|
|
|
9681
9863
|
|
|
9682
9864
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers, :RequestBuffering, :ResponseBuffering, :RegexPriority
|
|
9683
9865
|
extend Gem::Deprecate
|
|
9684
|
-
deprecate :ForceHttps, :none, 2025,
|
|
9685
|
-
deprecate :ForceHttps=, :none, 2025,
|
|
9866
|
+
deprecate :ForceHttps, :none, 2025, 11
|
|
9867
|
+
deprecate :ForceHttps=, :none, 2025, 11
|
|
9686
9868
|
|
|
9687
9869
|
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)
|
|
9688
9870
|
@GatewayId = gatewayid
|
|
@@ -11883,8 +12065,8 @@ module TencentCloud
|
|
|
11883
12065
|
|
|
11884
12066
|
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses, :IgnoreZeroWeightNodes, :ZeroWeightHeathCheck
|
|
11885
12067
|
extend Gem::Deprecate
|
|
11886
|
-
deprecate :IgnoreZeroWeightNodes, :none, 2025,
|
|
11887
|
-
deprecate :IgnoreZeroWeightNodes=, :none, 2025,
|
|
12068
|
+
deprecate :IgnoreZeroWeightNodes, :none, 2025, 11
|
|
12069
|
+
deprecate :IgnoreZeroWeightNodes=, :none, 2025, 11
|
|
11888
12070
|
|
|
11889
12071
|
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil)
|
|
11890
12072
|
@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.1168
|
|
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-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-tse.rb
|
|
37
|
-
- lib/v20201207/models.rb
|
|
38
37
|
- lib/v20201207/client.rb
|
|
38
|
+
- lib/v20201207/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|