tencentcloud-sdk-tse 3.0.760 → 3.0.761

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201207/models.rb +50 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b9082d27bde52d75b3c60fe2a8e15147b91c2b2
4
- data.tar.gz: 2d3b1def80c472aba76de107bee387c27d05f68b
3
+ metadata.gz: 3ca3a55bec53fb300f9d6fb98bcefcdd0a96b6a7
4
+ data.tar.gz: 111aa7885fff24f56ad107f2913ea1ea64f86cf3
5
5
  SHA512:
6
- metadata.gz: f44d8df22e268d351b1e53debbd78e9d6e2948f1b90c802534c4488ddfea21b982a076515a75cc4c978d42fc901f5de5bc2a44c3229b1c1e28de0221e944dfc6
7
- data.tar.gz: f543ddd90842d9b4bf53ded6ed14455be406483520cb074b8f6b05777407c24a5ba98c7ad27ef18e00547bab292c076b8d4a9993d9c22ad91d9aa2c3ec3a3f79
6
+ metadata.gz: c18bd075c36d14dfe4d96eeee9a969f63fde11978bd987aaa2d77764435eb7ff5a61ced75a1b205f64d9e044ca93feec5aad29ed26d97baf0d6eaf45b87553a3
7
+ data.tar.gz: 92a675d9590c110c6d736b0eb346c473ef69ab1568cc19db8eddcb98cde0e607a1583bf615c334a843db30c50f64adafc6fcbf70cc0371ef6f76d86d3020688c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.760
1
+ 3.0.761
@@ -90,7 +90,7 @@ module TencentCloud
90
90
 
91
91
  # 扩容策略
92
92
  class AutoScalerPolicy < TencentCloud::Common::AbstractModel
93
- # @param Type: 类型,Pods或Percent
93
+ # @param Type: 类型,Pods
94
94
  # 注意:此字段可能返回 null,表示取不到有效值。
95
95
  # @type Type: String
96
96
  # @param Value: 数量
@@ -117,13 +117,13 @@ module TencentCloud
117
117
 
118
118
  # 指标伸缩的规则
119
119
  class AutoScalerRules < TencentCloud::Common::AbstractModel
120
- # @param StabilizationWindowSeconds: 稳定窗口时间
120
+ # @param StabilizationWindowSeconds: 稳定窗口时间,扩容时默认0,缩容时默认300
121
121
  # 注意:此字段可能返回 null,表示取不到有效值。
122
122
  # @type StabilizationWindowSeconds: Integer
123
123
  # @param SelectPolicy: 选择策略依据
124
124
  # 注意:此字段可能返回 null,表示取不到有效值。
125
125
  # @type SelectPolicy: String
126
- # @param Policies: 扩容策略
126
+ # @param Policies: 扩缩容策略
127
127
  # 注意:此字段可能返回 null,表示取不到有效值。
128
128
  # @type Policies: Array
129
129
 
@@ -802,6 +802,8 @@ module TencentCloud
802
802
 
803
803
  attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
804
804
  extend Gem::Deprecate
805
+ deprecate :Enabled, :none, 2024, 1
806
+ deprecate :Enabled=, :none, 2024, 1
805
807
  deprecate :CreateTime, :none, 2024, 1
806
808
  deprecate :CreateTime=, :none, 2024, 1
807
809
  deprecate :ModifyTime, :none, 2024, 1
@@ -847,12 +849,14 @@ module TencentCloud
847
849
  # 弹性伸缩配置指标
848
850
  class CloudNativeAPIGatewayStrategyAutoScalerConfigMetric < TencentCloud::Common::AbstractModel
849
851
  # @param Type: 指标类型
850
- # 注意:此字段可能返回 null,表示取不到有效值。
852
+ # - Resource
851
853
  # @type Type: String
852
854
  # @param ResourceName: 指标资源名称
855
+ # - cpu
856
+ # - memory
853
857
  # 注意:此字段可能返回 null,表示取不到有效值。
854
858
  # @type ResourceName: String
855
- # @param TargetType: 指标目标类型
859
+ # @param TargetType: 指标目标类型,目前只支持百分比Utilization
856
860
  # 注意:此字段可能返回 null,表示取不到有效值。
