tencentcloud-sdk-tse 3.0.932 → 3.0.933
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 +24 -0
- data/lib/v20201207/models.rb +94 -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: a06ad8efbd87c49cf0e5ba3bca4cf1e35a2b9f4a
|
4
|
+
data.tar.gz: 74f5991063172f1a2735e54c1e79dda3be5f653f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b73b5c4ba2cd22a08bcbf2b37c69ae2047c3e126ca0c0cbf892151d7206cd1edb52ea063019b7ddcfd6669232689f8c452a0c5915154fd75f17f546bfe664f
|
7
|
+
data.tar.gz: b44a074e481ab5b82cef3f9ebe66df00e07a072a398ceb4354bc815972eeb8a21f48bf91f8c8de3e4dcfe84a0e0da9e9f7d03d30c57d2f263a96040d651b6003
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.933
|
data/lib/v20201207/client.rb
CHANGED
@@ -2549,6 +2549,30 @@ module TencentCloud
|
|
2549
2549
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2550
2550
|
end
|
2551
2551
|
|
2552
|
+
# 重启微服务引擎实例
|
2553
|
+
|
2554
|
+
# @param request: Request instance for RestartSREInstance.
|
2555
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::RestartSREInstanceRequest`
|
2556
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::RestartSREInstanceResponse`
|
2557
|
+
def RestartSREInstance(request)
|
2558
|
+
body = send_request('RestartSREInstance', request.serialize)
|
2559
|
+
response = JSON.parse(body)
|
2560
|
+
if response['Response'].key?('Error') == false
|
2561
|
+
model = RestartSREInstanceResponse.new
|
2562
|
+
model.deserialize(response['Response'])
|
2563
|
+
model
|
2564
|
+
else
|
2565
|
+
code = response['Response']['Error']['Code']
|
2566
|
+
message = response['Response']['Error']['Message']
|
2567
|
+
reqid = response['Response']['RequestId']
|
2568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2569
|
+
end
|
2570
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2571
|
+
raise e
|
2572
|
+
rescue StandardError => e
|
2573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2574
|
+
end
|
2575
|
+
|
2552
2576
|
# 回滚配置发布
|
2553
2577
|
|
2554
2578
|
# @param request: Request instance for RollbackConfigFileReleases.
|
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, 10
|
882
|
+
deprecate :MaxReplicas=, :none, 2024, 10
|
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, 10
|
945
|
+
deprecate :Enabled=, :none, 2024, 10
|
946
|
+
deprecate :CreateTime, :none, 2024, 10
|
947
|
+
deprecate :CreateTime=, :none, 2024, 10
|
948
|
+
deprecate :ModifyTime, :none, 2024, 10
|
949
|
+
deprecate :ModifyTime=, :none, 2024, 10
|
950
|
+
deprecate :StrategyId, :none, 2024, 10
|
951
|
+
deprecate :StrategyId=, :none, 2024, 10
|
952
|
+
deprecate :AutoScalerId, :none, 2024, 10
|
953
|
+
deprecate :AutoScalerId=, :none, 2024, 10
|
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, 10
|
1083
|
+
deprecate :Enabled=, :none, 2024, 10
|
1084
|
+
deprecate :CreateTime, :none, 2024, 10
|
1085
|
+
deprecate :CreateTime=, :none, 2024, 10
|
1086
|
+
deprecate :ModifyTime, :none, 2024, 10
|
1087
|
+
deprecate :ModifyTime=, :none, 2024, 10
|
1088
|
+
deprecate :StrategyId, :none, 2024, 10
|
1089
|
+
deprecate :StrategyId=, :none, 2024, 10
|
1090
1090
|
|
1091
1091
|
def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
|
1092
1092
|
@Enabled = enabled
|
@@ -1781,10 +1781,10 @@ module TencentCloud
|
|
1781
1781
|
|
1782
1782
|
attr_accessor :GatewayId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
1783
1783
|
extend Gem::Deprecate
|
1784
|
-
deprecate :CronScalerConfig, :none, 2024,
|
1785
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
1786
|
-
deprecate :MaxReplicas, :none, 2024,
|
1787
|
-
deprecate :MaxReplicas=, :none, 2024,
|
1784
|
+
deprecate :CronScalerConfig, :none, 2024, 10
|
1785
|
+
deprecate :CronScalerConfig=, :none, 2024, 10
|
1786
|
+
deprecate :MaxReplicas, :none, 2024, 10
|
1787
|
+
deprecate :MaxReplicas=, :none, 2024, 10
|
1788
1788
|
|
1789
1789
|
def initialize(gatewayid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
1790
1790
|
@GatewayId = gatewayid
|
@@ -1828,8 +1828,8 @@ module TencentCloud
|
|
1828
1828
|
|
1829
1829
|
attr_accessor :Result, :StrategyId, :RequestId
|
1830
1830
|
extend Gem::Deprecate
|
1831
|
-
deprecate :Result, :none, 2024,
|
1832
|
-
deprecate :Result=, :none, 2024,
|
1831
|
+
deprecate :Result, :none, 2024, 10
|
1832
|
+
deprecate :Result=, :none, 2024, 10
|
1833
1833
|
|
1834
1834
|
def initialize(result=nil, strategyid=nil, requestid=nil)
|
1835
1835
|
@Result = result
|
@@ -1904,10 +1904,10 @@ module TencentCloud
|
|
1904
1904
|
|
1905
1905
|
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
1906
1906
|
extend Gem::Deprecate
|
1907
|
-
deprecate :Key, :none, 2024,
|
1908
|
-
deprecate :Key=, :none, 2024,
|
1909
|
-
deprecate :Crt, :none, 2024,
|
1910
|
-
deprecate :Crt=, :none, 2024,
|
1907
|
+
deprecate :Key, :none, 2024, 10
|
1908
|
+
deprecate :Key=, :none, 2024, 10
|
1909
|
+
deprecate :Crt, :none, 2024, 10
|
1910
|
+
deprecate :Crt=, :none, 2024, 10
|
1911
1911
|
|
1912
1912
|
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
1913
1913
|
@GatewayId = gatewayid
|
@@ -2239,8 +2239,8 @@ module TencentCloud
|
|
2239
2239
|
|
2240
2240
|
attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
2241
2241
|
extend Gem::Deprecate
|
2242
|
-
deprecate :ForceHttps, :none, 2024,
|
2243
|
-
deprecate :ForceHttps=, :none, 2024,
|
2242
|
+
deprecate :ForceHttps, :none, 2024, 10
|
2243
|
+
deprecate :ForceHttps=, :none, 2024, 10
|
2244
2244
|
|
2245
2245
|
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)
|
2246
2246
|
@GatewayId = gatewayid
|
@@ -6776,8 +6776,8 @@ module TencentCloud
|
|
6776
6776
|
|
6777
6777
|
attr_accessor :GatewayId, :Type, :TypeList
|
6778
6778
|
extend Gem::Deprecate
|
6779
|
-
deprecate :Type, :none, 2024,
|
6780
|
-
deprecate :Type=, :none, 2024,
|
6779
|
+
deprecate :Type, :none, 2024, 10
|
6780
|
+
deprecate :Type=, :none, 2024, 10
|
6781
6781
|
|
6782
6782
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
6783
6783
|
@GatewayId = gatewayid
|
@@ -8190,8 +8190,8 @@ module TencentCloud
|
|
8190
8190
|
|
8191
8191
|
attr_accessor :Total, :CertificatesList, :Pages
|
8192
8192
|
extend Gem::Deprecate
|
8193
|
-
deprecate :Pages, :none, 2024,
|
8194
|
-
deprecate :Pages=, :none, 2024,
|
8193
|
+
deprecate :Pages, :none, 2024, 10
|
8194
|
+
deprecate :Pages=, :none, 2024, 10
|
8195
8195
|
|
8196
8196
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
8197
8197
|
@Total = total
|
@@ -8349,8 +8349,8 @@ module TencentCloud
|
|
8349
8349
|
|
8350
8350
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
8351
8351
|
extend Gem::Deprecate
|
8352
|
-
deprecate :ForceHttps, :none, 2024,
|
8353
|
-
deprecate :ForceHttps=, :none, 2024,
|
8352
|
+
deprecate :ForceHttps, :none, 2024, 10
|
8353
|
+
deprecate :ForceHttps=, :none, 2024, 10
|
8354
8354
|
|
8355
8355
|
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)
|
8356
8356
|
@ID = id
|
@@ -9059,10 +9059,10 @@ module TencentCloud
|
|
9059
9059
|
|
9060
9060
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
9061
9061
|
extend Gem::Deprecate
|
9062
|
-
deprecate :CronScalerConfig, :none, 2024,
|
9063
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
9064
|
-
deprecate :MaxReplicas, :none, 2024,
|
9065
|
-
deprecate :MaxReplicas=, :none, 2024,
|
9062
|
+
deprecate :CronScalerConfig, :none, 2024, 10
|
9063
|
+
deprecate :CronScalerConfig=, :none, 2024, 10
|
9064
|
+
deprecate :MaxReplicas, :none, 2024, 10
|
9065
|
+
deprecate :MaxReplicas=, :none, 2024, 10
|
9066
9066
|
|
9067
9067
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
9068
9068
|
@GatewayId = gatewayid
|
@@ -9186,10 +9186,10 @@ module TencentCloud
|
|
9186
9186
|
|
9187
9187
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
9188
9188
|
extend Gem::Deprecate
|
9189
|
-
deprecate :Name, :none, 2024,
|
9190
|
-
deprecate :Name=, :none, 2024,
|
9191
|
-
deprecate :BindDomains, :none, 2024,
|
9192
|
-
deprecate :BindDomains=, :none, 2024,
|
9189
|
+
deprecate :Name, :none, 2024, 10
|
9190
|
+
deprecate :Name=, :none, 2024, 10
|
9191
|
+
deprecate :BindDomains, :none, 2024, 10
|
9192
|
+
deprecate :BindDomains=, :none, 2024, 10
|
9193
9193
|
|
9194
9194
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
9195
9195
|
@GatewayId = gatewayid
|
@@ -9373,8 +9373,8 @@ module TencentCloud
|
|
9373
9373
|
|
9374
9374
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
9375
9375
|
extend Gem::Deprecate
|
9376
|
-
deprecate :ForceHttps, :none, 2024,
|
9377
|
-
deprecate :ForceHttps=, :none, 2024,
|
9376
|
+
deprecate :ForceHttps, :none, 2024, 10
|
9377
|
+
deprecate :ForceHttps=, :none, 2024, 10
|
9378
9378
|
|
9379
9379
|
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)
|
9380
9380
|
@GatewayId = gatewayid
|
@@ -10536,6 +10536,50 @@ module TencentCloud
|
|
10536
10536
|
end
|
10537
10537
|
end
|
10538
10538
|
|
10539
|
+
# RestartSREInstance请求参数结构体
|
10540
|
+
class RestartSREInstanceRequest < TencentCloud::Common::AbstractModel
|
10541
|
+
# @param InstanceId: 微服务引擎实例Id
|
10542
|
+
# @type InstanceId: String
|
10543
|
+
# @param EnvTypes: 重启的环境类型(PROD,DEV,UAT等)
|
10544
|
+
# @type EnvTypes: Array
|
10545
|
+
# @param NodeName: 指定需要重启的实例节点(当前仅支持zk单节点重启)
|
10546
|
+
# @type NodeName: String
|
10547
|
+
|
10548
|
+
attr_accessor :InstanceId, :EnvTypes, :NodeName
|
10549
|
+
|
10550
|
+
def initialize(instanceid=nil, envtypes=nil, nodename=nil)
|
10551
|
+
@InstanceId = instanceid
|
10552
|
+
@EnvTypes = envtypes
|
10553
|
+
@NodeName = nodename
|
10554
|
+
end
|
10555
|
+
|
10556
|
+
def deserialize(params)
|
10557
|
+
@InstanceId = params['InstanceId']
|
10558
|
+
@EnvTypes = params['EnvTypes']
|
10559
|
+
@NodeName = params['NodeName']
|
10560
|
+
end
|
10561
|
+
end
|
10562
|
+
|
10563
|
+
# RestartSREInstance返回参数结构体
|
10564
|
+
class RestartSREInstanceResponse < TencentCloud::Common::AbstractModel
|
10565
|
+
# @param TaskId: 任务ID
|
10566
|
+
# @type TaskId: String
|
10567
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10568
|
+
# @type RequestId: String
|
10569
|
+
|
10570
|
+
attr_accessor :TaskId, :RequestId
|
10571
|
+
|
10572
|
+
def initialize(taskid=nil, requestid=nil)
|
10573
|
+
@TaskId = taskid
|
10574
|
+
@RequestId = requestid
|
10575
|
+
end
|
10576
|
+
|
10577
|
+
def deserialize(params)
|
10578
|
+
@TaskId = params['TaskId']
|
10579
|
+
@RequestId = params['RequestId']
|
10580
|
+
end
|
10581
|
+
end
|
10582
|
+
|
10539
10583
|
# RollbackConfigFileReleases请求参数结构体
|
10540
10584
|
class RollbackConfigFileReleasesRequest < TencentCloud::Common::AbstractModel
|
10541
10585
|
# @param InstanceId: TSE实例id
|
@@ -11381,8 +11425,8 @@ module TencentCloud
|
|
11381
11425
|
|
11382
11426
|
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses, :IgnoreZeroWeightNodes, :ZeroWeightHeathCheck
|
11383
11427
|
extend Gem::Deprecate
|
11384
|
-
deprecate :IgnoreZeroWeightNodes, :none, 2024,
|
11385
|
-
deprecate :IgnoreZeroWeightNodes=, :none, 2024,
|
11428
|
+
deprecate :IgnoreZeroWeightNodes, :none, 2024, 10
|
11429
|
+
deprecate :IgnoreZeroWeightNodes=, :none, 2024, 10
|
11386
11430
|
|
11387
11431
|
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil)
|
11388
11432
|
@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.933
|
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-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|