tencentcloud-sdk-tse 3.0.811 → 3.0.812
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/models.rb +42 -5
- 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: 25d1073200212d967b98383aa196ad0c25d1d7cc
|
4
|
+
data.tar.gz: 16e5d3a48dfb94cd516066618a449595d803a0fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa998a68df0cec422976fafcfed4b8b05eb2a5f3b4ad0c3d99ffae0bdd3519c161f21218785fbf1bf7cedcd3db6cfe8111e40a6ed1941ad13c72c00217fff00e
|
7
|
+
data.tar.gz: 87d490b5bd30aedea2ac9b3ec59ca62ef9ffc2968d45c7c5ac88aa0bdd652da891fad6fd9262ba973f05d0adbff1cb48216495191f66429888100fcd432cc88f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.812
|
data/lib/v20201207/models.rb
CHANGED
@@ -17,6 +17,26 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tse
|
19
19
|
module V20201207
|
20
|
+
# 云原生网关限流插件参数限流的精确Qps阈值
|
21
|
+
class AccurateQpsThreshold < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Unit: qps阈值控制维度,包含:second、minute、hour、day、month、year
|
23
|
+
# @type Unit: String
|
24
|
+
# @param GlobalConfigId: 全局配置ID
|
25
|
+
# @type GlobalConfigId: String
|
26
|
+
|
27
|
+
attr_accessor :Unit, :GlobalConfigId
|
28
|
+
|
29
|
+
def initialize(unit=nil, globalconfigid=nil)
|
30
|
+
@Unit = unit
|
31
|
+
@GlobalConfigId = globalconfigid
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@Unit = params['Unit']
|
36
|
+
@GlobalConfigId = params['GlobalConfigId']
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
20
40
|
# Apollo 环境配置参数
|
21
41
|
class ApolloEnvParam < TencentCloud::Common::AbstractModel
|
22
42
|
# @param Name: 环境名称
|
@@ -2597,10 +2617,12 @@ module TencentCloud
|
|
2597
2617
|
# @param StorageOption: zk专业版至多有两个盘,且磁盘的容量在50-3200之间
|
2598
2618
|
# 如果只有一个磁盘,storageCapacity与storageOption里面的capacity应该一致
|
2599
2619
|
# @type StorageOption: Array
|
2620
|
+
# @param AffinityConstraint: ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
|
2621
|
+
# @type AffinityConstraint: String
|
2600
2622
|
|
2601
|
-
attr_accessor :EngineType, :EngineVersion, :EngineProductVersion, :EngineRegion, :EngineName, :TradeType, :EngineResourceSpec, :EngineNodeNum, :VpcId, :SubnetId, :ApolloEnvParams, :EngineTags, :EngineAdmin, :PrepaidPeriod, :PrepaidRenewFlag, :EngineRegionInfos, :StorageOption
|
2623
|
+
attr_accessor :EngineType, :EngineVersion, :EngineProductVersion, :EngineRegion, :EngineName, :TradeType, :EngineResourceSpec, :EngineNodeNum, :VpcId, :SubnetId, :ApolloEnvParams, :EngineTags, :EngineAdmin, :PrepaidPeriod, :PrepaidRenewFlag, :EngineRegionInfos, :StorageOption, :AffinityConstraint
|
2602
2624
|
|
2603
|
-
def initialize(enginetype=nil, engineversion=nil, engineproductversion=nil, engineregion=nil, enginename=nil, tradetype=nil, engineresourcespec=nil, enginenodenum=nil, vpcid=nil, subnetid=nil, apolloenvparams=nil, enginetags=nil, engineadmin=nil, prepaidperiod=nil, prepaidrenewflag=nil, engineregioninfos=nil, storageoption=nil)
|
2625
|
+
def initialize(enginetype=nil, engineversion=nil, engineproductversion=nil, engineregion=nil, enginename=nil, tradetype=nil, engineresourcespec=nil, enginenodenum=nil, vpcid=nil, subnetid=nil, apolloenvparams=nil, enginetags=nil, engineadmin=nil, prepaidperiod=nil, prepaidrenewflag=nil, engineregioninfos=nil, storageoption=nil, affinityconstraint=nil)
|
2604
2626
|
@EngineType = enginetype
|
2605
2627
|
@EngineVersion = engineversion
|
2606
2628
|
@EngineProductVersion = engineproductversion
|
@@ -2618,6 +2640,7 @@ module TencentCloud
|
|
2618
2640
|
@PrepaidRenewFlag = prepaidrenewflag
|
2619
2641
|
@EngineRegionInfos = engineregioninfos
|
2620
2642
|
@StorageOption = storageoption
|
2643
|
+
@AffinityConstraint = affinityconstraint
|
2621
2644
|
end
|
2622
2645
|
|
2623
2646
|
def deserialize(params)
|
@@ -2669,6 +2692,7 @@ module TencentCloud
|
|
2669
2692
|
@StorageOption << storageoption_tmp
|
2670
2693
|
end
|
2671
2694
|
end
|
2695
|
+
@AffinityConstraint = params['AffinityConstraint']
|
2672
2696
|
end
|
2673
2697
|
end
|
2674
2698
|
|
@@ -6861,7 +6885,8 @@ module TencentCloud
|
|
6861
6885
|
# @type Replica: Integer
|
6862
6886
|
# @param VpcInfos: 集群网络信息
|
6863
6887
|
# @type VpcInfos: Array
|
6864
|
-
# @param MainRegion: 是否为主地域
|
6888
|
+
# @param MainRegion: Polaris: 是否为主地域
|
6889
|
+
# Zookeeper: 是否为Leader固定地域
|
6865
6890
|
# @type MainRegion: Boolean
|
6866
6891
|
# @param SpecId: 引擎规格ID
|
6867
6892
|
# @type SpecId: String
|
@@ -8680,13 +8705,17 @@ module TencentCloud
|
|
8680
8705
|
# @param QpsThresholds: 限流阈值
|
8681
8706
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8682
8707
|
# @type QpsThresholds: Array
|
8708
|
+
# @param AccurateQpsThresholds: 精确限流阈值
|
8709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8710
|
+
# @type AccurateQpsThresholds: Array
|
8683
8711
|
|
8684
|
-
attr_accessor :Filters, :LimitBy, :QpsThresholds
|
8712
|
+
attr_accessor :Filters, :LimitBy, :QpsThresholds, :AccurateQpsThresholds
|
8685
8713
|
|
8686
|
-
def initialize(filters=nil, limitby=nil, qpsthresholds=nil)
|
8714
|
+
def initialize(filters=nil, limitby=nil, qpsthresholds=nil, accurateqpsthresholds=nil)
|
8687
8715
|
@Filters = filters
|
8688
8716
|
@LimitBy = limitby
|
8689
8717
|
@QpsThresholds = qpsthresholds
|
8718
|
+
@AccurateQpsThresholds = accurateqpsthresholds
|
8690
8719
|
end
|
8691
8720
|
|
8692
8721
|
def deserialize(params)
|
@@ -8714,6 +8743,14 @@ module TencentCloud
|
|
8714
8743
|
@QpsThresholds << qpsthreshold_tmp
|
8715
8744
|
end
|
8716
8745
|
end
|
8746
|
+
unless params['AccurateQpsThresholds'].nil?
|
8747
|
+
@AccurateQpsThresholds = []
|
8748
|
+
params['AccurateQpsThresholds'].each do |i|
|
8749
|
+
accurateqpsthreshold_tmp = AccurateQpsThreshold.new
|
8750
|
+
accurateqpsthreshold_tmp.deserialize(i)
|
8751
|
+
@AccurateQpsThresholds << accurateqpsthreshold_tmp
|
8752
|
+
end
|
8753
|
+
end
|
8717
8754
|
end
|
8718
8755
|
end
|
8719
8756
|
|
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.812
|
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-04-
|
11
|
+
date: 2024-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|