857
861
  # @type TargetType: String
858
862
  # @param TargetValue: 指标目标值
@@ -896,6 +900,8 @@ module TencentCloud
896
900
 
897
901
  attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
898
902
  extend Gem::Deprecate
903
+ deprecate :Enabled, :none, 2024, 1
904
+ deprecate :Enabled=, :none, 2024, 1
899
905
  deprecate :CreateTime, :none, 2024, 1
900
906
  deprecate :CreateTime=, :none, 2024, 1
901
907
  deprecate :ModifyTime, :none, 2024, 1
@@ -935,10 +941,10 @@ module TencentCloud
935
941
  # @param StartAt: 定时伸缩开始时间
936
942
  # 注意:此字段可能返回 null,表示取不到有效值。
937
943
  # @type StartAt: String
938
- # @param TargetReplicas: 定时伸缩目标节点数
944
+ # @param TargetReplicas: 定时伸缩目标节点数,不超过指标伸缩中定义的最大节点数
939
945
  # 注意:此字段可能返回 null,表示取不到有效值。
940
946
  # @type TargetReplicas: Integer
941
- # @param Crontab: 定时伸缩cron表达式
947
+ # @param Crontab: 定时伸缩cron表达式,无需输入
942
948
  # 注意:此字段可能返回 null,表示取不到有效值。
943
949
  # @type Crontab: String
944
950
 
@@ -1118,16 +1124,24 @@ module TencentCloud
1118
1124
 
1119
1125
  # CreateCloudNativeAPIGatewayPublicNetwork返回参数结构体
1120
1126
  class CreateCloudNativeAPIGatewayPublicNetworkResponse < TencentCloud::Common::AbstractModel
1127
+ # @param Result: 返回结果
1128
+ # 注意:此字段可能返回 null,表示取不到有效值。
1129
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.CreatePublicNetworkResult`
1121
1130
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1122
1131
  # @type RequestId: String
1123
1132
 
1124
- attr_accessor :RequestId
1133
+ attr_accessor :Result, :RequestId
1125
1134
 
1126
- def initialize(requestid=nil)
1135
+ def initialize(result=nil, requestid=nil)
1136
+ @Result = result
1127
1137
  @RequestId = requestid
1128
1138
  end
1129
1139
 
1130
1140
  def deserialize(params)
1141
+ unless params['Result'].nil?
1142
+ @Result = CreatePublicNetworkResult.new
1143
+ @Result.deserialize(params['Result'])
1144
+ end
1131
1145
  @RequestId = params['RequestId']
1132
1146
  end
1133
1147
  end
@@ -1840,6 +1854,33 @@ module TencentCloud
1840
1854
  end
1841
1855
  end
1842
1856
 
1857
+ # 创建kong客户端公网结果
1858
+ class CreatePublicNetworkResult < TencentCloud::Common::AbstractModel
1859
+ # @param GatewayId: 网关实例ID
1860
+ # 注意:此字段可能返回 null,表示取不到有效值。
1861
+ # @type GatewayId: String
1862
+ # @param GroupId: 分组ID
1863
+ # 注意:此字段可能返回 null,表示取不到有效值。
1864
+ # @type GroupId: String
1865
+ # @param NetworkId: 客户端公网网络ID
1866
+ # 注意:此字段可能返回 null,表示取不到有效值。
1867
+ # @type NetworkId: String
1868
+
1869
+ attr_accessor :GatewayId, :GroupId, :NetworkId
1870
+
1871
+ def initialize(gatewayid=nil, groupid=nil, networkid=nil)
1872
+ @GatewayId = gatewayid
1873
+ @GroupId = groupid
1874
+ @NetworkId = networkid
1875
+ end
1876
+
1877
+ def deserialize(params)
1878
+ @GatewayId = params['GatewayId']
1879
+ @GroupId = params['GroupId']
1880
+ @NetworkId = params['NetworkId']
1881
+ end
1882
+ end
1883
+
1843
1884
  # CreateWafDomains请求参数结构体
1844
1885
  class CreateWafDomainsRequest < TencentCloud::Common::AbstractModel
1845
1886
  # @param GatewayId: 网关ID
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.760
4
+ version: 3.0.761
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-01-29 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common