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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +27 -0
- 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: e873b5a9b6585e1cc13266a4fdcc2c965ba350d8
|
4
|
+
data.tar.gz: e73bbf647ce73060ee76a7311e5115dcf9678154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e5157be14482afd9bdd531c886404b03899e254b43c4c93a6ef6fc824bb9ecaca70a05f850fac69764705dfc71dcf2fa8ac27bd943f2f60e764e07cc871c250
|
7
|
+
data.tar.gz: de4ba85a132d7434f2c845519598c2a4c58f55544cd7879f248c92f8261d9e43ee76a702b0897879f83afc2ebaa4d0e5b29a59dc779e56386f0c6e0e5e54a3d5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.315
|
data/lib/v20180525/client.rb
CHANGED
@@ -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`
|
data/lib/v20180525/models.rb
CHANGED
@@ -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.
|
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-
|
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
|