tencentcloud-sdk-monitor 3.0.912 → 3.0.913

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: 7b8209422c178cec4680f6fed79970918f9489b9
4
- data.tar.gz: 386c0bdf0dfb93058df2cd8898616dc826e868e0
3
+ metadata.gz: 8554cc5f294b8e66b310f725b786f5e225ea6b25
4
+ data.tar.gz: 41ca7a30eaf29f9854ac852c4a6af7aa30a5e1ab
5
5
  SHA512:
6
- metadata.gz: 1e06976e1508a83f0b8d3bfc72c915b9763f99dc3242463249fe376b912f110dd909dc2c5e565aeb34e56992afd6380a67c0a4e578466b3474004d3700a5f332
7
- data.tar.gz: b9c3af75527ebd5b0671ac9262741438bef39da9c275d5397fe4069003ebcad4beaeddb417ce7591dfb6fa29229828cc266e2b6683e8f52c0fdd0dd14add936f
6
+ metadata.gz: 87feeba306f59ff4f431b6f791df3c00a3596de7c985fcd79ae8083bbbc6cc0858481c05d25b81764afd3520dd650e824e474ca11156edf9a408afba55ddefbb
7
+ data.tar.gz: fe456b7c7655971d4c4954c24cae684f692b057700f61254fd7d094ad191529d219676719c6575325751cb573fc48a08d9524a0379fcaea1710720e351c68a85
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.912
1
+ 3.0.913
@@ -101,32 +101,6 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
- # 接口功能是检查是否为prometheus新用户,已有其他功能更加全面的接口替代
105
-
106
- # 判断用户是否为云原生监控新用户,即在任何地域下均未创建过监控实例的用户
107
-
108
- # @param request: Request instance for CheckIsPrometheusNewUser.
109
- # @type request: :class:`Tencentcloud::monitor::V20180724::CheckIsPrometheusNewUserRequest`
110
- # @rtype: :class:`Tencentcloud::monitor::V20180724::CheckIsPrometheusNewUserResponse`
111
- def CheckIsPrometheusNewUser(request)
112
- body = send_request('CheckIsPrometheusNewUser', request.serialize)
113
- response = JSON.parse(body)
114
- if response['Response'].key?('Error') == false
115
- model = CheckIsPrometheusNewUserResponse.new
116
- model.deserialize(response['Response'])
117
- model
118
- else
119
- code = response['Response']['Error']['Code']
120
- message = response['Response']['Error']['Message']
121
- reqid = response['Response']['RequestId']
122
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
- end
124
- rescue TencentCloud::Common::TencentCloudSDKException => e
125
- raise e
126
- rescue StandardError => e
127
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
- end
129
-
130
104
  # 强制销毁 Grafana 实例
131
105
 
132
106
  # @param request: Request instance for CleanGrafanaInstance.
@@ -2302,32 +2276,6 @@ module TencentCloud
2302
2276
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2303
2277
  end
2304
2278
 
2305
- # DescribePrometheusRecordRules 接口可完全代替该接口。近30天仅有3次调用,且都是报错请求
2306
-
2307
- # 拉取Prometheus聚合规则yaml列表
2308
-
2309
- # @param request: Request instance for DescribePrometheusRecordRuleYaml.
2310
- # @type request: :class:`Tencentcloud::monitor::V20180724::DescribePrometheusRecordRuleYamlRequest`
2311
- # @rtype: :class:`Tencentcloud::monitor::V20180724::DescribePrometheusRecordRuleYamlResponse`
2312
- def DescribePrometheusRecordRuleYaml(request)
2313
- body = send_request('DescribePrometheusRecordRuleYaml', request.serialize)
2314
- response = JSON.parse(body)
2315
- if response['Response'].key?('Error') == false
2316
- model = DescribePrometheusRecordRuleYamlResponse.new
2317
- model.deserialize(response['Response'])
2318
- model
2319
- else
2320
- code = response['Response']['Error']['Code']
2321
- message = response['Response']['Error']['Message']
2322
- reqid = response['Response']['RequestId']
2323
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2324
- end
2325
- rescue TencentCloud::Common::TencentCloudSDKException => e
2326
- raise e
2327
- rescue StandardError => e
2328
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2329
- end
2330
-
2331
2279
  # 获取聚合规则列表,包含关联集群内crd资源创建的record rule
