tencentcloud-sdk-tke 3.0.850 → 3.0.852

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1606bde56c6cdadf761a34715e108bb69c70c3c
4
- data.tar.gz: 1640b131376a2aed3895d876a32fbcd78522209c
3
+ metadata.gz: 0521b3530f80ede59c0cce10048feef7dfaabe2c
4
+ data.tar.gz: 7bec2522fed8b9d196faea617ce24a2b82576017
5
5
  SHA512:
6
- metadata.gz: 0cf842936e1debdb4631f9ea8417dfdd3813edb807f3830f61f45ed3a7ee252c4408bc1eca660b1ffdbae7061ef2c85b3bbc0f9aa9970182a854d725f8cd5cd6
7
- data.tar.gz: 85652c294b31c0360e349abe243c760573432279ad76df242909d24c408349519c7b1eaa55192cfcb1738e5dd0f907e9a3b26f38998c55ea93e59a17b3a53e81
6
+ metadata.gz: 9fa638bf9f5c5a795323a61a18149debcc8af0324d809bf6952be637c03a9fc9d78b8f00ef82034b4266e8d550a3d06809d0c010461c00dc1077cc3829a6840d
7
+ data.tar.gz: 8aecc06f7718b2c8f6dede2a4a26c27a104ac3c1e7702edbd9a426d4e670198011e058455cf2531b9688499fb739b873b26eb45978000dcdf0c025b94ddf715e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.850
1
+ 3.0.852
@@ -749,7 +749,7 @@ module TencentCloud
749
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
750
  end
751
751
 
752
- # 创建prometheus配置
752
+ # 创建集群采集配置
753
753
 
754
754
  # @param request: Request instance for CreatePrometheusConfig.
755
755
  # @type request: :class:`Tencentcloud::tke::V20180525::CreatePrometheusConfigRequest`
@@ -821,7 +821,7 @@ module TencentCloud
821
821
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
822
  end
823
823
 
824
- # 以Yaml的方式创建聚合规则
824
+ # 创建聚合规则yaml方式
825
825
 
826
826
  # @param request: Request instance for CreatePrometheusRecordRuleYaml.
827
827
  # @type request: :class:`Tencentcloud::tke::V20180525::CreatePrometheusRecordRuleYamlRequest`
@@ -1445,7 +1445,7 @@ module TencentCloud
1445
1445
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
1446
  end
1447
1447
 
1448
- # 删除Prometheus配置,如果目标不存在,将返回成功
1448
+ # 删除集群采集配置
1449
1449
 
1450
1450
  # @param request: Request instance for DeletePrometheusConfig.
1451
1451
  # @type request: :class:`Tencentcloud::tke::V20180525::DeletePrometheusConfigRequest`
@@ -1469,7 +1469,7 @@ module TencentCloud
1469
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
1470
  end
1471
1471
 
1472
- # 删除聚合实例
1472
+ # 删除聚合规则
1473
1473
 
1474
1474
  # @param request: Request instance for DeletePrometheusRecordRuleYaml.
1475
1475
  # @type request: :class:`Tencentcloud::tke::V20180525::DeletePrometheusRecordRuleYamlRequest`
@@ -3175,7 +3175,7 @@ module TencentCloud
3175
3175
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3176
3176
  end
3177
3177
 
3178
- # 拉取Prometheus配置
3178
+ # 获取集群采集配置
3179
3179
 
3180
3180
  # @param request: Request instance for DescribePrometheusConfig.
3181
3181
  # @type request: :class:`Tencentcloud::tke::V20180525::DescribePrometheusConfigRequest`
@@ -4639,7 +4639,7 @@ module TencentCloud
4639
4639
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4640
4640
  end
4641
4641
 
4642
- # 修改prometheus配置,如果配置项不存在,则会新增
4642
+ # 修改集群采集配置
4643
4643
 
4644
4644
  # @param request: Request instance for ModifyPrometheusConfig.
4645
4645
  # @type request: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusConfigRequest`
@@ -4687,7 +4687,7 @@ module TencentCloud
4687
4687
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4688
4688
  end
4689
4689
 
4690
- # 通过yaml的方式修改Prometheus聚合实例
4690
+ # 修改聚合规则yaml方式
4691
4691
 
