tencentcloud-sdk-tke 1.0.346 → 1.0.347

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180525/models.rb +133 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aa6de2bd0549b6c4eb12323dcf00881b2145bcb
4
- data.tar.gz: beb96bfeb6adf864e46bab92bc53689de353a0bf
3
+ metadata.gz: 560189c1660122e7d827a12674a3fd0b6569dc12
4
+ data.tar.gz: 3719ebfa9480cce02a9b8ad975e1dce101c7784b
5
5
  SHA512:
6
- metadata.gz: 6e5dea8d6f210a29351e91c5093ebd22596127a078c1755d7d9539668054ff97c32ba7c4eebf7eb19ef2a8b759d6a2f7bab54b50c0793adc57c4ac9985bfb202
7
- data.tar.gz: 9e50182d3bc1170a2cdc41821a010c4339faf21b13c83a7f50c2a398ecb0ff64daab4af6b7e0b95c6b35a0277dfdafee31229411243c3d6099cb7711c7b00e90
6
+ metadata.gz: 448e7c945f0fffc919664741f48f352b0fd47a337043bc746b09e5613b139afbeff549e6e067c2885e8205a183b0230dac2a486d1e619afb01c21e2b876ab200
7
+ data.tar.gz: 1275a4e6f09226ce5e062dd7bb39d462710d5a0c4039d376fe9f87ac27ce9476a4f9500963cce3734aac214bb4040594766a2683b8ebc8c979b7059482fc2dbb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.346
1
+ 1.0.347
@@ -2585,12 +2585,28 @@ module TencentCloud
2585
2585
 
2586
2586
  # CreatePrometheusClusterAgent请求参数结构体
2587
2587
  class CreatePrometheusClusterAgentRequest < TencentCloud::Common::AbstractModel
2588
+ # @param InstanceId: 实例ID
2589
+ # @type InstanceId: String
2590
+ # @param Agents: agent列表
2591
+ # @type Agents: Array
2588
2592
 
2593
+ attr_accessor :InstanceId, :Agents
2589
2594
 
2590
- def initialize()
2595
+ def initialize(instanceid=nil, agents=nil)
2596
+ @InstanceId = instanceid
2597
+ @Agents = agents
2591
2598
  end
2592
2599
 
2593
2600
  def deserialize(params)
2601
+ @InstanceId = params['InstanceId']
2602
+ unless params['Agents'].nil?
2603
+ @Agents = []
2604
+ params['Agents'].each do |i|
2605
+ prometheusclusteragentbasic_tmp = PrometheusClusterAgentBasic.new
2606
+ prometheusclusteragentbasic_tmp.deserialize(i)
2607
+ @Agents << prometheusclusteragentbasic_tmp
2608
+ end
2609
+ end
2594
2610
  end
2595
2611
  end
2596
2612
 
@@ -11269,6 +11285,98 @@ module TencentCloud
11269
11285
  end
11270
11286
  end
11271
11287
 