2332
2280
 
2333
2281
  # @param request: Request instance for DescribePrometheusRecordRules.
@@ -1170,33 +1170,6 @@ module TencentCloud
1170
1170
  end
1171
1171
  end
1172
1172
 
1173
- # CheckIsPrometheusNewUser请求参数结构体
1174
- class CheckIsPrometheusNewUserRequest < TencentCloud::Common::AbstractModel
1175
-
1176
-
1177
- def initialize()
1178
- end
1179
-
1180
- def deserialize(params)
1181
- end
1182
- end
1183
-
1184
- # CheckIsPrometheusNewUser返回参数结构体
1185
- class CheckIsPrometheusNewUserResponse < TencentCloud::Common::AbstractModel
1186
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1187
- # @type RequestId: String
1188
-
1189
- attr_accessor :RequestId
1190
-
1191
- def initialize(requestid=nil)
1192
- @RequestId = requestid
1193
- end
1194
-
1195
- def deserialize(params)
1196
- @RequestId = params['RequestId']
1197
- end
1198
- end
1199
-
1200
1173
  # CleanGrafanaInstance请求参数结构体
1201
1174
  class CleanGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
1202
1175
  # @param InstanceId: Grafana 实例 ID,例如:grafana-abcdefgh
@@ -8326,59 +8299,6 @@ module TencentCloud
8326
8299
  end
8327
8300
  end
8328
8301
 
8329
- # DescribePrometheusRecordRuleYaml请求参数结构体
8330
- class DescribePrometheusRecordRuleYamlRequest < TencentCloud::Common::AbstractModel
8331
- # @param InstanceId: 实例id
8332
- # @type InstanceId: String
8333
- # @param Offset: 分页
8334
- # @type Offset: Integer
8335
- # @param Limit: 分页
8336
- # @type Limit: Integer
8337
- # @param Filters: 过滤,当前支持
8338
- # Name = Name
8339
- # Values = 目标名称列表
8340
- # @type Filters: Array
8341
-
8342
- attr_accessor :InstanceId, :Offset, :Limit, :Filters
8343
-
8344
- def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
8345
- @InstanceId = instanceid
8346
- @Offset = offset
8347
- @Limit = limit
8348
- @Filters = filters
8349
- end
8350
-
8351
- def deserialize(params)
8352
- @InstanceId = params['InstanceId']
8353
- @Offset = params['Offset']
8354
- @Limit = params['Limit']
8355
- unless params['Filters'].nil?
8356
- @Filters = []
8357
- params['Filters'].each do |i|
8358
- filter_tmp = Filter.new
8359
- filter_tmp.deserialize(i)
8360
- @Filters << filter_tmp
8361
- end
8362
- end
8363
- end
8364
- end
8365
-
8366
- # DescribePrometheusRecordRuleYaml返回参数结构体
8367
- class DescribePrometheusRecordRuleYamlResponse < TencentCloud::Common::AbstractModel
8368
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8369
- # @type RequestId: String
8370
-
8371
- attr_accessor :RequestId
8372
-
8373
- def initialize(requestid=nil)
8374
- @RequestId = requestid
8375
- end
8376
-
8377
- def deserialize(params)
8378
- @RequestId = params['RequestId']
8379
- end
8380
- end
8381
-
8382
8302
  # DescribePrometheusRecordRules请求参数结构体
8383
8303
  class DescribePrometheusRecordRulesRequest < TencentCloud::Common::AbstractModel
8384
8304
  # @param InstanceId: Prometheus 实例 ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.912
4
+ version: 3.0.913
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-09-23 00:00:00.000000000 Z
11
+ date: 2024-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common