tencentcloud-sdk-tke 1.0.345 → 1.0.348

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/v20180525/models.rb +133 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f5d5feaa8831d4418b74284d6ad39e614bb747d
4
- data.tar.gz: c84741784b3eba30abba08501fbf7c74b7515181
3
+ metadata.gz: 94632d58a4f24e6c339840fecedde25e677862ce
4
+ data.tar.gz: b5553c01bb8df5807fff96258bdb4885e9c1c5b5
5
5
  SHA512:
6
- metadata.gz: 635600c72be4c7818d983a54f37a00591d626253adafa7b0fa1d2b29278d6f54d8ed591b9a2a405807109033892feaf0f2092ff8bbc3046ec27663a8b6054ae4
7
- data.tar.gz: 85b6a212cb1b4ba7db435e01a224c7b54741009113dac8efbfadaa69d91c3c70874668c65446234a1f0a635343c14d995d652b5bd2fbef4fd8994a85a7578154
6
+ metadata.gz: ab2a2dc5bdbec67c7384a0f87427bd1d993654bcae2adb03d70b3aa49c146b382cc4e1a3355c3dcca6ec22f2e6f77415c45abb7cd5177554ba2e65c4e7e2b517
7
+ data.tar.gz: 8a4d32ee10e65031e4f6ff958788f349ae30e5258c6d3ae2cd1a2172c13051e0ab0911dec722dc3882d30afd5015f8bc73d4eb3a04b7022d4bb09a7ed7e234b4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.345
1
+ 1.0.348
@@ -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.345
4
+ version: 1.0.348
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-06-30 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common