11288
+ # 与云监控融合托管prometheus实例,关联集群基础信息
11289
+ class PrometheusClusterAgentBasic < TencentCloud::Common::AbstractModel
11290
+ # @param Region: 集群ID
11291
+ # @type Region: String
11292
+ # @param ClusterType: 集群类型
11293
+ # @type ClusterType: String
11294
+ # @param ClusterId: 集群ID
11295
+ # @type ClusterId: String
11296
+ # @param EnableExternal: 是否开启公网CLB
11297
+ # @type EnableExternal: Boolean
11298
+ # @param InClusterPodConfig: 集群内部署组件的pod配置
11299
+ # @type InClusterPodConfig: :class:`Tencentcloud::Tke.v20180525.models.PrometheusClusterAgentPodConfig`
11300
+ # @param ExternalLabels: 该集群采集的所有指标都会带上这些labels
11301
+ # @type ExternalLabels: Array
11302
+ # @param NotInstallBasicScrape: 是否安装默认采集配置
11303
+ # @type NotInstallBasicScrape: Boolean
11304
+ # @param NotScrape: 是否采集指标,true代表drop所有指标,false代表采集默认指标
11305
+ # @type NotScrape: Boolean
11306
+
11307
+ attr_accessor :Region, :ClusterType, :ClusterId, :EnableExternal, :InClusterPodConfig, :ExternalLabels, :NotInstallBasicScrape, :NotScrape
11308
+
11309
+ def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil)
11310
+ @Region = region
11311
+ @ClusterType = clustertype
11312
+ @ClusterId = clusterid
11313
+ @EnableExternal = enableexternal
11314
+ @InClusterPodConfig = inclusterpodconfig
11315
+ @ExternalLabels = externallabels
11316
+ @NotInstallBasicScrape = notinstallbasicscrape
11317
+ @NotScrape = notscrape
11318
+ end
11319
+
11320
+ def deserialize(params)
11321
+ @Region = params['Region']
11322
+ @ClusterType = params['ClusterType']
11323
+ @ClusterId = params['ClusterId']
11324
+ @EnableExternal = params['EnableExternal']
11325
+ unless params['InClusterPodConfig'].nil?
11326
+ @InClusterPodConfig = PrometheusClusterAgentPodConfig.new
11327
+ @InClusterPodConfig.deserialize(params['InClusterPodConfig'])
11328
+ end
11329
+ unless params['ExternalLabels'].nil?
11330
+ @ExternalLabels = []
11331
+ params['ExternalLabels'].each do |i|
11332
+ label_tmp = Label.new
11333
+ label_tmp.deserialize(i)
11334
+ @ExternalLabels << label_tmp
11335
+ end
11336
+ end
11337
+ @NotInstallBasicScrape = params['NotInstallBasicScrape']
11338
+ @NotScrape = params['NotScrape']
11339
+ end
11340
+ end
11341
+
11342
+ # 关联集群时在集群内部署组件的pod额外配置
11343
+ class PrometheusClusterAgentPodConfig < TencentCloud::Common::AbstractModel
11344
+ # @param HostNet: 是否使用HostNetWork
11345
+ # @type HostNet: Boolean
11346
+ # @param NodeSelector: 指定pod运行节点
11347
+ # @type NodeSelector: Array
11348
+ # @param Tolerations: 容忍污点
11349
+ # @type Tolerations: Array
11350
+
11351
+ attr_accessor :HostNet, :NodeSelector, :Tolerations
11352
+
11353
+ def initialize(hostnet=nil, nodeselector=nil, tolerations=nil)
11354
+ @HostNet = hostnet
11355
+ @NodeSelector = nodeselector
11356
+ @Tolerations = tolerations
11357
+ end
11358
+
11359
+ def deserialize(params)
11360
+ @HostNet = params['HostNet']
11361
+ unless params['NodeSelector'].nil?
11362
+ @NodeSelector = []
11363
+ params['NodeSelector'].each do |i|
11364
+ label_tmp = Label.new
11365
+ label_tmp.deserialize(i)
11366
+ @NodeSelector << label_tmp
11367
+ end
11368
+ end
11369
+ unless params['Tolerations'].nil?
11370
+ @Tolerations = []
11371
+ params['Tolerations'].each do |i|
11372
+ toleration_tmp = Toleration.new
11373
+ toleration_tmp.deserialize(i)
11374
+ @Tolerations << toleration_tmp
11375
+ end
11376
+ end
11377
+ end
11378
+ end
11379
+
11272
11380
  # prometheus配置
11273
11381
  class PrometheusConfigItem < TencentCloud::Common::AbstractModel
11274
11382
  # @param Name: 名称
@@ -13060,6 +13168,30 @@ module TencentCloud
13060
13168
  end
13061
13169
  end
13062
13170
 
13171
+ # kubernetes Taint
13172
+ class Toleration < TencentCloud::Common::AbstractModel
13173
+ # @param Key: 容忍应用到的 taint key
13174
+ # @type Key: String
13175
+ # @param Operator: 键与值的关系
13176
+ # @type Operator: String
13177
+ # @param Effect: 要匹配的污点效果
13178
+ # @type Effect: String
13179
+
13180
+ attr_accessor :Key, :Operator, :Effect
13181
+
13182
+ def initialize(key=nil, operator=nil, effect=nil)
13183
+ @Key = key
13184
+ @Operator = operator
13185
+ @Effect = effect
13186
+ end
13187
+
13188
+ def deserialize(params)
13189
+ @Key = params['Key']
13190
+ @Operator = params['Operator']
13191
+ @Effect = params['Effect']
13192
+ end
13193
+ end
13194
+
13063
13195
  # UninstallLogAgent请求参数结构体
13064
13196
  class UninstallLogAgentRequest < TencentCloud::Common::AbstractModel
13065
13197
  # @param ClusterId: 集群ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.346
4
+ version: 1.0.347
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common