tencentcloud-sdk-tse 3.0.937 → 3.0.938
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201207/client.rb +24 -0
- data/lib/v20201207/models.rb +97 -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: ae9a413a6bd05fc01ed7279dba9bb9d2ca5e1e74
|
4
|
+
data.tar.gz: 6c452f76eb5aae61b7dddd50b45c11913ace1546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11606329741f7eaec80ad8e4289511138aa421c99f266afee11dc0c8c5aa14847af111db8ca638fe8fbed93534b0987ca71ce67289c5624404bb4e3a1da1d95e
|
7
|
+
data.tar.gz: cfc16041291e4e9b185d8994911c01704900b43fe13179666f851e36a65d1cef292d18e700a7a9d68a2274dd3654e2f229b251b088493d60522a778336734cc5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.938
|
data/lib/v20201207/client.rb
CHANGED
@@ -1733,6 +1733,30 @@ module TencentCloud
|
|
1733
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1734
|
end
|
1735
1735
|
|
1736
|
+
# 查看实例的标签信息
|
1737
|
+
|
1738
|
+
# @param request: Request instance for DescribeInstanceTagInfos.
|
1739
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeInstanceTagInfosRequest`
|
1740
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeInstanceTagInfosResponse`
|
1741
|
+
def DescribeInstanceTagInfos(request)
|
1742
|
+
body = send_request('DescribeInstanceTagInfos', request.serialize)
|
1743
|
+
response = JSON.parse(body)
|
1744
|
+
if response['Response'].key?('Error') == false
|
1745
|
+
model = DescribeInstanceTagInfosResponse.new
|
1746
|
+
model.deserialize(response['Response'])
|
1747
|
+
model
|
1748
|
+
else
|
1749
|
+
code = response['Response']['Error']['Code']
|
1750
|
+
message = response['Response']['Error']['Message']
|
1751
|
+
reqid = response['Response']['RequestId']
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1753
|
+
end
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1755
|
+
raise e
|
1756
|
+
rescue StandardError => e
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
|
+
end
|
1759
|
+
|
1736
1760
|
# 查询Nacos类型引擎实例副本信息
|
1737
1761
|
|
1738
1762
|
# @param request: Request instance for DescribeNacosReplicas.
|
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, 11
|
882
|
+
deprecate :MaxReplicas=, :none, 2024, 11
|
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, 11
|
945
|
+
deprecate :Enabled=, :none, 2024, 11
|
946
|
+
deprecate :CreateTime, :none, 2024, 11
|
947
|
+
deprecate :CreateTime=, :none, 2024, 11
|
948
|
+
deprecate :ModifyTime, :none, 2024, 11
|
949
|
+
deprecate :ModifyTime=, :none, 2024, 11
|
950
|
+
deprecate :StrategyId, :none, 2024, 11
|
951
|
+
deprecate :StrategyId=, :none, 2024, 11
|
952
|
+
deprecate :AutoScalerId, :none, 2024, 11
|
953
|
+
deprecate :AutoScalerId=, :none, 2024, 11
|
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, 11
|
1083
|
+
deprecate :Enabled=, :none, 2024, 11
|
1084
|
+
deprecate :CreateTime, :none, 2024, 11
|
1085
|
+
deprecate :CreateTime=, :none, 2024, 11
|
1086
|
+
deprecate :ModifyTime, :none, 2024, 11
|
1087
|
+
deprecate :ModifyTime=, :none, 2024, 11
|
1088
|
+
deprecate :StrategyId, :none, 2024, 11
|
1089
|
+
deprecate :StrategyId=, :none, 2024, 11
|
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, 11
|
1785
|
+
deprecate :CronScalerConfig=, :none, 2024, 11
|
1786
|
+
deprecate :MaxReplicas, :none, 2024, 11
|
1787
|
+
deprecate :MaxReplicas=, :none, 2024, 11
|
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, 11
|
1832
|
+
deprecate :Result=, :none, 2024, 11
|
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, 11
|
1908
|
+
deprecate :Key=, :none, 2024, 11
|
1909
|
+
deprecate :Crt, :none, 2024, 11
|
1910
|
+
deprecate :Crt=, :none, 2024, 11
|
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, 11
|
2243
|
+
deprecate :ForceHttps=, :none, 2024, 11
|
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
|
@@ -6116,6 +6116,53 @@ module TencentCloud
|
|
6116
6116
|
end
|
6117
6117
|
end
|
6118
6118
|
|
6119
|
+
# DescribeInstanceTagInfos请求参数结构体
|
6120
|
+
class DescribeInstanceTagInfosRequest < TencentCloud::Common::AbstractModel
|
6121
|
+
# @param InstanceId: 实例ID
|
6122
|
+
# @type InstanceId: String
|
6123
|
+
|
6124
|
+
attr_accessor :InstanceId
|
6125
|
+
|
6126
|
+
def initialize(instanceid=nil)
|
6127
|
+
@InstanceId = instanceid
|
6128
|
+
end
|
6129
|
+
|
6130
|
+
def deserialize(params)
|
6131
|
+
@InstanceId = params['InstanceId']
|
6132
|
+
end
|
6133
|
+
end
|
6134
|
+
|
6135
|
+
# DescribeInstanceTagInfos返回参数结构体
|
6136
|
+
class DescribeInstanceTagInfosResponse < TencentCloud::Common::AbstractModel
|
6137
|
+
# @param InstanceId: 实例ID
|
6138
|
+
# @type InstanceId: String
|
6139
|
+
# @param TagInfos: 实例标签集合
|
6140
|
+
# @type TagInfos: Array
|
6141
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6142
|
+
# @type RequestId: String
|
6143
|
+
|
6144
|
+
attr_accessor :InstanceId, :TagInfos, :RequestId
|
6145
|
+
|
6146
|
+
def initialize(instanceid=nil, taginfos=nil, requestid=nil)
|
6147
|
+
@InstanceId = instanceid
|
6148
|
+
@TagInfos = taginfos
|
6149
|
+
@RequestId = requestid
|
6150
|
+
end
|
6151
|
+
|
6152
|
+
def deserialize(params)
|
6153
|
+
@InstanceId = params['InstanceId']
|
6154
|
+
unless params['TagInfos'].nil?
|
6155
|
+
@TagInfos = []
|
6156
|
+
params['TagInfos'].each do |i|
|
6157
|
+
instancetaginfo_tmp = InstanceTagInfo.new
|
6158
|
+
instancetaginfo_tmp.deserialize(i)
|
6159
|
+
@TagInfos << instancetaginfo_tmp
|
6160
|
+
end
|
6161
|
+
end
|
6162
|
+
@RequestId = params['RequestId']
|
6163
|
+
end
|
6164
|
+
end
|
6165
|
+
|
6119
6166
|
# DescribeNacosReplicas请求参数结构体
|
6120
6167
|
class DescribeNacosReplicasRequest < TencentCloud::Common::AbstractModel
|
6121
6168
|
# @param InstanceId: 引擎实例ID
|
@@ -6776,8 +6823,8 @@ module TencentCloud
|
|
6776
6823
|
|
6777
6824
|
attr_accessor :GatewayId, :Type, :TypeList
|
6778
6825
|
extend Gem::Deprecate
|
6779
|
-
deprecate :Type, :none, 2024,
|
6780
|
-
deprecate :Type=, :none, 2024,
|
6826
|
+
deprecate :Type, :none, 2024, 11
|
6827
|
+
deprecate :Type=, :none, 2024, 11
|
6781
6828
|
|
6782
6829
|
def initialize(gatewayid=nil, type=nil, typelist=nil)
|
6783
6830
|
@GatewayId = gatewayid
|
@@ -8190,8 +8237,8 @@ module TencentCloud
|
|
8190
8237
|
|
8191
8238
|
attr_accessor :Total, :CertificatesList, :Pages
|
8192
8239
|
extend Gem::Deprecate
|
8193
|
-
deprecate :Pages, :none, 2024,
|
8194
|
-
deprecate :Pages=, :none, 2024,
|
8240
|
+
deprecate :Pages, :none, 2024, 11
|
8241
|
+
deprecate :Pages=, :none, 2024, 11
|
8195
8242
|
|
8196
8243
|
def initialize(total=nil, certificateslist=nil, pages=nil)
|
8197
8244
|
@Total = total
|
@@ -8349,8 +8396,8 @@ module TencentCloud
|
|
8349
8396
|
|
8350
8397
|
attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
|
8351
8398
|
extend Gem::Deprecate
|
8352
|
-
deprecate :ForceHttps, :none, 2024,
|
8353
|
-
deprecate :ForceHttps=, :none, 2024,
|
8399
|
+
deprecate :ForceHttps, :none, 2024, 11
|
8400
|
+
deprecate :ForceHttps=, :none, 2024, 11
|
8354
8401
|
|
8355
8402
|
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
8403
|
@ID = id
|
@@ -9059,10 +9106,10 @@ module TencentCloud
|
|
9059
9106
|
|
9060
9107
|
attr_accessor :GatewayId, :StrategyId, :StrategyName, :Description, :Config, :CronScalerConfig, :MaxReplicas, :CronConfig
|
9061
9108
|
extend Gem::Deprecate
|
9062
|
-
deprecate :CronScalerConfig, :none, 2024,
|
9063
|
-
deprecate :CronScalerConfig=, :none, 2024,
|
9064
|
-
deprecate :MaxReplicas, :none, 2024,
|
9065
|
-
deprecate :MaxReplicas=, :none, 2024,
|
9109
|
+
deprecate :CronScalerConfig, :none, 2024, 11
|
9110
|
+
deprecate :CronScalerConfig=, :none, 2024, 11
|
9111
|
+
deprecate :MaxReplicas, :none, 2024, 11
|
9112
|
+
deprecate :MaxReplicas=, :none, 2024, 11
|
9066
9113
|
|
9067
9114
|
def initialize(gatewayid=nil, strategyid=nil, strategyname=nil, description=nil, config=nil, cronscalerconfig=nil, maxreplicas=nil, cronconfig=nil)
|
9068
9115
|
@GatewayId = gatewayid
|
@@ -9186,10 +9233,10 @@ module TencentCloud
|
|
9186
9233
|
|
9187
9234
|
attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
|
9188
9235
|
extend Gem::Deprecate
|
9189
|
-
deprecate :Name, :none, 2024,
|
9190
|
-
deprecate :Name=, :none, 2024,
|
9191
|
-
deprecate :BindDomains, :none, 2024,
|
9192
|
-
deprecate :BindDomains=, :none, 2024,
|
9236
|
+
deprecate :Name, :none, 2024, 11
|
9237
|
+
deprecate :Name=, :none, 2024, 11
|
9238
|
+
deprecate :BindDomains, :none, 2024, 11
|
9239
|
+
deprecate :BindDomains=, :none, 2024, 11
|
9193
9240
|
|
9194
9241
|
def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
|
9195
9242
|
@GatewayId = gatewayid
|
@@ -9373,8 +9420,8 @@ module TencentCloud
|
|
9373
9420
|
|
9374
9421
|
attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
|
9375
9422
|
extend Gem::Deprecate
|
9376
|
-
deprecate :ForceHttps, :none, 2024,
|
9377
|
-
deprecate :ForceHttps=, :none, 2024,
|
9423
|
+
deprecate :ForceHttps, :none, 2024, 11
|
9424
|
+
deprecate :ForceHttps=, :none, 2024, 11
|
9378
9425
|
|
9379
9426
|
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
9427
|
@GatewayId = gatewayid
|
@@ -11425,8 +11472,8 @@ module TencentCloud
|
|
11425
11472
|
|
11426
11473
|
attr_accessor :EnableActiveHealthCheck, :ActiveHealthCheck, :EnablePassiveHealthCheck, :PassiveHealthCheck, :Successes, :Failures, :Timeouts, :HealthyHttpStatuses, :UnhealthyHttpStatuses, :IgnoreZeroWeightNodes, :ZeroWeightHeathCheck
|
11427
11474
|
extend Gem::Deprecate
|
11428
|
-
deprecate :IgnoreZeroWeightNodes, :none, 2024,
|
11429
|
-
deprecate :IgnoreZeroWeightNodes=, :none, 2024,
|
11475
|
+
deprecate :IgnoreZeroWeightNodes, :none, 2024, 11
|
11476
|
+
deprecate :IgnoreZeroWeightNodes=, :none, 2024, 11
|
11430
11477
|
|
11431
11478
|
def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil)
|
11432
11479
|
@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.938
|
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-11-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|