tencentcloud-sdk-apm 3.0.1144 → 3.0.1169
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/v20210622/client.rb +264 -0
- data/lib/v20210622/models.rb +1207 -57
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e116e69c25a7fdea236a8403184f44f968625e52
|
|
4
|
+
data.tar.gz: 53f6381d8e84f9894ae636837553f16ee558b11a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c861dd064fc1aca058e16732ae072ed72988e03cccab138e0cb5f8e622171d9a51471d26deb43ff1114e0a8ca92f1b83ac93a419943e9e448d9c802e78cd883
|
|
7
|
+
data.tar.gz: 2493a911f0b3bb4bac440ca638d056d067fe0f2fbfcf1435ddaf3f8679e8daeeacc78b577241b54121164e8128790b001148d7aa6d5f822189ad65c961758460
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1169
|
data/lib/v20210622/client.rb
CHANGED
|
@@ -53,6 +53,54 @@ module TencentCloud
|
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
# 用于创建apm业务系统与Prometheus实例的指标匹配规则
|
|
57
|
+
|
|
58
|
+
# @param request: Request instance for CreateApmPrometheusRule.
|
|
59
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::CreateApmPrometheusRuleRequest`
|
|
60
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::CreateApmPrometheusRuleResponse`
|
|
61
|
+
def CreateApmPrometheusRule(request)
|
|
62
|
+
body = send_request('CreateApmPrometheusRule', request.serialize)
|
|
63
|
+
response = JSON.parse(body)
|
|
64
|
+
if response['Response'].key?('Error') == false
|
|
65
|
+
model = CreateApmPrometheusRuleResponse.new
|
|
66
|
+
model.deserialize(response['Response'])
|
|
67
|
+
model
|
|
68
|
+
else
|
|
69
|
+
code = response['Response']['Error']['Code']
|
|
70
|
+
message = response['Response']['Error']['Message']
|
|
71
|
+
reqid = response['Response']['RequestId']
|
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
73
|
+
end
|
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
75
|
+
raise e
|
|
76
|
+
rescue StandardError => e
|
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# 创建采样配置接口
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for CreateApmSampleConfig.
|
|
83
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::CreateApmSampleConfigRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::CreateApmSampleConfigResponse`
|
|
85
|
+
def CreateApmSampleConfig(request)
|
|
86
|
+
body = send_request('CreateApmSampleConfig', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = CreateApmSampleConfigResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
56
104
|
# 创建事件任务
|
|
57
105
|
|
|
58
106
|
# @param request: Request instance for CreateProfileTask.
|
|
@@ -77,6 +125,30 @@ module TencentCloud
|
|
|
77
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
126
|
end
|
|
79
127
|
|
|
128
|
+
# 删除采样配置接口
|
|
129
|
+
|
|
130
|
+
# @param request: Request instance for DeleteApmSampleConfig.
|
|
131
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::DeleteApmSampleConfigRequest`
|
|
132
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::DeleteApmSampleConfigResponse`
|
|
133
|
+
def DeleteApmSampleConfig(request)
|
|
134
|
+
body = send_request('DeleteApmSampleConfig', request.serialize)
|
|
135
|
+
response = JSON.parse(body)
|
|
136
|
+
if response['Response'].key?('Error') == false
|
|
137
|
+
model = DeleteApmSampleConfigResponse.new
|
|
138
|
+
model.deserialize(response['Response'])
|
|
139
|
+
model
|
|
140
|
+
else
|
|
141
|
+
code = response['Response']['Error']['Code']
|
|
142
|
+
message = response['Response']['Error']['Message']
|
|
143
|
+
reqid = response['Response']['RequestId']
|
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
145
|
+
end
|
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
147
|
+
raise e
|
|
148
|
+
rescue StandardError => e
|
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
150
|
+
end
|
|
151
|
+
|
|
80
152
|
# 获取 APM 接入点
|
|
81
153
|
|
|
82
154
|
# @param request: Request instance for DescribeApmAgent.
|
|
@@ -101,6 +173,54 @@ module TencentCloud
|
|
|
101
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
174
|
end
|
|
103
175
|
|
|
176
|
+
# 查询应用配置接口
|
|
177
|
+
|
|
178
|
+
# @param request: Request instance for DescribeApmApplicationConfig.
|
|
179
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmApplicationConfigRequest`
|
|
180
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::DescribeApmApplicationConfigResponse`
|
|
181
|
+
def DescribeApmApplicationConfig(request)
|
|
182
|
+
body = send_request('DescribeApmApplicationConfig', request.serialize)
|
|
183
|
+
response = JSON.parse(body)
|
|
184
|
+
if response['Response'].key?('Error') == false
|
|
185
|
+
model = DescribeApmApplicationConfigResponse.new
|
|
186
|
+
model.deserialize(response['Response'])
|
|
187
|
+
model
|
|
188
|
+
else
|
|
189
|
+
code = response['Response']['Error']['Code']
|
|
190
|
+
message = response['Response']['Error']['Message']
|
|
191
|
+
reqid = response['Response']['RequestId']
|
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
193
|
+
end
|
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
195
|
+
raise e
|
|
196
|
+
rescue StandardError => e
|
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# 用于查询apm业务系统与其他产品的关联关系
|
|
201
|
+
|
|
202
|
+
# @param request: Request instance for DescribeApmAssociation.
|
|
203
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmAssociationRequest`
|
|
204
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::DescribeApmAssociationResponse`
|
|
205
|
+
def DescribeApmAssociation(request)
|
|
206
|
+
body = send_request('DescribeApmAssociation', request.serialize)
|
|
207
|
+
response = JSON.parse(body)
|
|
208
|
+
if response['Response'].key?('Error') == false
|
|
209
|
+
model = DescribeApmAssociationResponse.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
|
+
|
|
104
224
|
# 获取 APM 业务系统列表
|
|
105
225
|
|
|
106
226
|
# @param request: Request instance for DescribeApmInstances.
|
|
@@ -125,6 +245,54 @@ module TencentCloud
|
|
|
125
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
126
246
|
end
|
|
127
247
|
|
|
248
|
+
# 用于查询apm业务系统与Prometheus实例的指标匹配规则
|
|
249
|
+
|
|
250
|
+
# @param request: Request instance for DescribeApmPrometheusRule.
|
|
251
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmPrometheusRuleRequest`
|
|
252
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::DescribeApmPrometheusRuleResponse`
|
|
253
|
+
def DescribeApmPrometheusRule(request)
|
|
254
|
+
body = send_request('DescribeApmPrometheusRule', request.serialize)
|
|
255
|
+
response = JSON.parse(body)
|
|
256
|
+
if response['Response'].key?('Error') == false
|
|
257
|
+
model = DescribeApmPrometheusRuleResponse.new
|
|
258
|
+
model.deserialize(response['Response'])
|
|
259
|
+
model
|
|
260
|
+
else
|
|
261
|
+
code = response['Response']['Error']['Code']
|
|
262
|
+
message = response['Response']['Error']['Message']
|
|
263
|
+
reqid = response['Response']['RequestId']
|
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
265
|
+
end
|
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
267
|
+
raise e
|
|
268
|
+
rescue StandardError => e
|
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# 查询采样配置接口
|
|
273
|
+
|
|
274
|
+
# @param request: Request instance for DescribeApmSampleConfig.
|
|
275
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmSampleConfigRequest`
|
|
276
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::DescribeApmSampleConfigResponse`
|
|
277
|
+
def DescribeApmSampleConfig(request)
|
|
278
|
+
body = send_request('DescribeApmSampleConfig', request.serialize)
|
|
279
|
+
response = JSON.parse(body)
|
|
280
|
+
if response['Response'].key?('Error') == false
|
|
281
|
+
model = DescribeApmSampleConfigResponse.new
|
|
282
|
+
model.deserialize(response['Response'])
|
|
283
|
+
model
|
|
284
|
+
else
|
|
285
|
+
code = response['Response']['Error']['Code']
|
|
286
|
+
message = response['Response']['Error']['Message']
|
|
287
|
+
reqid = response['Response']['RequestId']
|
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
289
|
+
end
|
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
291
|
+
raise e
|
|
292
|
+
rescue StandardError => e
|
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
294
|
+
end
|
|
295
|
+
|
|
128
296
|
# 获取 APM 应用指标列表
|
|
129
297
|
|
|
130
298
|
# @param request: Request instance for DescribeApmServiceMetric.
|
|
@@ -318,6 +486,54 @@ module TencentCloud
|
|
|
318
486
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
319
487
|
end
|
|
320
488
|
|
|
489
|
+
# 修改应用配置接口
|
|
490
|
+
|
|
491
|
+
# @param request: Request instance for ModifyApmApplicationConfig.
|
|
492
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::ModifyApmApplicationConfigRequest`
|
|
493
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::ModifyApmApplicationConfigResponse`
|
|
494
|
+
def ModifyApmApplicationConfig(request)
|
|
495
|
+
body = send_request('ModifyApmApplicationConfig', request.serialize)
|
|
496
|
+
response = JSON.parse(body)
|
|
497
|
+
if response['Response'].key?('Error') == false
|
|
498
|
+
model = ModifyApmApplicationConfigResponse.new
|
|
499
|
+
model.deserialize(response['Response'])
|
|
500
|
+
model
|
|
501
|
+
else
|
|
502
|
+
code = response['Response']['Error']['Code']
|
|
503
|
+
message = response['Response']['Error']['Message']
|
|
504
|
+
reqid = response['Response']['RequestId']
|
|
505
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
506
|
+
end
|
|
507
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
508
|
+
raise e
|
|
509
|
+
rescue StandardError => e
|
|
510
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# 用于修改apm业务系统与其他产品的关联关系(包括创建和删除)
|
|
514
|
+
|
|
515
|
+
# @param request: Request instance for ModifyApmAssociation.
|
|
516
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::ModifyApmAssociationRequest`
|
|
517
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::ModifyApmAssociationResponse`
|
|
518
|
+
def ModifyApmAssociation(request)
|
|
519
|
+
body = send_request('ModifyApmAssociation', request.serialize)
|
|
520
|
+
response = JSON.parse(body)
|
|
521
|
+
if response['Response'].key?('Error') == false
|
|
522
|
+
model = ModifyApmAssociationResponse.new
|
|
523
|
+
model.deserialize(response['Response'])
|
|
524
|
+
model
|
|
525
|
+
else
|
|
526
|
+
code = response['Response']['Error']['Code']
|
|
527
|
+
message = response['Response']['Error']['Message']
|
|
528
|
+
reqid = response['Response']['RequestId']
|
|
529
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
530
|
+
end
|
|
531
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
532
|
+
raise e
|
|
533
|
+
rescue StandardError => e
|
|
534
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
535
|
+
end
|
|
536
|
+
|
|
321
537
|
# 修改APM业务系统接口
|
|
322
538
|
|
|
323
539
|
# @param request: Request instance for ModifyApmInstance.
|
|
@@ -342,6 +558,54 @@ module TencentCloud
|
|
|
342
558
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
343
559
|
end
|
|
344
560
|
|
|
561
|
+
# 用于修改apm业务系统与Prometheus实例的指标匹配规则
|
|
562
|
+
|
|
563
|
+
# @param request: Request instance for ModifyApmPrometheusRule.
|
|
564
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::ModifyApmPrometheusRuleRequest`
|
|
565
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::ModifyApmPrometheusRuleResponse`
|
|
566
|
+
def ModifyApmPrometheusRule(request)
|
|
567
|
+
body = send_request('ModifyApmPrometheusRule', request.serialize)
|
|
568
|
+
response = JSON.parse(body)
|
|
569
|
+
if response['Response'].key?('Error') == false
|
|
570
|
+
model = ModifyApmPrometheusRuleResponse.new
|
|
571
|
+
model.deserialize(response['Response'])
|
|
572
|
+
model
|
|
573
|
+
else
|
|
574
|
+
code = response['Response']['Error']['Code']
|
|
575
|
+
message = response['Response']['Error']['Message']
|
|
576
|
+
reqid = response['Response']['RequestId']
|
|
577
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
578
|
+
end
|
|
579
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
580
|
+
raise e
|
|
581
|
+
rescue StandardError => e
|
|
582
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
# 修改采样配置接口
|
|
586
|
+
|
|
587
|
+
# @param request: Request instance for ModifyApmSampleConfig.
|
|
588
|
+
# @type request: :class:`Tencentcloud::apm::V20210622::ModifyApmSampleConfigRequest`
|
|
589
|
+
# @rtype: :class:`Tencentcloud::apm::V20210622::ModifyApmSampleConfigResponse`
|
|
590
|
+
def ModifyApmSampleConfig(request)
|
|
591
|
+
body = send_request('ModifyApmSampleConfig', request.serialize)
|
|
592
|
+
response = JSON.parse(body)
|
|
593
|
+
if response['Response'].key?('Error') == false
|
|
594
|
+
model = ModifyApmSampleConfigResponse.new
|
|
595
|
+
model.deserialize(response['Response'])
|
|
596
|
+
model
|
|
597
|
+
else
|
|
598
|
+
code = response['Response']['Error']['Code']
|
|
599
|
+
message = response['Response']['Error']['Message']
|
|
600
|
+
reqid = response['Response']['RequestId']
|
|
601
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
602
|
+
end
|
|
603
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
604
|
+
raise e
|
|
605
|
+
rescue StandardError => e
|
|
606
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
607
|
+
end
|
|
608
|
+
|
|
345
609
|
# 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
346
610
|
|
|
347
611
|
# @param request: Request instance for ModifyGeneralApmApplicationConfig.
|