tencentcloud-sdk-tke 1.0.314 → 1.0.315

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e9f91f506325782e13276dce27d9050da940f84
4
- data.tar.gz: 30fea1a4e9e2cac594403d440663b62164af40e5
3
+ metadata.gz: e873b5a9b6585e1cc13266a4fdcc2c965ba350d8
4
+ data.tar.gz: e73bbf647ce73060ee76a7311e5115dcf9678154
5
5
  SHA512:
6
- metadata.gz: 1e6e050da2cdc589e7fd57456a17d8b57cddc0b8638dc06d8a2bcb9ca816e68fafd00b3050625bb4a8d4bb42ef1f244d72e7d2fbfdf718c927f026c95ac33ef7
7
- data.tar.gz: a027a98329c69ba3b7363b332aa03f3d5b353c60a297e894828723ae618f8c111c1d77e67239e37a483c4f7d87790062eb06812a6289bbfa4c9c1f18266277f0
6
+ metadata.gz: 3e5157be14482afd9bdd531c886404b03899e254b43c4c93a6ef6fc824bb9ecaca70a05f850fac69764705dfc71dcf2fa8ac27bd943f2f60e764e07cc871c250
7
+ data.tar.gz: de4ba85a132d7434f2c845519598c2a4c58f55544cd7879f248c92f8261d9e43ee76a702b0897879f83afc2ebaa4d0e5b29a59dc779e56386f0c6e0e5e54a3d5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.314
1
+ 1.0.315
@@ -2767,6 +2767,30 @@ module TencentCloud
2767
2767
 
2768
2768
  # 修改模板内容
2769
2769
 
2770
+ # @param request: Request instance for ModifyPrometheusTemp.
2771
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusTempRequest`
2772
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusTempResponse`
2773
+ def ModifyPrometheusTemp(request)
2774
+ body = send_request('ModifyPrometheusTemp', request.serialize)
2775
+ response = JSON.parse(body)
2776
+ if response['Response'].key?('Error') == false
2777
+ model = ModifyPrometheusTempResponse.new
2778
+ model.deserialize(response['Response'])
2779
+ model
2780
+ else
2781
+ code = response['Response']['Error']['Code']
2782
+ message = response['Response']['Error']['Message']
2783
+ reqid = response['Response']['RequestId']
2784
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2785
+ end
2786
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2787
+ raise e
2788
+ rescue StandardError => e
2789
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2790
+ end
2791
+
2792
+ # 修改模板内容
2793
+
2770
2794
  # @param request: Request instance for ModifyPrometheusTemplate.
2771
2795
  # @type request: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusTemplateRequest`
2772
2796
  # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyPrometheusTemplateResponse`
@@ -8283,6 +8283,33 @@ module TencentCloud
8283
8283
  end
8284
8284
  end
8285
8285
 
8286
+ # ModifyPrometheusTemp请求参数结构体
8287
+ class ModifyPrometheusTempRequest < TencentCloud::Common::AbstractModel
8288
+
8289
+
8290
+ def initialize()
8291
+ end
8292
+
8293
+ def deserialize(params)
8294
+ end
8295
+ end
8296
+
8297
+ # ModifyPrometheusTemp返回参数结构体
8298
+ class ModifyPrometheusTempResponse < TencentCloud::Common::AbstractModel
8299
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8300
+ # @type RequestId: String
8301
+
8302
+ attr_accessor :RequestId
8303
+
8304
+ def initialize(requestid=nil)
8305
+ @RequestId = requestid
8306
+ end
8307
+
8308
+ def deserialize(params)
8309
+ @RequestId = params['RequestId']
8310
+ end
8311
+ end
8312
+
8286
8313
  # ModifyPrometheusTemplate请求参数结构体
8287
8314
  class ModifyPrometheusTemplateRequest < TencentCloud::Common::AbstractModel
8288
8315
  # @param TemplateId: 模板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.314
4
+ version: 1.0.315
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-05-17 00:00:00.000000000 Z
11
+ date: 2022-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common