4692
4692
  # @param request: Request instance for ModifyPrometheusRecordRuleYaml.
4693
4693
  # @type request: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusRecordRuleYamlRequest`
@@ -3373,16 +3373,19 @@ module TencentCloud
3373
3373
  # @type PodMonitors: Array
3374
3374
  # @param RawJobs: prometheus原生Job配置
3375
3375
  # @type RawJobs: Array
3376
+ # @param Probes: Probe 配置
3377
+ # @type Probes: Array
3376
3378
 
3377
- attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs
3379
+ attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes
3378
3380
 
3379
- def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil)
3381
+ def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil)
3380
3382
  @InstanceId = instanceid
3381
3383
  @ClusterType = clustertype
3382
3384
  @ClusterId = clusterid
3383
3385
  @ServiceMonitors = servicemonitors
3384
3386
  @PodMonitors = podmonitors
3385
3387
  @RawJobs = rawjobs
3388
+ @Probes = probes
3386
3389
  end
3387
3390
 
3388
3391
  def deserialize(params)
@@ -3413,6 +3416,14 @@ module TencentCloud
3413
3416
  @RawJobs << prometheusconfigitem_tmp
3414
3417
  end
3415
3418
  end
3419
+ unless params['Probes'].nil?
3420
+ @Probes = []
3421
+ params['Probes'].each do |i|
3422
+ prometheusconfigitem_tmp = PrometheusConfigItem.new
3423
+ prometheusconfigitem_tmp.deserialize(i)
3424
+ @Probes << prometheusconfigitem_tmp
3425
+ end
3426
+ end
3416
3427
  end
3417
3428
  end
3418
3429
 
@@ -4669,12 +4680,15 @@ module TencentCloud
4669
4680
  # @type Agents: Array
4670
4681
  # @param InstanceId: 实例id
4671
4682
  # @type InstanceId: String
4683
+ # @param Force: 在7天可回收期间,强制解除绑定
4684
+ # @type Force: Boolean
4672
4685
 
4673
- attr_accessor :Agents, :InstanceId
4686
+ attr_accessor :Agents, :InstanceId, :Force
4674
4687
 
4675
- def initialize(agents=nil, instanceid=nil)
4688
+ def initialize(agents=nil, instanceid=nil, force=nil)
4676
4689
  @Agents = agents
4677
4690
  @InstanceId = instanceid
4691
+ @Force = force
4678
4692
  end
4679
4693
 
4680
4694
  def deserialize(params)
@@ -4687,6 +4701,7 @@ module TencentCloud
4687
4701
  end
4688
4702
  end
4689
4703
  @InstanceId = params['InstanceId']
4704
+ @Force = params['Force']
4690
4705
  end
4691
4706
  end
4692
4707
 
@@ -4720,16 +4735,19 @@ module TencentCloud
4720
4735
  # @type PodMonitors: Array
4721
4736
  # @param RawJobs: 要删除的RawJobs名字列表
4722
4737
  # @type RawJobs: Array
4738
+ # @param Probes: 要删除的Probe名字列表
4739
+ # @type Probes: Array
4723
4740
 
4724
- attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs
4741
+ attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes
4725
4742
 
4726
- def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil)
4743
+ def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil)
4727
4744
  @InstanceId = instanceid
4728
4745
  @ClusterType = clustertype
4729
4746
  @ClusterId = clusterid
4730
4747
  @ServiceMonitors = servicemonitors
4731
4748
  @PodMonitors = podmonitors
4732
4749
  @RawJobs = rawjobs
4750
+ @Probes = probes
4733
4751
  end
4734
4752
 
4735
4753
  def deserialize(params)
@@ -4739,6 +4757,7 @@ module TencentCloud
4739
4757
  @ServiceMonitors = params['ServiceMonitors']
4740
4758
  @PodMonitors = params['PodMonitors']
4741
4759
  @RawJobs = params['RawJobs']
4760
+ @Probes = params['Probes']
4742
4761
  end
4743
4762
  end
4744
4763
 
@@ -8691,16 +8710,19 @@ module TencentCloud
8691
8710
  # @type PodMonitors: Array
