tencentcloud-sdk-tcm 3.0.441 → 3.0.443

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: 4a5a89df71e42edc3f219942e5016c25f3417cd6
4
- data.tar.gz: 8c63fdd2a01c7605d9dc248e104b662fca47cc91
3
+ metadata.gz: fb9fef6509002ea2a52e086223d7bd0d04932fce
4
+ data.tar.gz: e2f7a41aee34cb8529d87243fcab748add9757f2
5
5
  SHA512:
6
- metadata.gz: 40476d37c2883b9e4084df858f7a9a6654f74c80d9675b91cc105906cbf77e5c290cca960e781121d8ad9e788b5404a6437efc3b858b0af1df6e48b6fbcd56f5
7
- data.tar.gz: 9ee26e58070b50423a52191df7a137b07ad68c5a9e70620b99f819fb6f4417f79135374e720dae90257b0141c9fb4e14e40415d42328ed0bf06887cb10dffe80
6
+ metadata.gz: 4b51fee4d19d0c0591d80162892c916047ee4734a0987cf240c9f2a515bd44f281f3dc533c413bf042d2b195c96e10399c8954ee97707a982322e302a43d1831
7
+ data.tar.gz: 4fdbb04d7516562f7395c0d40307a511b91cdbb9f8ac27a1decd67da91b9fbfe807e046f0fa5481928ac43eb8082238090d3f8543e83c471d859c71640a412a1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.441
1
+ 3.0.443
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 修改 Tracing 配置
201
+
202
+ # @param request: Request instance for ModifyTracingConfig.
203
+ # @type request: :class:`Tencentcloud::tcm::V20210413::ModifyTracingConfigRequest`
204
+ # @rtype: :class:`Tencentcloud::tcm::V20210413::ModifyTracingConfigResponse`
205
+ def ModifyTracingConfig(request)
206
+ body = send_request('ModifyTracingConfig', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = ModifyTracingConfigResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 解关联集群
201
225
 
202
226
  # @param request: Request instance for UnlinkCluster.
@@ -1483,6 +1483,60 @@ module TencentCloud
1483
1483
  end
1484
1484
  end
1485
1485
 
1486
+ # ModifyTracingConfig请求参数结构体
1487
+ class ModifyTracingConfigRequest < TencentCloud::Common::AbstractModel
1488
+ # @param MeshId: mesh名字
1489
+ # @type MeshId: String
1490
+ # @param Enable: 是否启用调用跟踪
1491
+ # @type Enable: Boolean
1492
+ # @param APM: 腾讯云 APM 服务相关参数
1493
+ # @type APM: :class:`Tencentcloud::Tcm.v20210413.models.APM`
1494
+ # @param Sampling: 调用跟踪采样值
1495
+ # @type Sampling: Float
1496
+ # @param Zipkin: 调用追踪Zipkin相关配置
1497
+ # @type Zipkin: :class:`Tencentcloud::Tcm.v20210413.models.TracingZipkin`
1498
+
1499
+ attr_accessor :MeshId, :Enable, :APM, :Sampling, :Zipkin
1500
+
1501
+ def initialize(meshid=nil, enable=nil, apm=nil, sampling=nil, zipkin=nil)
1502
+ @MeshId = meshid
1503
+ @Enable = enable
1504
+ @APM = apm
1505
+ @Sampling = sampling
1506
+ @Zipkin = zipkin
1507
+ end
1508
+
1509
+ def deserialize(params)
1510
+ @MeshId = params['MeshId']
1511
+ @Enable = params['Enable']
1512
+ unless params['APM'].nil?
1513
+ @APM = APM.new
1514
+ @APM.deserialize(params['APM'])
1515
+ end
1516
+ @Sampling = params['Sampling']
1517
+ unless params['Zipkin'].nil?
1518
+ @Zipkin = TracingZipkin.new
1519
+ @Zipkin.deserialize(params['Zipkin'])
1520
+ end
1521
+ end
1522
+ end
1523
+
1524
+ # ModifyTracingConfig返回参数结构体
1525
+ class ModifyTracingConfigResponse < TencentCloud::Common::AbstractModel
1526
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1527
+ # @type RequestId: String
1528
+
1529
+ attr_accessor :RequestId
1530
+
1531
+ def initialize(requestid=nil)
1532
+ @RequestId = requestid
1533
+ end
1534
+
1535
+ def deserialize(params)
1536
+ @RequestId = params['RequestId']
1537
+ end
1538
+ end
1539
+
1486
1540
  # PodsMetricSource 定义了如何根据特定指标进行扩缩容
1487
1541
  class PodsMetricSource < TencentCloud::Common::AbstractModel
1488
1542
  # @param MetricName: 指标名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.441
4
+ version: 3.0.443
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-11-01 00:00:00.000000000 Z
11
+ date: 2022-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-tcm.rb
37
36
  - lib/v20210413/models.rb
38
37
  - lib/v20210413/client.rb
38
+ - lib/tencentcloud-sdk-tcm.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: