tencentcloud-sdk-tke 1.0.346 → 1.0.349
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/v20180525/client.rb +1 -1
- data/lib/v20180525/models.rb +147 -3
- 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: d17108281296bc03fbd31594b44fd9df4b5260a7
|
4
|
+
data.tar.gz: 97d0d11ed8dc446694d749a36c411cbc99d1b09e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5184fb219ec5fa28267ff55927320591039d1c394717f88023deba887e16ed55b84b706bc5252ffa21977e1db84d82886a706e736760ced0a319f037cb81a111
|
7
|
+
data.tar.gz: 3c06cce41de7182185f48c4bb81bc30dba1e5e3a2e96248550a1139ce671689f95629e5dd9da80c40d0fcb8a6e875a71fcc2ab33f51ee1d4bce79b81efc85ec5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.349
|
data/lib/v20180525/client.rb
CHANGED
@@ -2789,7 +2789,7 @@ module TencentCloud
|
|
2789
2789
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2790
2790
|
end
|
2791
2791
|
|
2792
|
-
#
|
2792
|
+
# 获取边缘脚本链接,此接口用于添加第三方节点,通过下载脚本从而将节点添加到边缘集群。
|
2793
2793
|
|
2794
2794
|
# @param request: Request instance for DescribeTKEEdgeScript.
|
2795
2795
|
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeScriptRequest`
|
data/lib/v20180525/models.rb
CHANGED
@@ -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
|
|
@@ -7494,16 +7510,28 @@ module TencentCloud
|
|
7494
7510
|
|
7495
7511
|
# DescribeTKEEdgeScript返回参数结构体
|
7496
7512
|
class DescribeTKEEdgeScriptResponse < TencentCloud::Common::AbstractModel
|
7513
|
+
# @param Link: 下载链接
|
7514
|
+
# @type Link: String
|
7515
|
+
# @param Token: 下载需要的token
|
7516
|
+
# @type Token: String
|
7517
|
+
# @param Command: 下载命令
|
7518
|
+
# @type Command: String
|
7497
7519
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7498
7520
|
# @type RequestId: String
|
7499
7521
|
|
7500
|
-
attr_accessor :RequestId
|
7522
|
+
attr_accessor :Link, :Token, :Command, :RequestId
|
7501
7523
|
|
7502
|
-
def initialize(requestid=nil)
|
7524
|
+
def initialize(link=nil, token=nil, command=nil, requestid=nil)
|
7525
|
+
@Link = link
|
7526
|
+
@Token = token
|
7527
|
+
@Command = command
|
7503
7528
|
@RequestId = requestid
|
7504
7529
|
end
|
7505
7530
|
|
7506
7531
|
def deserialize(params)
|
7532
|
+
@Link = params['Link']
|
7533
|
+
@Token = params['Token']
|
7534
|
+
@Command = params['Command']
|
7507
7535
|
@RequestId = params['RequestId']
|
7508
7536
|
end
|
7509
7537
|
end
|
@@ -11269,6 +11297,98 @@ module TencentCloud
|
|
11269
11297
|
end
|
11270
11298
|
end
|
11271
11299
|
|
11300
|
+
# 与云监控融合托管prometheus实例,关联集群基础信息
|
11301
|
+
class PrometheusClusterAgentBasic < TencentCloud::Common::AbstractModel
|
11302
|
+
# @param Region: 集群ID
|
11303
|
+
# @type Region: String
|
11304
|
+
# @param ClusterType: 集群类型
|
11305
|
+
# @type ClusterType: String
|
11306
|
+
# @param ClusterId: 集群ID
|
11307
|
+
# @type ClusterId: String
|
11308
|
+
# @param EnableExternal: 是否开启公网CLB
|
11309
|
+
# @type EnableExternal: Boolean
|
11310
|
+
# @param InClusterPodConfig: 集群内部署组件的pod配置
|
11311
|
+
# @type InClusterPodConfig: :class:`Tencentcloud::Tke.v20180525.models.PrometheusClusterAgentPodConfig`
|
11312
|
+
# @param ExternalLabels: 该集群采集的所有指标都会带上这些labels
|
11313
|
+
# @type ExternalLabels: Array
|
11314
|
+
# @param NotInstallBasicScrape: 是否安装默认采集配置
|
11315
|
+
# @type NotInstallBasicScrape: Boolean
|
11316
|
+
# @param NotScrape: 是否采集指标,true代表drop所有指标,false代表采集默认指标
|
11317
|
+
# @type NotScrape: Boolean
|
11318
|
+
|
11319
|
+
attr_accessor :Region, :ClusterType, :ClusterId, :EnableExternal, :InClusterPodConfig, :ExternalLabels, :NotInstallBasicScrape, :NotScrape
|
11320
|
+
|
11321
|
+
def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil)
|
11322
|
+
@Region = region
|
11323
|
+
@ClusterType = clustertype
|
11324
|
+
@ClusterId = clusterid
|
11325
|
+
@EnableExternal = enableexternal
|
11326
|
+
@InClusterPodConfig = inclusterpodconfig
|
11327
|
+
@ExternalLabels = externallabels
|
11328
|
+
@NotInstallBasicScrape = notinstallbasicscrape
|
11329
|
+
@NotScrape = notscrape
|
11330
|
+
end
|
11331
|
+
|
11332
|
+
def deserialize(params)
|
11333
|
+
@Region = params['Region']
|
11334
|
+
@ClusterType = params['ClusterType']
|
11335
|
+
@ClusterId = params['ClusterId']
|
11336
|
+
@EnableExternal = params['EnableExternal']
|
11337
|
+
unless params['InClusterPodConfig'].nil?
|
11338
|
+
@InClusterPodConfig = PrometheusClusterAgentPodConfig.new
|
11339
|
+
@InClusterPodConfig.deserialize(params['InClusterPodConfig'])
|
11340
|
+
end
|
11341
|
+
unless params['ExternalLabels'].nil?
|
11342
|
+
@ExternalLabels = []
|
11343
|
+
params['ExternalLabels'].each do |i|
|
11344
|
+
label_tmp = Label.new
|
11345
|
+
label_tmp.deserialize(i)
|
11346
|
+
@ExternalLabels << label_tmp
|
11347
|
+
end
|
11348
|
+
end
|
11349
|
+
@NotInstallBasicScrape = params['NotInstallBasicScrape']
|
11350
|
+
@NotScrape = params['NotScrape']
|
11351
|
+
end
|
11352
|
+
end
|
11353
|
+
|
11354
|
+
# 关联集群时在集群内部署组件的pod额外配置
|
11355
|
+
class PrometheusClusterAgentPodConfig < TencentCloud::Common::AbstractModel
|
11356
|
+
# @param HostNet: 是否使用HostNetWork
|
11357
|
+
# @type HostNet: Boolean
|
11358
|
+
# @param NodeSelector: 指定pod运行节点
|
11359
|
+
# @type NodeSelector: Array
|
11360
|
+
# @param Tolerations: 容忍污点
|
11361
|
+
# @type Tolerations: Array
|
11362
|
+
|
11363
|
+
attr_accessor :HostNet, :NodeSelector, :Tolerations
|
11364
|
+
|
11365
|
+
def initialize(hostnet=nil, nodeselector=nil, tolerations=nil)
|
11366
|
+
@HostNet = hostnet
|
11367
|
+
@NodeSelector = nodeselector
|
11368
|
+
@Tolerations = tolerations
|
11369
|
+
end
|
11370
|
+
|
11371
|
+
def deserialize(params)
|
11372
|
+
@HostNet = params['HostNet']
|
11373
|
+
unless params['NodeSelector'].nil?
|
11374
|
+
@NodeSelector = []
|
11375
|
+
params['NodeSelector'].each do |i|
|
11376
|
+
label_tmp = Label.new
|
11377
|
+
label_tmp.deserialize(i)
|
11378
|
+
@NodeSelector << label_tmp
|
11379
|
+
end
|
11380
|
+
end
|
11381
|
+
unless params['Tolerations'].nil?
|
11382
|
+
@Tolerations = []
|
11383
|
+
params['Tolerations'].each do |i|
|
11384
|
+
toleration_tmp = Toleration.new
|
11385
|
+
toleration_tmp.deserialize(i)
|
11386
|
+
@Tolerations << toleration_tmp
|
11387
|
+
end
|
11388
|
+
end
|
11389
|
+
end
|
11390
|
+
end
|
11391
|
+
|
11272
11392
|
# prometheus配置
|
11273
11393
|
class PrometheusConfigItem < TencentCloud::Common::AbstractModel
|
11274
11394
|
# @param Name: 名称
|
@@ -13060,6 +13180,30 @@ module TencentCloud
|
|
13060
13180
|
end
|
13061
13181
|
end
|
13062
13182
|
|
13183
|
+
# kubernetes Taint
|
13184
|
+
class Toleration < TencentCloud::Common::AbstractModel
|
13185
|
+
# @param Key: 容忍应用到的 taint key
|
13186
|
+
# @type Key: String
|
13187
|
+
# @param Operator: 键与值的关系
|
13188
|
+
# @type Operator: String
|
13189
|
+
# @param Effect: 要匹配的污点效果
|
13190
|
+
# @type Effect: String
|
13191
|
+
|
13192
|
+
attr_accessor :Key, :Operator, :Effect
|
13193
|
+
|
13194
|
+
def initialize(key=nil, operator=nil, effect=nil)
|
13195
|
+
@Key = key
|
13196
|
+
@Operator = operator
|
13197
|
+
@Effect = effect
|
13198
|
+
end
|
13199
|
+
|
13200
|
+
def deserialize(params)
|
13201
|
+
@Key = params['Key']
|
13202
|
+
@Operator = params['Operator']
|
13203
|
+
@Effect = params['Effect']
|
13204
|
+
end
|
13205
|
+
end
|
13206
|
+
|
13063
13207
|
# UninstallLogAgent请求参数结构体
|
13064
13208
|
class UninstallLogAgentRequest < TencentCloud::Common::AbstractModel
|
13065
13209
|
# @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.
|
4
|
+
version: 1.0.349
|
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-
|
11
|
+
date: 2022-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|