8692
8711
  # @param RawJobs: 原生Job
8693
8712
  # @type RawJobs: Array
8713
+ # @param Probes: Probe配置
8714
+ # @type Probes: Array
8694
8715
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8695
8716
  # @type RequestId: String
8696
8717
 
8697
- attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :RequestId
8718
+ attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes, :RequestId
8698
8719
 
8699
- def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, requestid=nil)
8720
+ def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil, requestid=nil)
8700
8721
  @Config = config
8701
8722
  @ServiceMonitors = servicemonitors
8702
8723
  @PodMonitors = podmonitors
8703
8724
  @RawJobs = rawjobs
8725
+ @Probes = probes
8704
8726
  @RequestId = requestid
8705
8727
  end
8706
8728
 
@@ -8730,6 +8752,14 @@ module TencentCloud
8730
8752
  @RawJobs << prometheusconfigitem_tmp
8731
8753
  end
8732
8754
  end
8755
+ unless params['Probes'].nil?
8756
+ @Probes = []
8757
+ params['Probes'].each do |i|
8758
+ prometheusconfigitem_tmp = PrometheusConfigItem.new
8759
+ prometheusconfigitem_tmp.deserialize(i)
8760
+ @Probes << prometheusconfigitem_tmp
8761
+ end
8762
+ end
8733
8763
  @RequestId = params['RequestId']
8734
8764
  end
8735
8765
  end
@@ -14161,16 +14191,19 @@ module TencentCloud
14161
14191
  # @type PodMonitors: Array
14162
14192
  # @param RawJobs: prometheus原生Job配置
14163
14193
  # @type RawJobs: Array
14194
+ # @param Probes: Probes 配置
14195
+ # @type Probes: Array
14164
14196
 
14165
- attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs
14197
+ attr_accessor :InstanceId, :ClusterType, :ClusterId, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes
14166
14198
 
14167
- def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil)
14199
+ def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil)
14168
14200
  @InstanceId = instanceid
14169
14201
  @ClusterType = clustertype
14170
14202
  @ClusterId = clusterid
14171
14203
  @ServiceMonitors = servicemonitors
14172
14204
  @PodMonitors = podmonitors
14173
14205
  @RawJobs = rawjobs
14206
+ @Probes = probes
14174
14207
  end
14175
14208
 
14176
14209
  def deserialize(params)
@@ -14201,6 +14234,14 @@ module TencentCloud
14201
14234
  @RawJobs << prometheusconfigitem_tmp
14202
14235
  end
14203
14236
  end
14237
+ unless params['Probes'].nil?
14238
+ @Probes = []
14239
+ params['Probes'].each do |i|
14240
+ prometheusconfigitem_tmp = PrometheusConfigItem.new
14241
+ prometheusconfigitem_tmp.deserialize(i)
14242
+ @Probes << prometheusconfigitem_tmp
14243
+ end
14244
+ end
14204
14245
  end
14205
14246
  end
14206
14247
 
@@ -15064,19 +15105,23 @@ module TencentCloud
15064
15105
  # @type ClusterId: String
15065
15106
  # @param Describe: 备注
15066
15107
  # @type Describe: String
15108
+ # @param Region: 集群所在地域
15109
+ # @type Region: String
15067
15110
 
15068
- attr_accessor :ClusterType, :ClusterId, :Describe
15111
+ attr_accessor :ClusterType, :ClusterId, :Describe, :Region
15069
15112
 
15070
- def initialize(clustertype=nil, clusterid=nil, describe=nil)
15113
+ def initialize(clustertype=nil, clusterid=nil, describe=nil, region=nil)
15071
15114
  @ClusterType = clustertype
15072
15115
  @ClusterId = clusterid
15073
15116
  @Describe = describe
15117
+ @Region = region
15074
15118
  end
15075
15119
 
15076
15120
  def deserialize(params)
15077
15121
  @ClusterType = params['ClusterType']
15078
15122
  @ClusterId = params['ClusterId']
15079
15123
  @Describe = params['Describe']
15124
+ @Region = params['Region']
15080
15125
  end
15081
15126
  end
15082
15127
 
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: 3.0.850
4
+ version: 3.0.852
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-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common