tencentcloud-sdk-cat 1.0.331 → 1.0.334

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.
@@ -17,554 +17,6 @@
17
17
  module TencentCloud
18
18
  module Cat
19
19
  module V20180409
20
- # 拨测分组
21
- class AgentGroup < TencentCloud::Common::AbstractModel
22
- # @param GroupId: 拨测分组ID
23
- # @type GroupId: Integer
24
- # @param GroupName: 拨测分组名称
25
- # @type GroupName: String
26
- # @param IsDefault: 是否默认拨测分组。1表示是,0表示否
27
- # @type IsDefault: Integer
28
- # @param TaskNum: 使用本拨测分组的任务数
29
- # @type TaskNum: Integer
30
- # @param GroupDetail: 拨测结点列表
31
- # @type GroupDetail: Array
32
- # @param MaxGroupNum: 最大拨测分组数
33
- # @type MaxGroupNum: Integer
34
-
35
- attr_accessor :GroupId, :GroupName, :IsDefault, :TaskNum, :GroupDetail, :MaxGroupNum
36
-
37
- def initialize(groupid=nil, groupname=nil, isdefault=nil, tasknum=nil, groupdetail=nil, maxgroupnum=nil)
38
- @GroupId = groupid
39
- @GroupName = groupname
40
- @IsDefault = isdefault
41
- @TaskNum = tasknum
42
- @GroupDetail = groupdetail
43
- @MaxGroupNum = maxgroupnum
44
- end
45
-
46
- def deserialize(params)
47
- @GroupId = params['GroupId']
48
- @GroupName = params['GroupName']
49
- @IsDefault = params['IsDefault']
50
- @TaskNum = params['TaskNum']
51
- unless params['GroupDetail'].nil?
52
- @GroupDetail = []
53
- params['GroupDetail'].each do |i|
54
- catagent_tmp = CatAgent.new
55
- catagent_tmp.deserialize(i)
56
- @GroupDetail << catagent_tmp
57
- end
58
- end
59
- @MaxGroupNum = params['MaxGroupNum']
60
- end
61
- end
62
-
63
- # 拨测告警信息
64
- class AlarmInfo < TencentCloud::Common::AbstractModel
65
- # @param ObjName: 告警对象的名称
66
- # @type ObjName: String
67
- # @param FirstOccurTime: 告警发生的时间
68
- # @type FirstOccurTime: String
69
- # @param LastOccurTime: 告警结束的时间
70
- # @type LastOccurTime: String
71
- # @param Status: 告警状态。1 表示已恢复,0 表示未恢复,2表示数据不足
72
- # @type Status: Integer
73
- # @param Content: 告警的内容
74
- # @type Content: String
75
- # @param TaskId: 拨测任务ID
76
- # @type TaskId: Integer
77
- # @param MetricName: 特征项名字
78
- # @type MetricName: String
79
- # @param MetricValue: 特征项数值
80
- # @type MetricValue: String
81
- # @param ObjId: 告警对象的ID
82
- # @type ObjId: String
83
-
84
- attr_accessor :ObjName, :FirstOccurTime, :LastOccurTime, :Status, :Content, :TaskId, :MetricName, :MetricValue, :ObjId
85
-
86
- def initialize(objname=nil, firstoccurtime=nil, lastoccurtime=nil, status=nil, content=nil, taskid=nil, metricname=nil, metricvalue=nil, objid=nil)
87
- @ObjName = objname
88
- @FirstOccurTime = firstoccurtime
89
- @LastOccurTime = lastoccurtime
90
- @Status = status
91
- @Content = content
92
- @TaskId = taskid
93
- @MetricName = metricname
94
- @MetricValue = metricvalue
95
- @ObjId = objid
96
- end
97
-
98
- def deserialize(params)
99
- @ObjName = params['ObjName']
100
- @FirstOccurTime = params['FirstOccurTime']
101
- @LastOccurTime = params['LastOccurTime']
102
- @Status = params['Status']
103
- @Content = params['Content']
104
- @TaskId = params['TaskId']
105
- @MetricName = params['MetricName']
106
- @MetricValue = params['MetricValue']
107
- @ObjId = params['ObjId']
108
- end
109
- end
110
-
111
- # 告警主题
112
- class AlarmTopic < TencentCloud::Common::AbstractModel
113
- # @param TopicId: 主题的ID
114
- # @type TopicId: String
115
- # @param TopicName: 主题的名称
116
- # @type TopicName: String
117
-
118
- attr_accessor :TopicId, :TopicName
119
-
120
- def initialize(topicid=nil, topicname=nil)
121
- @TopicId = topicid
122
- @TopicName = topicname
123
- end
124
-
125
- def deserialize(params)
126
- @TopicId = params['TopicId']
127
- @TopicName = params['TopicName']
128
- end
129
- end
130
-
131
- # BindAlarmPolicy请求参数结构体
132
- class BindAlarmPolicyRequest < TencentCloud::Common::AbstractModel
133
- # @param TaskId: 拨测任务Id
134
- # @type TaskId: Integer
135
- # @param PolicyGroupId: 告警策略组Id
136
- # @type PolicyGroupId: Integer
137
- # @param IfBind: 是否绑定操作。非0 为绑定, 0 为 解绑。缺省表示 绑定。
138
- # @type IfBind: Integer
139
- # @param TopicId: 告警主题Id
140
- # @type TopicId: String
141
-
142
- attr_accessor :TaskId, :PolicyGroupId, :IfBind, :TopicId
143
-
144
- def initialize(taskid=nil, policygroupid=nil, ifbind=nil, topicid=nil)
145
- @TaskId = taskid
146
- @PolicyGroupId = policygroupid
147
- @IfBind = ifbind
148
- @TopicId = topicid
149
- end
150
-
151
- def deserialize(params)
152
- @TaskId = params['TaskId']
153
- @PolicyGroupId = params['PolicyGroupId']
154
- @IfBind = params['IfBind']
155
- @TopicId = params['TopicId']
156
- end
157
- end
158
-
159
- # BindAlarmPolicy返回参数结构体
160
- class BindAlarmPolicyResponse < TencentCloud::Common::AbstractModel
161
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
162
- # @type RequestId: String
163
-
164
- attr_accessor :RequestId
165
-
166
- def initialize(requestid=nil)
167
- @RequestId = requestid
168
- end
169
-
170
- def deserialize(params)
171
- @RequestId = params['RequestId']
172
- end
173
- end
174
-
175
- # 拨测Agent 所在省份、运营商
176
- class CatAgent < TencentCloud::Common::AbstractModel
177
- # @param Province: 拨测结点所在的省份(拼音缩写)
178
- # @type Province: String
179
- # @param Isp: 拨测结点所在的运营商(英文缩写)
180
- # @type Isp: String
181
- # @param ProvinceName: 拨测结点所在的省份(中文名称)
182
- # 注意:此字段可能返回 null,表示取不到有效值。
183
- # @type ProvinceName: String
184
- # @param IspName: 拨测结点所在的运营商(中文名称)
185
- # 注意:此字段可能返回 null,表示取不到有效值。
186
- # @type IspName: String
187
-
188
- attr_accessor :Province, :Isp, :ProvinceName, :IspName
189
-
190
- def initialize(province=nil, isp=nil, provincename=nil, ispname=nil)
191
- @Province = province
192
- @Isp = isp
193
- @ProvinceName = provincename
194
- @IspName = ispname
195
- end
196
-
197
- def deserialize(params)
198
- @Province = params['Province']
199
- @Isp = params['Isp']
200
- @ProvinceName = params['ProvinceName']
201
- @IspName = params['IspName']
202
- end
203
- end
204
-
205
- # 拨测记录
206
- class CatLog < TencentCloud::Common::AbstractModel
207
- # @param Time: 拨测时间点
208
- # @type Time: String
209
- # @param CatTypeName: 拨测类型
210
- # @type CatTypeName: String
211
- # @param TaskId: 任务ID
212
- # @type TaskId: Integer
213
- # @param City: 拨测点所在城市
214
- # @type City: String
215
- # @param Isp: 拨测点所在运营商
216
- # @type Isp: String
217
- # @param ServerIp: 被拨测Server的IP
218
- # @type ServerIp: String
219
- # @param DomainName: 被拨测Server的域名
220
- # @type DomainName: String
221
- # @param TotalTime: 执行耗时,单位毫秒
222
- # @type TotalTime: Integer
223
- # @param ResultType: 成功失败(1 失败,0 成功)
224
- # @type ResultType: Integer
225
- # @param ResultCode: 失败错误码
226
- # @type ResultCode: Integer
227
- # @param ReqPkgSize: 请求包大小
228
- # @type ReqPkgSize: Integer
229
- # @param RspPkgSize: 回应包大小
230
- # @type RspPkgSize: Integer
231
- # @param ReqMsg: 拨测请求
232
- # @type ReqMsg: String
233
- # @param RespMsg: 拨测回应
234
- # @type RespMsg: String
235
- # @param ClientIp: 客户端IP
236
- # @type ClientIp: String
237
- # @param CityName: 拨测点所在城市名称
238
- # @type CityName: String
239
- # @param IspName: 拨测点所在运营商名称
240
- # @type IspName: String
241
- # @param ParseTime: 解析耗时,单位毫秒
242
- # @type ParseTime: Integer
243
- # @param ConnectTime: 连接耗时,单位毫秒
244
- # @type ConnectTime: Integer
245
- # @param SendTime: 数据发送耗时,单位毫秒
246
- # @type SendTime: Integer
247
- # @param WaitTime: 等待耗时,单位毫秒
248
- # @type WaitTime: Integer
249
- # @param ReceiveTime: 接收耗时,单位毫秒
250
- # @type ReceiveTime: Integer
251
-
252
- attr_accessor :Time, :CatTypeName, :TaskId, :City, :Isp, :ServerIp, :DomainName, :TotalTime, :ResultType, :ResultCode, :ReqPkgSize, :RspPkgSize, :ReqMsg, :RespMsg, :ClientIp, :CityName, :IspName, :ParseTime, :ConnectTime, :SendTime, :WaitTime, :ReceiveTime
253
-
254
- def initialize(time=nil, cattypename=nil, taskid=nil, city=nil, isp=nil, serverip=nil, domainname=nil, totaltime=nil, resulttype=nil, resultcode=nil, reqpkgsize=nil, rsppkgsize=nil, reqmsg=nil, respmsg=nil, clientip=nil, cityname=nil, ispname=nil, parsetime=nil, connecttime=nil, sendtime=nil, waittime=nil, receivetime=nil)
255
- @Time = time
256
- @CatTypeName = cattypename
257
- @TaskId = taskid
258
- @City = city
259
- @Isp = isp
260
- @ServerIp = serverip
261
- @DomainName = domainname
262
- @TotalTime = totaltime
263
- @ResultType = resulttype
264
- @ResultCode = resultcode
265
- @ReqPkgSize = reqpkgsize
266
- @RspPkgSize = rsppkgsize
267
- @ReqMsg = reqmsg
268
- @RespMsg = respmsg
269
- @ClientIp = clientip
270
- @CityName = cityname
271
- @IspName = ispname
272
- @ParseTime = parsetime
273
- @ConnectTime = connecttime
274
- @SendTime = sendtime
275
- @WaitTime = waittime
276
- @ReceiveTime = receivetime
277
- end
278
-
279
- def deserialize(params)
280
- @Time = params['Time']
281
- @CatTypeName = params['CatTypeName']
282
- @TaskId = params['TaskId']
283
- @City = params['City']
284
- @Isp = params['Isp']
285
- @ServerIp = params['ServerIp']
286
- @DomainName = params['DomainName']
287
- @TotalTime = params['TotalTime']
288
- @ResultType = params['ResultType']
289
- @ResultCode = params['ResultCode']
290
- @ReqPkgSize = params['ReqPkgSize']
291
- @RspPkgSize = params['RspPkgSize']
292
- @ReqMsg = params['ReqMsg']
293
- @RespMsg = params['RespMsg']
294
- @ClientIp = params['ClientIp']
295
- @CityName = params['CityName']
296
- @IspName = params['IspName']
297
- @ParseTime = params['ParseTime']
298
- @ConnectTime = params['ConnectTime']
299
- @SendTime = params['SendTime']
300
- @WaitTime = params['WaitTime']
301
- @ReceiveTime = params['ReceiveTime']
302
- end
303
- end
304
-
305
- # 拨测失败详情
306
- class CatReturnDetail < TencentCloud::Common::AbstractModel
307
- # @param IspName: 运营商名称
308
- # @type IspName: String
309
- # @param Province: 省份全拼
310
- # @type Province: String
311
- # @param ProvinceName: 省份中文名称
312
- # @type ProvinceName: String
313
- # @param MapKey: Map键值
314
- # @type MapKey: String
315
- # @param ServerIp: 拨测目标的IP
316
- # @type ServerIp: String
317
- # @param ResultCount: 拨测失败个数
318
- # @type ResultCount: Integer
319
- # @param ResultCode: 拨测失败返回码
320
- # @type ResultCode: Integer
321
- # @param ErrorReason: 拨测失败原因描述
322
- # @type ErrorReason: String
323
-
324
- attr_accessor :IspName, :Province, :ProvinceName, :MapKey, :ServerIp, :ResultCount, :ResultCode, :ErrorReason
325
-
326
- def initialize(ispname=nil, province=nil, provincename=nil, mapkey=nil, serverip=nil, resultcount=nil, resultcode=nil, errorreason=nil)
327
- @IspName = ispname
328
- @Province = province
329
- @ProvinceName = provincename
330
- @MapKey = mapkey
331
- @ServerIp = serverip
332
- @ResultCount = resultcount
333
- @ResultCode = resultcode
334
- @ErrorReason = errorreason
335
- end
336
-
337
- def deserialize(params)
338
- @IspName = params['IspName']
339
- @Province = params['Province']
340
- @ProvinceName = params['ProvinceName']
341
- @MapKey = params['MapKey']
342
- @ServerIp = params['ServerIp']
343
- @ResultCount = params['ResultCount']
344
- @ResultCode = params['ResultCode']
345
- @ErrorReason = params['ErrorReason']
346
- end
347
- end
348
-
349
- # 拨测失败返回情况汇总
350
- class CatReturnSummary < TencentCloud::Common::AbstractModel
351
- # @param ResultCount: 拨测失败个数
352
- # @type ResultCount: Integer
353
- # @param ResultCode: 拨测失败返回码
354
- # @type ResultCode: Integer
355
- # @param ErrorReason: 拨测失败原因描述
356
- # @type ErrorReason: String
357
-
358
- attr_accessor :ResultCount, :ResultCode, :ErrorReason
359
-
360
- def initialize(resultcount=nil, resultcode=nil, errorreason=nil)
361
- @ResultCount = resultcount
362
- @ResultCode = resultcode
363
- @ErrorReason = errorreason
364
- end
365
-
366
- def deserialize(params)
367
- @ResultCount = params['ResultCount']
368
- @ResultCode = params['ResultCode']
369
- @ErrorReason = params['ErrorReason']
370
- end
371
- end
372
-
373
- # 任务信息和告警策略组
374
- class CatTaskDetail < TencentCloud::Common::AbstractModel
375
- # @param TaskId: 任务ID
376
- # @type TaskId: Integer
377
- # @param TaskName: 任务名称
378
- # @type TaskName: String
379
- # @param Period: 任务周期,单位为分钟。目前支持1,5,15,30几种取值
380
- # @type Period: Integer
381
- # @param CatTypeName: 拨测类型。http, https, ping, tcp 之一
382
- # @type CatTypeName: String
383
- # @param CgiUrl: 拨测任务的URL
384
- # @type CgiUrl: String
385
- # @param AgentGroupId: 拨测分组ID
386
- # @type AgentGroupId: Integer
387
- # @param PolicyGroupId: 告警策略组ID
388
- # @type PolicyGroupId: Integer
389
- # @param Status: 任务状态。1表示暂停,2表示运行中,0为初始态
390
- # @type Status: Integer
391
- # @param AddTime: 任务创建时间
392
- # @type AddTime: String
393
- # @param Type: 任务类型。0 站点监控,2 可用性监控
394
- # @type Type: Integer
395
- # @param TopicId: 绑定的统一告警主题ID
396
- # @type TopicId: String
397
- # @param AlarmStatus: 告警状态。0 未启用,1, 启用
398
- # @type AlarmStatus: Integer
399
- # @param Host: 指定的域名
400
- # @type Host: String
401
- # @param Port: 拨测目标的端口号
402
- # @type Port: Integer
403
- # @param CheckStr: 要在结果中进行匹配的字符串
404
- # @type CheckStr: String
405
- # @param CheckType: 1 表示通过检查结果是否包含CheckStr 进行校验
406
- # @type CheckType: Integer
407
- # @param UserAgent: 用户Agent信息
408
- # @type UserAgent: String
409
- # @param Cookie: 设置的Cookie信息
410
- # @type Cookie: String
411
- # @param PostData: POST 请求数据。空字符串表示非POST请求
412
- # @type PostData: String
413
- # @param SslVer: SSL协议版本
414
- # @type SslVer: String
415
- # @param IsHeader: 是否为Header请求。非0 Header 请求
416
- # @type IsHeader: Integer
417
- # @param DnsSvr: 目的DNS服务器
418
- # @type DnsSvr: String
419
- # @param DnsCheckIp: 需要检验是否在DNS IP列表的IP
420
- # @type DnsCheckIp: String
421
- # @param DnsQueryType: DNS查询类型
422
- # @type DnsQueryType: String
423
- # @param UserName: 登录服务器的账号
424
- # @type UserName: String
425
- # @param PassWord: 登录服务器的密码
426
- # @type PassWord: String
427
- # @param UseSecConn: 是否使用安全链接SSL, 0 不使用,1 使用
428
- # @type UseSecConn: Integer
429
- # @param NeedAuth: FTP登录验证方式 0 不验证 1 匿名登录 2 需要身份验证
430
- # @type NeedAuth: Integer
431
- # @param ReqDataType: 请求数据类型。0 表示请求为字符串类型。1表示为二进制类型
432
- # @type ReqDataType: Integer
433
- # @param ReqData: 发起TCP, UDP请求的协议请求数据
434
- # @type ReqData: String
435
- # @param RespDataType: 响应数据类型。0 表示响应为字符串类型。1表示为二进制类型
436
- # @type RespDataType: Integer
437
- # @param RespData: 预期的UDP请求的回应数据
438
- # @type RespData: String
439
- # @param RedirectFollowNum: 跟随跳转次数
440
- # @type RedirectFollowNum: Integer
441
-
442
- attr_accessor :TaskId, :TaskName, :Period, :CatTypeName, :CgiUrl, :AgentGroupId, :PolicyGroupId, :Status, :AddTime, :Type, :TopicId, :AlarmStatus, :Host, :Port, :CheckStr, :CheckType, :UserAgent, :Cookie, :PostData, :SslVer, :IsHeader, :DnsSvr, :DnsCheckIp, :DnsQueryType, :UserName, :PassWord, :UseSecConn, :NeedAuth, :ReqDataType, :ReqData, :RespDataType, :RespData, :RedirectFollowNum
443
-
444
- def initialize(taskid=nil, taskname=nil, period=nil, cattypename=nil, cgiurl=nil, agentgroupid=nil, policygroupid=nil, status=nil, addtime=nil, type=nil, topicid=nil, alarmstatus=nil, host=nil, port=nil, checkstr=nil, checktype=nil, useragent=nil, cookie=nil, postdata=nil, sslver=nil, isheader=nil, dnssvr=nil, dnscheckip=nil, dnsquerytype=nil, username=nil, password=nil, usesecconn=nil, needauth=nil, reqdatatype=nil, reqdata=nil, respdatatype=nil, respdata=nil, redirectfollownum=nil)
445
- @TaskId = taskid
446
- @TaskName = taskname
447
- @Period = period
448
- @CatTypeName = cattypename
449
- @CgiUrl = cgiurl
450
- @AgentGroupId = agentgroupid
451
- @PolicyGroupId = policygroupid
452
- @Status = status
453
- @AddTime = addtime
454
- @Type = type
455
- @TopicId = topicid
456
- @AlarmStatus = alarmstatus
457
- @Host = host
458
- @Port = port
459
- @CheckStr = checkstr
460
- @CheckType = checktype
461
- @UserAgent = useragent
462
- @Cookie = cookie
463
- @PostData = postdata
464
- @SslVer = sslver
465
- @IsHeader = isheader
466
- @DnsSvr = dnssvr
467
- @DnsCheckIp = dnscheckip
468
- @DnsQueryType = dnsquerytype
469
- @UserName = username
470
- @PassWord = password
471
- @UseSecConn = usesecconn
472
- @NeedAuth = needauth
473
- @ReqDataType = reqdatatype
474
- @ReqData = reqdata
475
- @RespDataType = respdatatype
476
- @RespData = respdata
477
- @RedirectFollowNum = redirectfollownum
478
- end
479
-
480
- def deserialize(params)
481
- @TaskId = params['TaskId']
482
- @TaskName = params['TaskName']
483
- @Period = params['Period']
484
- @CatTypeName = params['CatTypeName']
485
- @CgiUrl = params['CgiUrl']
486
- @AgentGroupId = params['AgentGroupId']
487
- @PolicyGroupId = params['PolicyGroupId']
488
- @Status = params['Status']
489
- @AddTime = params['AddTime']
490
- @Type = params['Type']
491
- @TopicId = params['TopicId']
492
- @AlarmStatus = params['AlarmStatus']
493
- @Host = params['Host']
494
- @Port = params['Port']
495
- @CheckStr = params['CheckStr']
496
- @CheckType = params['CheckType']
497
- @UserAgent = params['UserAgent']
498
- @Cookie = params['Cookie']
499
- @PostData = params['PostData']
500
- @SslVer = params['SslVer']
501
- @IsHeader = params['IsHeader']
502
- @DnsSvr = params['DnsSvr']
503
- @DnsCheckIp = params['DnsCheckIp']
504
- @DnsQueryType = params['DnsQueryType']
505
- @UserName = params['UserName']
506
- @PassWord = params['PassWord']
507
- @UseSecConn = params['UseSecConn']
508
- @NeedAuth = params['NeedAuth']
509
- @ReqDataType = params['ReqDataType']
510
- @ReqData = params['ReqData']
511
- @RespDataType = params['RespDataType']
512
- @RespData = params['RespData']
513
- @RedirectFollowNum = params['RedirectFollowNum']
514
- end
515
- end
516
-
517
- # CreateAgentGroup请求参数结构体
518
- class CreateAgentGroupRequest < TencentCloud::Common::AbstractModel
519
- # @param GroupName: 拨测分组名称,不超过32个字符
520
- # @type GroupName: String
521
- # @param IsDefault: 是否为默认分组,取值可为 0 或 1。取 1 时表示设置为默认分组
522
- # @type IsDefault: Integer
523
- # @param Agents: Province, Isp 需要成对地进行选择。参数对的取值范围。参见:DescribeAgents 的返回结果。
524
- # @type Agents: Array
525
-
526
- attr_accessor :GroupName, :IsDefault, :Agents
527
-
528
- def initialize(groupname=nil, isdefault=nil, agents=nil)
529
- @GroupName = groupname
530
- @IsDefault = isdefault
531
- @Agents = agents
532
- end
533
-
534
- def deserialize(params)
535
- @GroupName = params['GroupName']
536
- @IsDefault = params['IsDefault']
537
- unless params['Agents'].nil?
538
- @Agents = []
539
- params['Agents'].each do |i|
540
- catagent_tmp = CatAgent.new
541
- catagent_tmp.deserialize(i)
542
- @Agents << catagent_tmp
543
- end
544
- end
545
- end
546
- end
547
-
548
- # CreateAgentGroup返回参数结构体
549
- class CreateAgentGroupResponse < TencentCloud::Common::AbstractModel
550
- # @param GroupId: 拨测分组Id
551
- # @type GroupId: Integer
552
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
553
- # @type RequestId: String
554
-
555
- attr_accessor :GroupId, :RequestId
556
-
557
- def initialize(groupid=nil, requestid=nil)
558
- @GroupId = groupid
559
- @RequestId = requestid
560
- end
561
-
562
- def deserialize(params)
563
- @GroupId = params['GroupId']
564
- @RequestId = params['RequestId']
565
- end
566
- end
567
-
568
20
  # CreateProbeTasks请求参数结构体
569
21
  class CreateProbeTasksRequest < TencentCloud::Common::AbstractModel
570
22
  # @param BatchTasks: 批量任务名-地址
@@ -657,237 +109,6 @@ module TencentCloud
657
109
  end
658
110
  end
659
111
 
660
- # CreateTaskEx请求参数结构体
661
- class CreateTaskExRequest < TencentCloud::Common::AbstractModel
662
- # @param CatTypeName: http, https, ping, tcp, ftp, smtp, udp, dns 之一
663
- # @type CatTypeName: String
664
- # @param Url: 拨测的URL, 例如:www.qq.com (URL域名解析需要能解析出具体的IP)
665
- # @type Url: String
666
- # @param Period: 拨测周期。取值可为1,5,15,30之一, 单位:分钟。精度不能低于用户等级规定的最小精度
667
- # @type Period: Integer
668
- # @param TaskName: 拨测任务名称不能超过32个字符。同一个用户创建的任务名不可重复
669
- # @type TaskName: String
670
- # @param AgentGroupId: 拨测分组ID,体现本拨测任务要采用哪些运营商作为拨测源。一般可直接填写本用户的默认拨测分组。参见:DescribeAgentGroups 接口,本参数使用返回结果里的GroupId的值。注意: Type为0时,AgentGroupId为必填
671
- # @type AgentGroupId: Integer
672
- # @param Host: 指定域名(如需要)
673
- # @type Host: String
674
- # @param IsHeader: 是否为Header请求(非0 发起Header 请求。为0,且PostData 非空,发起POST请求。为0,PostData 为空,发起GET请求)
675
- # @type IsHeader: Integer
676
- # @param SslVer: URL中含有"https"时有用。缺省为SSLv23。需要为 TLSv1_2, TLSv1_1, TLSv1, SSLv2, SSLv23, SSLv3 之一
677
- # @type SslVer: String
678
- # @param PostData: POST请求数据。空字符串表示非POST请求
679
- # @type PostData: String
680
- # @param UserAgent: 用户Agent信息
681
- # @type UserAgent: String
682
- # @param CheckStr: 要在结果中进行匹配的字符串
683
- # @type CheckStr: String
684
- # @param CheckType: 1 表示通过检查结果是否包含CheckStr 进行校验
685
- # @type CheckType: Integer
686
- # @param Cookie: 需要设置的Cookie信息
687
- # @type Cookie: String
688
- # @param TaskId: 任务ID,用于验证且修改任务时传入原任务ID
689
- # @type TaskId: Integer
690
- # @param UserName: 登录服务器的账号。如果为空字符串,表示不用校验用户密码。只做简单连接服务器的拨测
691
- # @type UserName: String
692
- # @param PassWord: 登录服务器的密码
693
- # @type PassWord: String
694
- # @param ReqDataType: 缺省为0。0 表示请求为字符串类型。1表示为二进制类型
695
- # @type ReqDataType: Integer
696
- # @param ReqData: 发起TCP, UDP请求的协议请求数据
697
- # @type ReqData: String
698
- # @param RespDataType: 缺省为0。0 表示响应为字符串类型。1表示为二进制类型
699
- # @type RespDataType: Integer
700
- # @param RespData: 预期的UDP请求的回应数据。字符串型,只需要返回的结果里包含本字符串算校验通过。二进制型,则需要严格等于才算通过
701
- # @type RespData: String
702
- # @param DnsSvr: 目的DNS服务器 可以为空字符串
703
- # @type DnsSvr: String
704
- # @param DnsCheckIp: 需要检验是否在DNS IP列表的IP。可以为空字符串,表示不校验
705
- # @type DnsCheckIp: String
706
- # @param DnsQueryType: 需要为下列值之一。缺省为A。A, MX, NS, CNAME, TXT, ANY
707
- # @type DnsQueryType: String
708
- # @param UseSecConn: 是否使用安全链接SSL, 0 不使用,1 使用
709
- # @type UseSecConn: Integer
710
- # @param NeedAuth: FTP登录验证方式, 0 不验证 , 1 匿名登录, 2 需要身份验证
711
- # @type NeedAuth: Integer
712
- # @param Port: 拨测目标的端口号
713
- # @type Port: Integer
714
- # @param Type: Type=0 默认 (站点监控)Type=2 可用率监控
715
- # @type Type: Integer
716
- # @param IsVerify: IsVerify=0 非验证任务 IsVerify=1 验证任务,不传则默认为0
717
- # @type IsVerify: Integer
718
- # @param RedirectFollowNum: 跟随跳转次数,取值范围0-5,不传则表示不跟随
719
- # @type RedirectFollowNum: Integer
720
-
721
- attr_accessor :CatTypeName, :Url, :Period, :TaskName, :AgentGroupId, :Host, :IsHeader, :SslVer, :PostData, :UserAgent, :CheckStr, :CheckType, :Cookie, :TaskId, :UserName, :PassWord, :ReqDataType, :ReqData, :RespDataType, :RespData, :DnsSvr, :DnsCheckIp, :DnsQueryType, :UseSecConn, :NeedAuth, :Port, :Type, :IsVerify, :RedirectFollowNum
722
-
723
- def initialize(cattypename=nil, url=nil, period=nil, taskname=nil, agentgroupid=nil, host=nil, isheader=nil, sslver=nil, postdata=nil, useragent=nil, checkstr=nil, checktype=nil, cookie=nil, taskid=nil, username=nil, password=nil, reqdatatype=nil, reqdata=nil, respdatatype=nil, respdata=nil, dnssvr=nil, dnscheckip=nil, dnsquerytype=nil, usesecconn=nil, needauth=nil, port=nil, type=nil, isverify=nil, redirectfollownum=nil)
724
- @CatTypeName = cattypename
725
- @Url = url
726
- @Period = period
727
- @TaskName = taskname
728
- @AgentGroupId = agentgroupid
729
- @Host = host
730
- @IsHeader = isheader
731
- @SslVer = sslver
732
- @PostData = postdata
733
- @UserAgent = useragent
734
- @CheckStr = checkstr
735
- @CheckType = checktype
736
- @Cookie = cookie
737
- @TaskId = taskid
738
- @UserName = username
739
- @PassWord = password
740
- @ReqDataType = reqdatatype
741
- @ReqData = reqdata
742
- @RespDataType = respdatatype
743
- @RespData = respdata
744
- @DnsSvr = dnssvr
745
- @DnsCheckIp = dnscheckip
746
- @DnsQueryType = dnsquerytype
747
- @UseSecConn = usesecconn
748
- @NeedAuth = needauth
749
- @Port = port
750
- @Type = type
751
- @IsVerify = isverify
752
- @RedirectFollowNum = redirectfollownum
753
- end
754
-
755
- def deserialize(params)
756
- @CatTypeName = params['CatTypeName']
757
- @Url = params['Url']
758
- @Period = params['Period']
759
- @TaskName = params['TaskName']
760
- @AgentGroupId = params['AgentGroupId']
761
- @Host = params['Host']
762
- @IsHeader = params['IsHeader']
763
- @SslVer = params['SslVer']
764
- @PostData = params['PostData']
765
- @UserAgent = params['UserAgent']
766
- @CheckStr = params['CheckStr']
767
- @CheckType = params['CheckType']
768
- @Cookie = params['Cookie']
769
- @TaskId = params['TaskId']
770
- @UserName = params['UserName']
771
- @PassWord = params['PassWord']
772
- @ReqDataType = params['ReqDataType']
773
- @ReqData = params['ReqData']
774
- @RespDataType = params['RespDataType']
775
- @RespData = params['RespData']
776
- @DnsSvr = params['DnsSvr']
777
- @DnsCheckIp = params['DnsCheckIp']
778
- @DnsQueryType = params['DnsQueryType']
779
- @UseSecConn = params['UseSecConn']
780
- @NeedAuth = params['NeedAuth']
781
- @Port = params['Port']
782
- @Type = params['Type']
783
- @IsVerify = params['IsVerify']
784
- @RedirectFollowNum = params['RedirectFollowNum']
785
- end
786
- end
787
-
788
- # CreateTaskEx返回参数结构体
789
- class CreateTaskExResponse < TencentCloud::Common::AbstractModel
790
- # @param ResultId: 拨测结果查询ID。接下来可以使用查询拨测是否能够成功,验证能否通过。
791
- # @type ResultId: Integer
792
- # @param TaskId: 拨测任务ID。验证通过后,创建任务时使用,传递给CreateTask 接口。
793
- # @type TaskId: Integer
794
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
795
- # @type RequestId: String
796
-
797
- attr_accessor :ResultId, :TaskId, :RequestId
798
-
799
- def initialize(resultid=nil, taskid=nil, requestid=nil)
800
- @ResultId = resultid
801
- @TaskId = taskid
802
- @RequestId = requestid
803
- end
804
-
805
- def deserialize(params)
806
- @ResultId = params['ResultId']
807
- @TaskId = params['TaskId']
808
- @RequestId = params['RequestId']
809
- end
810
- end
811
-
812
- # 时延等数据,数据点
813
- class DataPoint < TencentCloud::Common::AbstractModel
814
- # @param LogTime: 数据点的时间
815
- # @type LogTime: String
816
- # @param MetricValue: 数据值
817
- # @type MetricValue: Float
818
-
819
- attr_accessor :LogTime, :MetricValue
820
-
821
- def initialize(logtime=nil, metricvalue=nil)
822
- @LogTime = logtime
823
- @MetricValue = metricvalue
824
- end
825
-
826
- def deserialize(params)
827
- @LogTime = params['LogTime']
828
- @MetricValue = params['MetricValue']
829
- end
830
- end
831
-
832
- # 包含MetricName的DataPoint数据
833
- class DataPointMetric < TencentCloud::Common::AbstractModel
834
- # @param MetricName: 数据项
835
- # @type MetricName: String
836
- # @param Points: 数据点的时间和值
837
- # @type Points: Array
838
-
839
- attr_accessor :MetricName, :Points
840
-
841
- def initialize(metricname=nil, points=nil)
842
- @MetricName = metricname
843
- @Points = points
844
- end
845
-
846
- def deserialize(params)
847
- @MetricName = params['MetricName']
848
- unless params['Points'].nil?
849
- @Points = []
850
- params['Points'].each do |i|
851
- datapoint_tmp = DataPoint.new
852
- datapoint_tmp.deserialize(i)
853
- @Points << datapoint_tmp
854
- end
855
- end
856
- end
857
- end
858
-
859
- # DeleteAgentGroup请求参数结构体
860
- class DeleteAgentGroupRequest < TencentCloud::Common::AbstractModel
861
- # @param GroupId: 拨测分组id
862
- # @type GroupId: Integer
863
-
864
- attr_accessor :GroupId
865
-
866
- def initialize(groupid=nil)
867
- @GroupId = groupid
868
- end
869
-
870
- def deserialize(params)
871
- @GroupId = params['GroupId']
872
- end
873
- end
874
-
875
- # DeleteAgentGroup返回参数结构体
876
- class DeleteAgentGroupResponse < TencentCloud::Common::AbstractModel
877
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
878
- # @type RequestId: String
879
-
880
- attr_accessor :RequestId
881
-
882
- def initialize(requestid=nil)
883
- @RequestId = requestid
884
- end
885
-
886
- def deserialize(params)
887
- @RequestId = params['RequestId']
888
- end
889
- end
890
-
891
112
  # DeleteProbeTask请求参数结构体
892
113
  class DeleteProbeTaskRequest < TencentCloud::Common::AbstractModel
893
114
  # @param TaskIds: 任务 ID
@@ -941,438 +162,51 @@ module TencentCloud
941
162
  end
942
163
  end
943
164
 
944
- # DeleteTasks请求参数结构体
945
- class DeleteTasksRequest < TencentCloud::Common::AbstractModel
946
- # @param TaskIds: 拨测任务id
947
- # @type TaskIds: Array
165
+ # DescribeDetailedSingleProbeData请求参数结构体
166
+ class DescribeDetailedSingleProbeDataRequest < TencentCloud::Common::AbstractModel
167
+ # @param BeginTime: 开始时间戳(毫秒级)
168
+ # @type BeginTime: Integer
169
+ # @param EndTime: 结束时间戳(毫秒级)
170
+ # @type EndTime: Integer
171
+ # @param TaskType: 任务类型
172
+ # @type TaskType: String
173
+ # @param SortField: 待排序字段
174
+ # @type SortField: String
175
+ # @param Ascending: true表示升序
176
+ # @type Ascending: Boolean
177
+ # @param SelectedFields: 选中字段
178
+ # @type SelectedFields: Array
179
+ # @param Offset: 起始取数位置
180
+ # @type Offset: Integer
181
+ # @param Limit: 取数数量
182
+ # @type Limit: Integer
183
+ # @param TaskID: 任务ID
184
+ # @type TaskID: Array
185
+ # @param Operators: 拨测点运营商
186
+ # @type Operators: Array
187
+ # @param Districts: 拨测点地区
188
+ # @type Districts: Array
189
+ # @param ErrorTypes: 错误类型
190
+ # @type ErrorTypes: Array
191
+ # @param City: 城市
192
+ # @type City: Array
948
193
 
949
- attr_accessor :TaskIds
194
+ attr_accessor :BeginTime, :EndTime, :TaskType, :SortField, :Ascending, :SelectedFields, :Offset, :Limit, :TaskID, :Operators, :Districts, :ErrorTypes, :City
950
195
 
951
- def initialize(taskids=nil)
952
- @TaskIds = taskids
953
- end
954
-
955
- def deserialize(params)
956
- @TaskIds = params['TaskIds']
957
- end
958
- end
959
-
960
- # DeleteTasks返回参数结构体
961
- class DeleteTasksResponse < TencentCloud::Common::AbstractModel
962
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
963
- # @type RequestId: String
964
-
965
- attr_accessor :RequestId
966
-
967
- def initialize(requestid=nil)
968
- @RequestId = requestid
969
- end
970
-
971
- def deserialize(params)
972
- @RequestId = params['RequestId']
973
- end
974
- end
975
-
976
- # DescribeAgentGroups请求参数结构体
977
- class DescribeAgentGroupsRequest < TencentCloud::Common::AbstractModel
978
-
979
-
980
- def initialize()
981
- end
982
-
983
- def deserialize(params)
984
- end
985
- end
986
-
987
- # DescribeAgentGroups返回参数结构体
988
- class DescribeAgentGroupsResponse < TencentCloud::Common::AbstractModel
989
- # @param SysDefaultGroup: 用户所属的系统默认拨测分组
990
- # @type SysDefaultGroup: :class:`Tencentcloud::Cat.v20180409.models.AgentGroup`
991
- # @param CustomGroups: 用户创建的拨测分组列表
992
- # @type CustomGroups: Array
993
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
994
- # @type RequestId: String
995
-
996
- attr_accessor :SysDefaultGroup, :CustomGroups, :RequestId
997
-
998
- def initialize(sysdefaultgroup=nil, customgroups=nil, requestid=nil)
999
- @SysDefaultGroup = sysdefaultgroup
1000
- @CustomGroups = customgroups
1001
- @RequestId = requestid
1002
- end
1003
-
1004
- def deserialize(params)
1005
- unless params['SysDefaultGroup'].nil?
1006
- @SysDefaultGroup = AgentGroup.new
1007
- @SysDefaultGroup.deserialize(params['SysDefaultGroup'])
1008
- end
1009
- unless params['CustomGroups'].nil?
1010
- @CustomGroups = []
1011
- params['CustomGroups'].each do |i|
1012
- agentgroup_tmp = AgentGroup.new
1013
- agentgroup_tmp.deserialize(i)
1014
- @CustomGroups << agentgroup_tmp
1015
- end
1016
- end
1017
- @RequestId = params['RequestId']
1018
- end
1019
- end
1020
-
1021
- # DescribeAgents请求参数结构体
1022
- class DescribeAgentsRequest < TencentCloud::Common::AbstractModel
1023
-
1024
-
1025
- def initialize()
1026
- end
1027
-
1028
- def deserialize(params)
1029
- end
1030
- end
1031
-
1032
- # DescribeAgents返回参数结构体
1033
- class DescribeAgentsResponse < TencentCloud::Common::AbstractModel
1034
- # @param Agents: 本用户可选的拨测点列表
1035
- # @type Agents: Array
1036
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1037
- # @type RequestId: String
1038
-
1039
- attr_accessor :Agents, :RequestId
1040
-
1041
- def initialize(agents=nil, requestid=nil)
1042
- @Agents = agents
1043
- @RequestId = requestid
1044
- end
1045
-
1046
- def deserialize(params)
1047
- unless params['Agents'].nil?
1048
- @Agents = []
1049
- params['Agents'].each do |i|
1050
- catagent_tmp = CatAgent.new
1051
- catagent_tmp.deserialize(i)
1052
- @Agents << catagent_tmp
1053
- end
1054
- end
1055
- @RequestId = params['RequestId']
1056
- end
1057
- end
1058
-
1059
- # DescribeAlarmTopic请求参数结构体
1060
- class DescribeAlarmTopicRequest < TencentCloud::Common::AbstractModel
1061
- # @param NeedAdd: 如果不存在拨测相关的主题,是否自动创建一个。取值可为0, 1,默认为0
1062
- # @type NeedAdd: Integer
1063
-
1064
- attr_accessor :NeedAdd
1065
-
1066
- def initialize(needadd=nil)
1067
- @NeedAdd = needadd
1068
- end
1069
-
1070
- def deserialize(params)
1071
- @NeedAdd = params['NeedAdd']
1072
- end
1073
- end
1074
-
1075
- # DescribeAlarmTopic返回参数结构体
1076
- class DescribeAlarmTopicResponse < TencentCloud::Common::AbstractModel
1077
- # @param TotalCount: 主题个数
1078
- # @type TotalCount: Integer
1079
- # @param Topics: 主题列表
1080
- # @type Topics: Array
1081
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1082
- # @type RequestId: String
1083
-
1084
- attr_accessor :TotalCount, :Topics, :RequestId
1085
-
1086
- def initialize(totalcount=nil, topics=nil, requestid=nil)
1087
- @TotalCount = totalcount
1088
- @Topics = topics
1089
- @RequestId = requestid
1090
- end
1091
-
1092
- def deserialize(params)
1093
- @TotalCount = params['TotalCount']
1094
- unless params['Topics'].nil?
1095
- @Topics = []
1096
- params['Topics'].each do |i|
1097
- alarmtopic_tmp = AlarmTopic.new
1098
- alarmtopic_tmp.deserialize(i)
1099
- @Topics << alarmtopic_tmp
1100
- end
1101
- end
1102
- @RequestId = params['RequestId']
1103
- end
1104
- end
1105
-
1106
- # DescribeAlarmsByTask请求参数结构体
1107
- class DescribeAlarmsByTaskRequest < TencentCloud::Common::AbstractModel
1108
- # @param TaskId: 拨测任务Id
1109
- # @type TaskId: Integer
1110
- # @param Offset: 从第Offset 条开始查询。缺省值为0
1111
- # @type Offset: Integer
1112
- # @param Limit: 本批次查询Limit 条记录。缺省值为20
1113
- # @type Limit: Integer
1114
- # @param Status: 0 全部, 1 已恢复, 2 未恢复 默认为0。其他值,视为0 查全部状态
1115
- # @type Status: Integer
1116
- # @param BeginTime: 格式如:2017-05-09 00:00:00 缺省为7天前0点
1117
- # @type BeginTime: String
1118
- # @param EndTime: 格式如:2017-05-10 00:00:00 缺省为明天0点
1119
- # @type EndTime: String
1120
- # @param SortBy: 排序字段,可为Time, ObjName, Duration, Status, Content 之一。缺省为Time
1121
- # @type SortBy: String
1122
- # @param SortType: 升序或降序。可为Desc, Asc之一。缺省为Desc
1123
- # @type SortType: String
1124
- # @param ObjName: 告警对象的名称
1125
- # @type ObjName: String
1126
-
1127
- attr_accessor :TaskId, :Offset, :Limit, :Status, :BeginTime, :EndTime, :SortBy, :SortType, :ObjName
1128
-
1129
- def initialize(taskid=nil, offset=nil, limit=nil, status=nil, begintime=nil, endtime=nil, sortby=nil, sorttype=nil, objname=nil)
1130
- @TaskId = taskid
1131
- @Offset = offset
1132
- @Limit = limit
1133
- @Status = status
1134
- @BeginTime = begintime
1135
- @EndTime = endtime
1136
- @SortBy = sortby
1137
- @SortType = sorttype
1138
- @ObjName = objname
1139
- end
1140
-
1141
- def deserialize(params)
1142
- @TaskId = params['TaskId']
1143
- @Offset = params['Offset']
1144
- @Limit = params['Limit']
1145
- @Status = params['Status']
1146
- @BeginTime = params['BeginTime']
1147
- @EndTime = params['EndTime']
1148
- @SortBy = params['SortBy']
1149
- @SortType = params['SortType']
1150
- @ObjName = params['ObjName']
1151
- end
1152
- end
1153
-
1154
- # DescribeAlarmsByTask返回参数结构体
1155
- class DescribeAlarmsByTaskResponse < TencentCloud::Common::AbstractModel
1156
- # @param AlarmInfos: 告警信息列表
1157
- # @type AlarmInfos: Array
1158
- # @param FaultRatio: 故障率
1159
- # @type FaultRatio: Float
1160
- # @param FaultTimeSpec: 故障总时长
1161
- # @type FaultTimeSpec: String
1162
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1163
- # @type RequestId: String
1164
-
1165
- attr_accessor :AlarmInfos, :FaultRatio, :FaultTimeSpec, :RequestId
1166
-
1167
- def initialize(alarminfos=nil, faultratio=nil, faulttimespec=nil, requestid=nil)
1168
- @AlarmInfos = alarminfos
1169
- @FaultRatio = faultratio
1170
- @FaultTimeSpec = faulttimespec
1171
- @RequestId = requestid
1172
- end
1173
-
1174
- def deserialize(params)
1175
- unless params['AlarmInfos'].nil?
1176
- @AlarmInfos = []
1177
- params['AlarmInfos'].each do |i|
1178
- alarminfo_tmp = AlarmInfo.new
1179
- alarminfo_tmp.deserialize(i)
1180
- @AlarmInfos << alarminfo_tmp
1181
- end
1182
- end
1183
- @FaultRatio = params['FaultRatio']
1184
- @FaultTimeSpec = params['FaultTimeSpec']
1185
- @RequestId = params['RequestId']
1186
- end
1187
- end
1188
-
1189
- # DescribeAlarms请求参数结构体
1190
- class DescribeAlarmsRequest < TencentCloud::Common::AbstractModel
1191
- # @param Offset: 从第Offset 条开始查询。缺省值为0
1192
- # @type Offset: Integer
1193
- # @param Limit: 本批次查询Limit 条记录。缺省值为20
1194
- # @type Limit: Integer
1195
- # @param Status: 0 全部, 1 已恢复, 2 未恢复 默认为0。其他值,视为0 查全部状态。
1196
- # @type Status: Integer
1197
- # @param BeginTime: 格式如:2017-05-09 00:00:00 缺省为7天前0点
1198
- # @type BeginTime: String
1199
- # @param EndTime: 格式如:2017-05-10 00:00:00 缺省为明天0点
1200
- # @type EndTime: String
1201
- # @param ObjName: 告警任务名
1202
- # @type ObjName: String
1203
- # @param SortBy: 排序字段,可为Time, ObjName, Duration, Status, Content 之一。缺省为Time。
1204
- # @type SortBy: String
1205
- # @param SortType: 升序或降序。可为Desc, Asc之一。缺省为Desc。
1206
- # @type SortType: String
1207
-
1208
- attr_accessor :Offset, :Limit, :Status, :BeginTime, :EndTime, :ObjName, :SortBy, :SortType
1209
-
1210
- def initialize(offset=nil, limit=nil, status=nil, begintime=nil, endtime=nil, objname=nil, sortby=nil, sorttype=nil)
1211
- @Offset = offset
1212
- @Limit = limit
1213
- @Status = status
1214
- @BeginTime = begintime
1215
- @EndTime = endtime
1216
- @ObjName = objname
1217
- @SortBy = sortby
1218
- @SortType = sorttype
1219
- end
1220
-
1221
- def deserialize(params)
1222
- @Offset = params['Offset']
1223
- @Limit = params['Limit']
1224
- @Status = params['Status']
1225
- @BeginTime = params['BeginTime']
1226
- @EndTime = params['EndTime']
1227
- @ObjName = params['ObjName']
1228
- @SortBy = params['SortBy']
1229
- @SortType = params['SortType']
1230
- end
1231
- end
1232
-
1233
- # DescribeAlarms返回参数结构体
1234
- class DescribeAlarmsResponse < TencentCloud::Common::AbstractModel
1235
- # @param TotalCount: 告警总条数
1236
- # @type TotalCount: Integer
1237
- # @param AlarmInfos: 本批告警信息列表
1238
- # @type AlarmInfos: Array
1239
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1240
- # @type RequestId: String
1241
-
1242
- attr_accessor :TotalCount, :AlarmInfos, :RequestId
1243
-
1244
- def initialize(totalcount=nil, alarminfos=nil, requestid=nil)
1245
- @TotalCount = totalcount
1246
- @AlarmInfos = alarminfos
1247
- @RequestId = requestid
1248
- end
1249
-
1250
- def deserialize(params)
1251
- @TotalCount = params['TotalCount']
1252
- unless params['AlarmInfos'].nil?
1253
- @AlarmInfos = []
1254
- params['AlarmInfos'].each do |i|
1255
- alarminfo_tmp = AlarmInfo.new
1256
- alarminfo_tmp.deserialize(i)
1257
- @AlarmInfos << alarminfo_tmp
1258
- end
1259
- end
1260
- @RequestId = params['RequestId']
1261
- end
1262
- end
1263
-
1264
- # DescribeCatLogs请求参数结构体
1265
- class DescribeCatLogsRequest < TencentCloud::Common::AbstractModel
1266
- # @param TaskId: 拨测任务Id
1267
- # @type TaskId: Integer
1268
- # @param Offset: 从第Offset 条开始查询。缺省值为0
1269
- # @type Offset: Integer
1270
- # @param Limit: 本批次查询Limit 条记录。缺省值为20
1271
- # @type Limit: Integer
1272
- # @param BeginTime: 格式如:2017-05-09 00:00:00 缺省为当天0点,最多拉取1天的数据
1273
- # @type BeginTime: String
1274
- # @param EndTime: 格式如:2017-05-10 00:00:00 缺省为当前时间
1275
- # @type EndTime: String
1276
- # @param SortType: 按时间升序或降序。默认降序。可选值: Desc, Asc
1277
- # @type SortType: String
1278
-
1279
- attr_accessor :TaskId, :Offset, :Limit, :BeginTime, :EndTime, :SortType
1280
-
1281
- def initialize(taskid=nil, offset=nil, limit=nil, begintime=nil, endtime=nil, sorttype=nil)
1282
- @TaskId = taskid
1283
- @Offset = offset
1284
- @Limit = limit
1285
- @BeginTime = begintime
1286
- @EndTime = endtime
1287
- @SortType = sorttype
1288
- end
1289
-
1290
- def deserialize(params)
1291
- @TaskId = params['TaskId']
1292
- @Offset = params['Offset']
1293
- @Limit = params['Limit']
1294
- @BeginTime = params['BeginTime']
1295
- @EndTime = params['EndTime']
1296
- @SortType = params['SortType']
1297
- end
1298
- end
1299
-
1300
- # DescribeCatLogs返回参数结构体
1301
- class DescribeCatLogsResponse < TencentCloud::Common::AbstractModel
1302
- # @param TotalCount: 符合条件的总记录数
1303
- # @type TotalCount: Integer
1304
- # @param CatLogs: 拨测记录列表
1305
- # @type CatLogs: Array
1306
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1307
- # @type RequestId: String
1308
-
1309
- attr_accessor :TotalCount, :CatLogs, :RequestId
1310
-
1311
- def initialize(totalcount=nil, catlogs=nil, requestid=nil)
1312
- @TotalCount = totalcount
1313
- @CatLogs = catlogs
1314
- @RequestId = requestid
1315
- end
1316
-
1317
- def deserialize(params)
1318
- @TotalCount = params['TotalCount']
1319
- unless params['CatLogs'].nil?
1320
- @CatLogs = []
1321
- params['CatLogs'].each do |i|
1322
- catlog_tmp = CatLog.new
1323
- catlog_tmp.deserialize(i)
1324
- @CatLogs << catlog_tmp
1325
- end
1326
- end
1327
- @RequestId = params['RequestId']
1328
- end
1329
- end
1330
-
1331
- # DescribeDetailedSingleProbeData请求参数结构体
1332
- class DescribeDetailedSingleProbeDataRequest < TencentCloud::Common::AbstractModel
1333
- # @param BeginTime: 开始时间戳(毫秒级)
1334
- # @type BeginTime: Integer
1335
- # @param EndTime: 结束时间戳(毫秒级)
1336
- # @type EndTime: Integer
1337
- # @param TaskType: 任务类型
1338
- # @type TaskType: String
1339
- # @param SortField: 待排序字段
1340
- # @type SortField: String
1341
- # @param Ascending: true表示升序
1342
- # @type Ascending: Boolean
1343
- # @param SelectedFields: 选中字段
1344
- # @type SelectedFields: Array
1345
- # @param Offset: 起始取数位置
1346
- # @type Offset: Integer
1347
- # @param Limit: 取数数量
1348
- # @type Limit: Integer
1349
- # @param TaskID: 任务ID
1350
- # @type TaskID: Array
1351
- # @param Operators: 拨测点运营商
1352
- # @type Operators: Array
1353
- # @param Districts: 拨测点地区
1354
- # @type Districts: Array
1355
- # @param ErrorTypes: 错误类型
1356
- # @type ErrorTypes: Array
1357
- # @param City: 城市
1358
- # @type City: Array
1359
-
1360
- attr_accessor :BeginTime, :EndTime, :TaskType, :SortField, :Ascending, :SelectedFields, :Offset, :Limit, :TaskID, :Operators, :Districts, :ErrorTypes, :City
1361
-
1362
- def initialize(begintime=nil, endtime=nil, tasktype=nil, sortfield=nil, ascending=nil, selectedfields=nil, offset=nil, limit=nil, taskid=nil, operators=nil, districts=nil, errortypes=nil, city=nil)
1363
- @BeginTime = begintime
1364
- @EndTime = endtime
1365
- @TaskType = tasktype
1366
- @SortField = sortfield
1367
- @Ascending = ascending
1368
- @SelectedFields = selectedfields
1369
- @Offset = offset
1370
- @Limit = limit
1371
- @TaskID = taskid
1372
- @Operators = operators
1373
- @Districts = districts
1374
- @ErrorTypes = errortypes
1375
- @City = city
196
+ def initialize(begintime=nil, endtime=nil, tasktype=nil, sortfield=nil, ascending=nil, selectedfields=nil, offset=nil, limit=nil, taskid=nil, operators=nil, districts=nil, errortypes=nil, city=nil)
197
+ @BeginTime = begintime
198
+ @EndTime = endtime
199
+ @TaskType = tasktype
200
+ @SortField = sortfield
201
+ @Ascending = ascending
202
+ @SelectedFields = selectedfields
203
+ @Offset = offset
204
+ @Limit = limit
205
+ @TaskID = taskid
206
+ @Operators = operators
207
+ @Districts = districts
208
+ @ErrorTypes = errortypes
209
+ @City = city
1376
210
  end
1377
211
 
1378
212
  def deserialize(params)
@@ -1614,864 +448,105 @@ module TencentCloud
1614
448
  unless params['TagFilters'].nil?
1615
449
  @TagFilters = []
1616
450
  params['TagFilters'].each do |i|
1617
- keyvaluepair_tmp = KeyValuePair.new
1618
- keyvaluepair_tmp.deserialize(i)
1619
- @TagFilters << keyvaluepair_tmp
1620
- end
1621
- end
1622
- end
1623
- end
1624
-
1625
- # DescribeProbeTasks返回参数结构体
1626
- class DescribeProbeTasksResponse < TencentCloud::Common::AbstractModel
1627
- # @param TaskSet: 任务列表
1628
- # 注意:此字段可能返回 null,表示取不到有效值。
1629
- # @type TaskSet: Array
1630
- # @param Total: 任务总数
1631
- # @type Total: Integer
1632
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1633
- # @type RequestId: String
1634
-
1635
- attr_accessor :TaskSet, :Total, :RequestId
1636
-
1637
- def initialize(taskset=nil, total=nil, requestid=nil)
1638
- @TaskSet = taskset
1639
- @Total = total
1640
- @RequestId = requestid
1641
- end
1642
-
1643
- def deserialize(params)
1644
- unless params['TaskSet'].nil?
1645
- @TaskSet = []
1646
- params['TaskSet'].each do |i|
1647
- probetask_tmp = ProbeTask.new
1648
- probetask_tmp.deserialize(i)
1649
- @TaskSet << probetask_tmp
1650
- end
1651
- end
1652
- @Total = params['Total']
1653
- @RequestId = params['RequestId']
1654
- end
1655
- end
1656
-
1657
- # DescribeTaskDetail请求参数结构体
1658
- class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
1659
- # @param TaskIds: 拨测任务id 数组
1660
- # @type TaskIds: Array
1661
-
1662
- attr_accessor :TaskIds
1663
-
1664
- def initialize(taskids=nil)
1665
- @TaskIds = taskids
1666
- end
1667
-
1668
- def deserialize(params)
1669
- @TaskIds = params['TaskIds']
1670
- end
1671
- end
1672
-
1673
- # DescribeTaskDetail返回参数结构体
1674
- class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
1675
- # @param Tasks: 拨测任务列表
1676
- # @type Tasks: Array
1677
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1678
- # @type RequestId: String
1679
-
1680
- attr_accessor :Tasks, :RequestId
1681
-
1682
- def initialize(tasks=nil, requestid=nil)
1683
- @Tasks = tasks
1684
- @RequestId = requestid
1685
- end
1686
-
1687
- def deserialize(params)
1688
- unless params['Tasks'].nil?
1689
- @Tasks = []
1690
- params['Tasks'].each do |i|
1691
- cattaskdetail_tmp = CatTaskDetail.new
1692
- cattaskdetail_tmp.deserialize(i)
1693
- @Tasks << cattaskdetail_tmp
1694
- end
1695
- end
1696
- @RequestId = params['RequestId']
1697
- end
1698
- end
1699
-
1700
- # DescribeTasksByType请求参数结构体
1701
- class DescribeTasksByTypeRequest < TencentCloud::Common::AbstractModel
1702
- # @param Offset: 从第Offset 条开始查询。缺省值为0
1703
- # @type Offset: Integer
1704
- # @param Limit: 本批次查询Limit 条记录。缺省值为20
1705
- # @type Limit: Integer
1706
- # @param Type: 拨测任务类型。0 站点监控,2 可用性监控。缺省值为2
1707
- # @type Type: Integer
1708
-
1709
- attr_accessor :Offset, :Limit, :Type
1710
-
1711
- def initialize(offset=nil, limit=nil, type=nil)
1712
- @Offset = offset
1713
- @Limit = limit
1714
- @Type = type
1715
- end
1716
-
1717
- def deserialize(params)
1718
- @Offset = params['Offset']
1719
- @Limit = params['Limit']
1720
- @Type = params['Type']
1721
- end
1722
- end
1723
-
1724
- # DescribeTasksByType返回参数结构体
1725
- class DescribeTasksByTypeResponse < TencentCloud::Common::AbstractModel
1726
- # @param TotalCount: 符合条件的总任务数
1727
- # @type TotalCount: Integer
1728
- # @param Tasks: 任务列表
1729
- # @type Tasks: Array
1730
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1731
- # @type RequestId: String
1732
-
1733
- attr_accessor :TotalCount, :Tasks, :RequestId
1734
-
1735
- def initialize(totalcount=nil, tasks=nil, requestid=nil)
1736
- @TotalCount = totalcount
1737
- @Tasks = tasks
1738
- @RequestId = requestid
1739
- end
1740
-
1741
- def deserialize(params)
1742
- @TotalCount = params['TotalCount']
1743
- unless params['Tasks'].nil?
1744
- @Tasks = []
1745
- params['Tasks'].each do |i|
1746
- taskalarm_tmp = TaskAlarm.new
1747
- taskalarm_tmp.deserialize(i)
1748
- @Tasks << taskalarm_tmp
1749
- end
1750
- end
1751
- @RequestId = params['RequestId']
1752
- end
1753
- end
1754
-
1755
- # DescribeUserLimit请求参数结构体
1756
- class DescribeUserLimitRequest < TencentCloud::Common::AbstractModel
1757
-
1758
-
1759
- def initialize()
1760
- end
1761
-
1762
- def deserialize(params)
1763
- end
1764
- end
1765
-
1766
- # DescribeUserLimit返回参数结构体
1767
- class DescribeUserLimitResponse < TencentCloud::Common::AbstractModel
1768
- # @param MaxTaskNum: 用户可建立的最大任务数
1769
- # @type MaxTaskNum: Integer
1770
- # @param MaxAgentNum: 用户可用的最大拨测结点数
1771
- # @type MaxAgentNum: Integer
1772
- # @param MaxGroupNum: 用户可建立的最大拨测分组数
1773
- # @type MaxGroupNum: Integer
1774
- # @param MinPeriod: 用户可用的最小拨测间隔
1775
- # @type MinPeriod: Integer
1776
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1777
- # @type RequestId: String
1778
-
1779
- attr_accessor :MaxTaskNum, :MaxAgentNum, :MaxGroupNum, :MinPeriod, :RequestId
1780
-
1781
- def initialize(maxtasknum=nil, maxagentnum=nil, maxgroupnum=nil, minperiod=nil, requestid=nil)
1782
- @MaxTaskNum = maxtasknum
1783
- @MaxAgentNum = maxagentnum
1784
- @MaxGroupNum = maxgroupnum
1785
- @MinPeriod = minperiod
1786
- @RequestId = requestid
1787
- end
1788
-
1789
- def deserialize(params)
1790
- @MaxTaskNum = params['MaxTaskNum']
1791
- @MaxAgentNum = params['MaxAgentNum']
1792
- @MaxGroupNum = params['MaxGroupNum']
1793
- @MinPeriod = params['MinPeriod']
1794
- @RequestId = params['RequestId']
1795
- end
1796
- end
1797
-
1798
- # 单条详细拨测数据
1799
- class DetailedSingleDataDefine < TencentCloud::Common::AbstractModel
1800
- # @param ProbeTime: 拨测时间戳
1801
- # @type ProbeTime: Integer
1802
- # @param Labels: 储存所有string类型字段
1803
- # @type Labels: Array
1804
- # @param Fields: 储存所有float类型字段
1805
- # @type Fields: Array
1806
-
1807
- attr_accessor :ProbeTime, :Labels, :Fields
1808
-
1809
- def initialize(probetime=nil, labels=nil, fields=nil)
1810
- @ProbeTime = probetime
1811
- @Labels = labels
1812
- @Fields = fields
1813
- end
1814
-
1815
- def deserialize(params)
1816
- @ProbeTime = params['ProbeTime']
1817
- unless params['Labels'].nil?
1818
- @Labels = []
1819
- params['Labels'].each do |i|
1820
- label_tmp = Label.new
1821
- label_tmp.deserialize(i)
1822
- @Labels << label_tmp
1823
- end
1824
- end
1825
- unless params['Fields'].nil?
1826
- @Fields = []
1827
- params['Fields'].each do |i|
1828
- field_tmp = Field.new
1829
- field_tmp.deserialize(i)
1830
- @Fields << field_tmp
1831
- end
1832
- end
1833
- end
1834
- end
1835
-
1836
- # 拨测点维度信息
1837
- class DimensionsDetail < TencentCloud::Common::AbstractModel
1838
- # @param Isp: 运营商列表
1839
- # @type Isp: Array
1840
- # @param Province: 省份列表
1841
- # @type Province: Array
1842
-
1843
- attr_accessor :Isp, :Province
1844
-
1845
- def initialize(isp=nil, province=nil)
1846
- @Isp = isp
1847
- @Province = province
1848
- end
1849
-
1850
- def deserialize(params)
1851
- @Isp = params['Isp']
1852
- @Province = params['Province']
1853
- end
1854
- end
1855
-
1856
- # 储存float类型字段
1857
- class Field < TencentCloud::Common::AbstractModel
1858
- # @param ID: 自定义字段编号
1859
- # @type ID: Integer
1860
- # @param Name: 自定义字段名称/说明
1861
- # @type Name: String
1862
- # @param Value: 字段值
1863
- # @type Value: Float
1864
-
1865
- attr_accessor :ID, :Name, :Value
1866
-
1867
- def initialize(id=nil, name=nil, value=nil)
1868
- @ID = id
1869
- @Name = name
1870
- @Value = value
1871
- end
1872
-
1873
- def deserialize(params)
1874
- @ID = params['ID']
1875
- @Name = params['Name']
1876
- @Value = params['Value']
1877
- end
1878
- end
1879
-
1880
- # GetAvailRatioHistory请求参数结构体
1881
- class GetAvailRatioHistoryRequest < TencentCloud::Common::AbstractModel
1882
- # @param TaskId: 拨测任务Id
1883
- # @type TaskId: Integer
1884
- # @param TimeStamp: 具体时间点
1885
- # @type TimeStamp: String
1886
-
1887
- attr_accessor :TaskId, :TimeStamp
1888
-
1889
- def initialize(taskid=nil, timestamp=nil)
1890
- @TaskId = taskid
1891
- @TimeStamp = timestamp
1892
- end
1893
-
1894
- def deserialize(params)
1895
- @TaskId = params['TaskId']
1896
- @TimeStamp = params['TimeStamp']
1897
- end
1898
- end
1899
-
1900
- # GetAvailRatioHistory返回参数结构体
1901
- class GetAvailRatioHistoryResponse < TencentCloud::Common::AbstractModel
1902
- # @param AvgAvailRatio: 整体平均可用率
1903
- # @type AvgAvailRatio: Float
1904
- # @param LowestAvailRatio: 各省份最低可用率
1905
- # @type LowestAvailRatio: Float
1906
- # @param LowestProvince: 可用率最低的省份
1907
- # @type LowestProvince: String
1908
- # @param LowestIsp: 可用率最低的运营商
1909
- # @type LowestIsp: String
1910
- # @param ProvinceData: 分省份的可用率数据
1911
- # @type ProvinceData: Array
1912
- # @param AvgTime: 国内平均耗时,单位毫秒
1913
- # @type AvgTime: Float
1914
- # @param AvgAvailRatio2: 国外平均可用率
1915
- # @type AvgAvailRatio2: Float
1916
- # @param AvgTime2: 国外平均耗时,单位毫秒
1917
- # @type AvgTime2: Float
1918
- # @param LowestAvailRatio2: 国外最低可用率
1919
- # @type LowestAvailRatio2: Float
1920
- # @param LowestProvince2: 国外可用率最低的区域
1921
- # @type LowestProvince2: String
1922
- # @param LowestIsp2: 国外可用率最低的运营商
1923
- # @type LowestIsp2: String
1924
- # @param ProvinceData2: 国外分区域的可用率数据
1925
- # @type ProvinceData2: Array
1926
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1927
- # @type RequestId: String
1928
-
1929
- attr_accessor :AvgAvailRatio, :LowestAvailRatio, :LowestProvince, :LowestIsp, :ProvinceData, :AvgTime, :AvgAvailRatio2, :AvgTime2, :LowestAvailRatio2, :LowestProvince2, :LowestIsp2, :ProvinceData2, :RequestId
1930
-
1931
- def initialize(avgavailratio=nil, lowestavailratio=nil, lowestprovince=nil, lowestisp=nil, provincedata=nil, avgtime=nil, avgavailratio2=nil, avgtime2=nil, lowestavailratio2=nil, lowestprovince2=nil, lowestisp2=nil, provincedata2=nil, requestid=nil)
1932
- @AvgAvailRatio = avgavailratio
1933
- @LowestAvailRatio = lowestavailratio
1934
- @LowestProvince = lowestprovince
1935
- @LowestIsp = lowestisp
1936
- @ProvinceData = provincedata
1937
- @AvgTime = avgtime
1938
- @AvgAvailRatio2 = avgavailratio2
1939
- @AvgTime2 = avgtime2
1940
- @LowestAvailRatio2 = lowestavailratio2
1941
- @LowestProvince2 = lowestprovince2
1942
- @LowestIsp2 = lowestisp2
1943
- @ProvinceData2 = provincedata2
1944
- @RequestId = requestid
1945
- end
1946
-
1947
- def deserialize(params)
1948
- @AvgAvailRatio = params['AvgAvailRatio']
1949
- @LowestAvailRatio = params['LowestAvailRatio']
1950
- @LowestProvince = params['LowestProvince']
1951
- @LowestIsp = params['LowestIsp']
1952
- unless params['ProvinceData'].nil?
1953
- @ProvinceData = []
1954
- params['ProvinceData'].each do |i|
1955
- provincedetail_tmp = ProvinceDetail.new
1956
- provincedetail_tmp.deserialize(i)
1957
- @ProvinceData << provincedetail_tmp
1958
- end
1959
- end
1960
- @AvgTime = params['AvgTime']
1961
- @AvgAvailRatio2 = params['AvgAvailRatio2']
1962
- @AvgTime2 = params['AvgTime2']
1963
- @LowestAvailRatio2 = params['LowestAvailRatio2']
1964
- @LowestProvince2 = params['LowestProvince2']
1965
- @LowestIsp2 = params['LowestIsp2']
1966
- unless params['ProvinceData2'].nil?
1967
- @ProvinceData2 = []
1968
- params['ProvinceData2'].each do |i|
1969
- provincedetail_tmp = ProvinceDetail.new
1970
- provincedetail_tmp.deserialize(i)
1971
- @ProvinceData2 << provincedetail_tmp
1972
- end
1973
- end
1974
- @RequestId = params['RequestId']
1975
- end
1976
- end
1977
-
1978
- # GetDailyAvailRatio请求参数结构体
1979
- class GetDailyAvailRatioRequest < TencentCloud::Common::AbstractModel
1980
- # @param TaskId: 拨测任务Id
1981
- # @type TaskId: Integer
1982
-
1983
- attr_accessor :TaskId
1984
-
1985
- def initialize(taskid=nil)
1986
- @TaskId = taskid
1987
- end
1988
-
1989
- def deserialize(params)
1990
- @TaskId = params['TaskId']
1991
- end
1992
- end
1993
-
1994
- # GetDailyAvailRatio返回参数结构体
1995
- class GetDailyAvailRatioResponse < TencentCloud::Common::AbstractModel
1996
- # @param AvgAvailRatio: 整体平均可用率
1997
- # @type AvgAvailRatio: Float
1998
- # @param LowestAvailRatio: 各省份最低可用率
1999
- # @type LowestAvailRatio: Float
2000
- # @param LowestProvince: 可用率最低的省份
2001
- # @type LowestProvince: String
2002
- # @param ProvinceData: 分省份的可用率数据
2003
- # @type ProvinceData: Array
2004
- # @param AvgTime: 国内平均耗时,单位毫秒
2005
- # @type AvgTime: Float
2006
- # @param AvgAvailRatio2: 国外平均可用率
2007
- # @type AvgAvailRatio2: Float
2008
- # @param AvgTime2: 国外平均耗时,单位毫秒
2009
- # @type AvgTime2: Float
2010
- # @param LowestAvailRatio2: 国外最低可用率
2011
- # @type LowestAvailRatio2: Float
2012
- # @param LowestProvince2: 国外可用率最低的区域
2013
- # @type LowestProvince2: String
2014
- # @param ProvinceData2: 国外分区域的可用率数据
2015
- # @type ProvinceData2: Array
2016
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2017
- # @type RequestId: String
2018
-
2019
- attr_accessor :AvgAvailRatio, :LowestAvailRatio, :LowestProvince, :ProvinceData, :AvgTime, :AvgAvailRatio2, :AvgTime2, :LowestAvailRatio2, :LowestProvince2, :ProvinceData2, :RequestId
2020
-
2021
- def initialize(avgavailratio=nil, lowestavailratio=nil, lowestprovince=nil, provincedata=nil, avgtime=nil, avgavailratio2=nil, avgtime2=nil, lowestavailratio2=nil, lowestprovince2=nil, provincedata2=nil, requestid=nil)
2022
- @AvgAvailRatio = avgavailratio
2023
- @LowestAvailRatio = lowestavailratio
2024
- @LowestProvince = lowestprovince
2025
- @ProvinceData = provincedata
2026
- @AvgTime = avgtime
2027
- @AvgAvailRatio2 = avgavailratio2
2028
- @AvgTime2 = avgtime2
2029
- @LowestAvailRatio2 = lowestavailratio2
2030
- @LowestProvince2 = lowestprovince2
2031
- @ProvinceData2 = provincedata2
2032
- @RequestId = requestid
2033
- end
2034
-
2035
- def deserialize(params)
2036
- @AvgAvailRatio = params['AvgAvailRatio']
2037
- @LowestAvailRatio = params['LowestAvailRatio']
2038
- @LowestProvince = params['LowestProvince']
2039
- unless params['ProvinceData'].nil?
2040
- @ProvinceData = []
2041
- params['ProvinceData'].each do |i|
2042
- provincedetail_tmp = ProvinceDetail.new
2043
- provincedetail_tmp.deserialize(i)
2044
- @ProvinceData << provincedetail_tmp
2045
- end
2046
- end
2047
- @AvgTime = params['AvgTime']
2048
- @AvgAvailRatio2 = params['AvgAvailRatio2']
2049
- @AvgTime2 = params['AvgTime2']
2050
- @LowestAvailRatio2 = params['LowestAvailRatio2']
2051
- @LowestProvince2 = params['LowestProvince2']
2052
- unless params['ProvinceData2'].nil?
2053
- @ProvinceData2 = []
2054
- params['ProvinceData2'].each do |i|
2055
- provincedetail_tmp = ProvinceDetail.new
2056
- provincedetail_tmp.deserialize(i)
2057
- @ProvinceData2 << provincedetail_tmp
2058
- end
2059
- end
2060
- @RequestId = params['RequestId']
2061
- end
2062
- end
2063
-
2064
- # GetRealAvailRatio请求参数结构体
2065
- class GetRealAvailRatioRequest < TencentCloud::Common::AbstractModel
2066
- # @param TaskId: 拨测任务Id
2067
- # @type TaskId: Integer
2068
-
2069
- attr_accessor :TaskId
2070
-
2071
- def initialize(taskid=nil)
2072
- @TaskId = taskid
2073
- end
2074
-
2075
- def deserialize(params)
2076
- @TaskId = params['TaskId']
2077
- end
2078
- end
2079
-
2080
- # GetRealAvailRatio返回参数结构体
2081
- class GetRealAvailRatioResponse < TencentCloud::Common::AbstractModel
2082
- # @param AvgAvailRatio: 国内平均可用率
2083
- # @type AvgAvailRatio: Float
2084
- # @param LowestAvailRatio: 各省份最低可用率
2085
- # @type LowestAvailRatio: Float
2086
- # @param LowestProvince: 可用率最低的省份
2087
- # @type LowestProvince: String
2088
- # @param LowestIsp: 可用率最低的运营商
2089
- # @type LowestIsp: String
2090
- # @param ProvinceData: 分省份的可用率数据
2091
- # @type ProvinceData: Array
2092
- # @param AvgTime: 国内平均耗时,单位毫秒
2093
- # @type AvgTime: Float
2094
- # @param AvgAvailRatio2: 国外平均可用率
2095
- # @type AvgAvailRatio2: Float
2096
- # @param AvgTime2: 国外平均耗时,单位毫秒
2097
- # @type AvgTime2: Float
2098
- # @param LowestAvailRatio2: 国外最低可用率
2099
- # @type LowestAvailRatio2: Float
2100
- # @param LowestProvince2: 国外可用率最低的区域
2101
- # @type LowestProvince2: String
2102
- # @param LowestIsp2: 国外可用率最低的运营商
2103
- # @type LowestIsp2: String
2104
- # @param ProvinceData2: 国外分区域的可用率数据
2105
- # @type ProvinceData2: Array
2106
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2107
- # @type RequestId: String
2108
-
2109
- attr_accessor :AvgAvailRatio, :LowestAvailRatio, :LowestProvince, :LowestIsp, :ProvinceData, :AvgTime, :AvgAvailRatio2, :AvgTime2, :LowestAvailRatio2, :LowestProvince2, :LowestIsp2, :ProvinceData2, :RequestId
2110
-
2111
- def initialize(avgavailratio=nil, lowestavailratio=nil, lowestprovince=nil, lowestisp=nil, provincedata=nil, avgtime=nil, avgavailratio2=nil, avgtime2=nil, lowestavailratio2=nil, lowestprovince2=nil, lowestisp2=nil, provincedata2=nil, requestid=nil)
2112
- @AvgAvailRatio = avgavailratio
2113
- @LowestAvailRatio = lowestavailratio
2114
- @LowestProvince = lowestprovince
2115
- @LowestIsp = lowestisp
2116
- @ProvinceData = provincedata
2117
- @AvgTime = avgtime
2118
- @AvgAvailRatio2 = avgavailratio2
2119
- @AvgTime2 = avgtime2
2120
- @LowestAvailRatio2 = lowestavailratio2
2121
- @LowestProvince2 = lowestprovince2
2122
- @LowestIsp2 = lowestisp2
2123
- @ProvinceData2 = provincedata2
2124
- @RequestId = requestid
2125
- end
2126
-
2127
- def deserialize(params)
2128
- @AvgAvailRatio = params['AvgAvailRatio']
2129
- @LowestAvailRatio = params['LowestAvailRatio']
2130
- @LowestProvince = params['LowestProvince']
2131
- @LowestIsp = params['LowestIsp']
2132
- unless params['ProvinceData'].nil?
2133
- @ProvinceData = []
2134
- params['ProvinceData'].each do |i|
2135
- provincedetail_tmp = ProvinceDetail.new
2136
- provincedetail_tmp.deserialize(i)
2137
- @ProvinceData << provincedetail_tmp
2138
- end
2139
- end
2140
- @AvgTime = params['AvgTime']
2141
- @AvgAvailRatio2 = params['AvgAvailRatio2']
2142
- @AvgTime2 = params['AvgTime2']
2143
- @LowestAvailRatio2 = params['LowestAvailRatio2']
2144
- @LowestProvince2 = params['LowestProvince2']
2145
- @LowestIsp2 = params['LowestIsp2']
2146
- unless params['ProvinceData2'].nil?
2147
- @ProvinceData2 = []
2148
- params['ProvinceData2'].each do |i|
2149
- provincedetail_tmp = ProvinceDetail.new
2150
- provincedetail_tmp.deserialize(i)
2151
- @ProvinceData2 << provincedetail_tmp
2152
- end
2153
- end
2154
- @RequestId = params['RequestId']
2155
- end
2156
- end
2157
-
2158
- # GetRespTimeTrendEx请求参数结构体
2159
- class GetRespTimeTrendExRequest < TencentCloud::Common::AbstractModel
2160
- # @param TaskId: 验证成功的拨测任务id
2161
- # @type TaskId: Integer
2162
- # @param Date: 统计数据的发生日期。格式如:2017-05-09
2163
- # @type Date: String
2164
- # @param Period: 数据的采集周期,单位分钟。取值可为 1, 5, 15, 30
2165
- # @type Period: Integer
2166
- # @param Dimensions: 可为 Isp, Province
2167
- # @type Dimensions: :class:`Tencentcloud::Cat.v20180409.models.DimensionsDetail`
2168
- # @param MetricName: 可为 totalTime, parseTime, connectTime, sendTime, waitTime, receiveTime, availRatio。缺省值为 totalTime
2169
- # @type MetricName: String
2170
-
2171
- attr_accessor :TaskId, :Date, :Period, :Dimensions, :MetricName
2172
-
2173
- def initialize(taskid=nil, date=nil, period=nil, dimensions=nil, metricname=nil)
2174
- @TaskId = taskid
2175
- @Date = date
2176
- @Period = period
2177
- @Dimensions = dimensions
2178
- @MetricName = metricname
2179
- end
2180
-
2181
- def deserialize(params)
2182
- @TaskId = params['TaskId']
2183
- @Date = params['Date']
2184
- @Period = params['Period']
2185
- unless params['Dimensions'].nil?
2186
- @Dimensions = DimensionsDetail.new
2187
- @Dimensions.deserialize(params['Dimensions'])
2188
- end
2189
- @MetricName = params['MetricName']
2190
- end
2191
- end
2192
-
2193
- # GetRespTimeTrendEx返回参数结构体
2194
- class GetRespTimeTrendExResponse < TencentCloud::Common::AbstractModel
2195
- # @param DataPoints: 数据点集合,时延等走势数据
2196
- # @type DataPoints: Array
2197
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2198
- # @type RequestId: String
2199
-
2200
- attr_accessor :DataPoints, :RequestId
2201
-
2202
- def initialize(datapoints=nil, requestid=nil)
2203
- @DataPoints = datapoints
2204
- @RequestId = requestid
2205
- end
2206
-
2207
- def deserialize(params)
2208
- unless params['DataPoints'].nil?
2209
- @DataPoints = []
2210
- params['DataPoints'].each do |i|
2211
- datapointmetric_tmp = DataPointMetric.new
2212
- datapointmetric_tmp.deserialize(i)
2213
- @DataPoints << datapointmetric_tmp
2214
- end
2215
- end
2216
- @RequestId = params['RequestId']
2217
- end
2218
- end
2219
-
2220
- # GetResultSummary请求参数结构体
2221
- class GetResultSummaryRequest < TencentCloud::Common::AbstractModel
2222
- # @param TaskIds: 任务Id列表
2223
- # @type TaskIds: Array
2224
-
2225
- attr_accessor :TaskIds
2226
-
2227
- def initialize(taskids=nil)
2228
- @TaskIds = taskids
2229
- end
2230
-
2231
- def deserialize(params)
2232
- @TaskIds = params['TaskIds']
2233
- end
2234
- end
2235
-
2236
- # GetResultSummary返回参数结构体
2237
- class GetResultSummaryResponse < TencentCloud::Common::AbstractModel
2238
- # @param RealData: 实时统计数据
2239
- # @type RealData: Array
2240
- # @param DayData: 按天的统计数据
2241
- # @type DayData: Array
2242
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2243
- # @type RequestId: String
2244
-
2245
- attr_accessor :RealData, :DayData, :RequestId
2246
-
2247
- def initialize(realdata=nil, daydata=nil, requestid=nil)
2248
- @RealData = realdata
2249
- @DayData = daydata
2250
- @RequestId = requestid
2251
- end
2252
-
2253
- def deserialize(params)
2254
- unless params['RealData'].nil?
2255
- @RealData = []
2256
- params['RealData'].each do |i|
2257
- resultsummary_tmp = ResultSummary.new
2258
- resultsummary_tmp.deserialize(i)
2259
- @RealData << resultsummary_tmp
2260
- end
2261
- end
2262
- unless params['DayData'].nil?
2263
- @DayData = []
2264
- params['DayData'].each do |i|
2265
- resultsummary_tmp = ResultSummary.new
2266
- resultsummary_tmp.deserialize(i)
2267
- @DayData << resultsummary_tmp
2268
- end
2269
- end
2270
- @RequestId = params['RequestId']
2271
- end
2272
- end
2273
-
2274
- # GetReturnCodeHistory请求参数结构体
2275
- class GetReturnCodeHistoryRequest < TencentCloud::Common::AbstractModel
2276
- # @param TaskId: 正整数。验证成功的拨测任务id
2277
- # @type TaskId: Integer
2278
- # @param BeginTime: 开始时间点。格式如:2017-05-09 10:20:00。注意,BeginTime 和 EndTime 需要在同一天
2279
- # @type BeginTime: String
2280
- # @param EndTime: 结束时间点。格式如:2017-05-09 10:25:00。注意,BeginTime 和 EndTime 需要在同一天
2281
- # @type EndTime: String
2282
- # @param Province: 省份名称的全拼
2283
- # @type Province: String
2284
-
2285
- attr_accessor :TaskId, :BeginTime, :EndTime, :Province
2286
-
2287
- def initialize(taskid=nil, begintime=nil, endtime=nil, province=nil)
2288
- @TaskId = taskid
2289
- @BeginTime = begintime
2290
- @EndTime = endtime
2291
- @Province = province
2292
- end
2293
-
2294
- def deserialize(params)
2295
- @TaskId = params['TaskId']
2296
- @BeginTime = params['BeginTime']
2297
- @EndTime = params['EndTime']
2298
- @Province = params['Province']
2299
- end
2300
- end
2301
-
2302
- # GetReturnCodeHistory返回参数结构体
2303
- class GetReturnCodeHistoryResponse < TencentCloud::Common::AbstractModel
2304
- # @param Details: 拨测失败详情列表
2305
- # @type Details: Array
2306
- # @param Summary: 拨测失败汇总列表
2307
- # @type Summary: Array
2308
- # @param BeginTime: 开始时间
2309
- # @type BeginTime: String
2310
- # @param EndTime: 截至时间
2311
- # @type EndTime: String
2312
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2313
- # @type RequestId: String
2314
-
2315
- attr_accessor :Details, :Summary, :BeginTime, :EndTime, :RequestId
2316
-
2317
- def initialize(details=nil, summary=nil, begintime=nil, endtime=nil, requestid=nil)
2318
- @Details = details
2319
- @Summary = summary
2320
- @BeginTime = begintime
2321
- @EndTime = endtime
2322
- @RequestId = requestid
2323
- end
2324
-
2325
- def deserialize(params)
2326
- unless params['Details'].nil?
2327
- @Details = []
2328
- params['Details'].each do |i|
2329
- catreturndetail_tmp = CatReturnDetail.new
2330
- catreturndetail_tmp.deserialize(i)
2331
- @Details << catreturndetail_tmp
2332
- end
2333
- end
2334
- unless params['Summary'].nil?
2335
- @Summary = []
2336
- params['Summary'].each do |i|
2337
- catreturnsummary_tmp = CatReturnSummary.new
2338
- catreturnsummary_tmp.deserialize(i)
2339
- @Summary << catreturnsummary_tmp
451
+ keyvaluepair_tmp = KeyValuePair.new
452
+ keyvaluepair_tmp.deserialize(i)
453
+ @TagFilters << keyvaluepair_tmp
2340
454
  end
2341
455
  end
2342
- @BeginTime = params['BeginTime']
2343
- @EndTime = params['EndTime']
2344
- @RequestId = params['RequestId']
2345
- end
2346
- end
2347
-
2348
- # GetReturnCodeInfo请求参数结构体
2349
- class GetReturnCodeInfoRequest < TencentCloud::Common::AbstractModel
2350
- # @param TaskId: 正整数。验证成功的拨测任务id
2351
- # @type TaskId: Integer
2352
- # @param BeginTime: 开始时间点。格式如:2017-05-09 10:20:00,最多拉群两天的数据
2353
- # @type BeginTime: String
2354
- # @param EndTime: 结束时间点。格式如:2017-05-09 10:25:00,最多拉群两天的数据
2355
- # @type EndTime: String
2356
- # @param Province: 省份名称的全拼
2357
- # @type Province: String
2358
-
2359
- attr_accessor :TaskId, :BeginTime, :EndTime, :Province
2360
-
2361
- def initialize(taskid=nil, begintime=nil, endtime=nil, province=nil)
2362
- @TaskId = taskid
2363
- @BeginTime = begintime
2364
- @EndTime = endtime
2365
- @Province = province
2366
- end
2367
-
2368
- def deserialize(params)
2369
- @TaskId = params['TaskId']
2370
- @BeginTime = params['BeginTime']
2371
- @EndTime = params['EndTime']
2372
- @Province = params['Province']
2373
456
  end
2374
457
  end
2375
458
 
2376
- # GetReturnCodeInfo返回参数结构体
2377
- class GetReturnCodeInfoResponse < TencentCloud::Common::AbstractModel
2378
- # @param Details: 拨测失败详情列表
2379
- # @type Details: Array
2380
- # @param Summary: 拨测失败汇总列表
2381
- # @type Summary: Array
2382
- # @param BeginTime: 开始时间
2383
- # @type BeginTime: String
2384
- # @param EndTime: 截至时间
2385
- # @type EndTime: String
459
+ # DescribeProbeTasks返回参数结构体
460
+ class DescribeProbeTasksResponse < TencentCloud::Common::AbstractModel
461
+ # @param TaskSet: 任务列表
462
+ # 注意:此字段可能返回 null,表示取不到有效值。
463
+ # @type TaskSet: Array
464
+ # @param Total: 任务总数
465
+ # @type Total: Integer
2386
466
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2387
467
  # @type RequestId: String
2388
468
 
2389
- attr_accessor :Details, :Summary, :BeginTime, :EndTime, :RequestId
469
+ attr_accessor :TaskSet, :Total, :RequestId
2390
470
 
2391
- def initialize(details=nil, summary=nil, begintime=nil, endtime=nil, requestid=nil)
2392
- @Details = details
2393
- @Summary = summary
2394
- @BeginTime = begintime
2395
- @EndTime = endtime
471
+ def initialize(taskset=nil, total=nil, requestid=nil)
472
+ @TaskSet = taskset
473
+ @Total = total
2396
474
  @RequestId = requestid
2397
475
  end
2398
476
 
2399
477
  def deserialize(params)
2400
- unless params['Details'].nil?
2401
- @Details = []
2402
- params['Details'].each do |i|
2403
- catreturndetail_tmp = CatReturnDetail.new
2404
- catreturndetail_tmp.deserialize(i)
2405
- @Details << catreturndetail_tmp
2406
- end
2407
- end
2408
- unless params['Summary'].nil?
2409
- @Summary = []
2410
- params['Summary'].each do |i|
2411
- catreturnsummary_tmp = CatReturnSummary.new
2412
- catreturnsummary_tmp.deserialize(i)
2413
- @Summary << catreturnsummary_tmp
478
+ unless params['TaskSet'].nil?
479
+ @TaskSet = []
480
+ params['TaskSet'].each do |i|
481
+ probetask_tmp = ProbeTask.new
482
+ probetask_tmp.deserialize(i)
483
+ @TaskSet << probetask_tmp
2414
484
  end
2415
485
  end
2416
- @BeginTime = params['BeginTime']
2417
- @EndTime = params['EndTime']
486
+ @Total = params['Total']
2418
487
  @RequestId = params['RequestId']
2419
488
  end
2420
489
  end
2421
490
 
2422
- # GetTaskTotalNumber请求参数结构体
2423
- class GetTaskTotalNumberRequest < TencentCloud::Common::AbstractModel
2424
-
2425
-
2426
- def initialize()
2427
- end
2428
-
2429
- def deserialize(params)
2430
- end
2431
- end
2432
-
2433
- # GetTaskTotalNumber返回参数结构体
2434
- class GetTaskTotalNumberResponse < TencentCloud::Common::AbstractModel
2435
- # @param TotalCount: 拨测任务总数
2436
- # @type TotalCount: Integer
2437
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2438
- # @type RequestId: String
491
+ # 单条详细拨测数据
492
+ class DetailedSingleDataDefine < TencentCloud::Common::AbstractModel
493
+ # @param ProbeTime: 拨测时间戳
494
+ # @type ProbeTime: Integer
495
+ # @param Labels: 储存所有string类型字段
496
+ # @type Labels: Array
497
+ # @param Fields: 储存所有float类型字段
498
+ # @type Fields: Array
2439
499
 
2440
- attr_accessor :TotalCount, :RequestId
500
+ attr_accessor :ProbeTime, :Labels, :Fields
2441
501
 
2442
- def initialize(totalcount=nil, requestid=nil)
2443
- @TotalCount = totalcount
2444
- @RequestId = requestid
502
+ def initialize(probetime=nil, labels=nil, fields=nil)
503
+ @ProbeTime = probetime
504
+ @Labels = labels
505
+ @Fields = fields
2445
506
  end
2446
507
 
2447
508
  def deserialize(params)
2448
- @TotalCount = params['TotalCount']
2449
- @RequestId = params['RequestId']
509
+ @ProbeTime = params['ProbeTime']
510
+ unless params['Labels'].nil?
511
+ @Labels = []
512
+ params['Labels'].each do |i|
513
+ label_tmp = Label.new
514
+ label_tmp.deserialize(i)
515
+ @Labels << label_tmp
516
+ end
517
+ end
518
+ unless params['Fields'].nil?
519
+ @Fields = []
520
+ params['Fields'].each do |i|
521
+ field_tmp = Field.new
522
+ field_tmp.deserialize(i)
523
+ @Fields << field_tmp
524
+ end
525
+ end
2450
526
  end
2451
527
  end
2452
528
 
2453
- # 运营商可用率
2454
- class IspDetail < TencentCloud::Common::AbstractModel
2455
- # @param IspName: 运营商名称
2456
- # @type IspName: String
2457
- # @param AvailRatio: 可用率
2458
- # @type AvailRatio: Float
2459
- # @param AvgTime: 平均耗时
2460
- # 注意:此字段可能返回 null,表示取不到有效值。
2461
- # @type AvgTime: Float
529
+ # 储存float类型字段
530
+ class Field < TencentCloud::Common::AbstractModel
531
+ # @param ID: 自定义字段编号
532
+ # @type ID: Integer
533
+ # @param Name: 自定义字段名称/说明
534
+ # @type Name: String
535
+ # @param Value: 字段值
536
+ # @type Value: Float
2462
537
 
2463
- attr_accessor :IspName, :AvailRatio, :AvgTime
538
+ attr_accessor :ID, :Name, :Value
2464
539
 
2465
- def initialize(ispname=nil, availratio=nil, avgtime=nil)
2466
- @IspName = ispname
2467
- @AvailRatio = availratio
2468
- @AvgTime = avgtime
540
+ def initialize(id=nil, name=nil, value=nil)
541
+ @ID = id
542
+ @Name = name
543
+ @Value = value
2469
544
  end
2470
545
 
2471
546
  def deserialize(params)
2472
- @IspName = params['IspName']
2473
- @AvailRatio = params['AvailRatio']
2474
- @AvgTime = params['AvgTime']
547
+ @ID = params['ID']
548
+ @Name = params['Name']
549
+ @Value = params['Value']
2475
550
  end
2476
551
  end
2477
552
 
@@ -2519,201 +594,6 @@ module TencentCloud
2519
594
  end
2520
595
  end
2521
596
 
2522
- # ModifyAgentGroup请求参数结构体
2523
- class ModifyAgentGroupRequest < TencentCloud::Common::AbstractModel
2524
- # @param GroupId: 拨测分组ID
2525
- # @type GroupId: Integer
2526
- # @param GroupName: 拨测分组名称
2527
- # @type GroupName: String
2528
- # @param IsDefault: 是否为默认分组。取值可为0,1。取 1 时表示设置为默认分组
2529
- # @type IsDefault: Integer
2530
- # @param Agents: Province, Isp 需要成对地进行选择。参数对的取值范围。参见:DescribeAgents 的返回结果。
2531
- # @type Agents: Array
2532
-
2533
- attr_accessor :GroupId, :GroupName, :IsDefault, :Agents
2534
-
2535
- def initialize(groupid=nil, groupname=nil, isdefault=nil, agents=nil)
2536
- @GroupId = groupid
2537
- @GroupName = groupname
2538
- @IsDefault = isdefault
2539
- @Agents = agents
2540
- end
2541
-
2542
- def deserialize(params)
2543
- @GroupId = params['GroupId']
2544
- @GroupName = params['GroupName']
2545
- @IsDefault = params['IsDefault']
2546
- unless params['Agents'].nil?
2547
- @Agents = []
2548
- params['Agents'].each do |i|
2549
- catagent_tmp = CatAgent.new
2550
- catagent_tmp.deserialize(i)
2551
- @Agents << catagent_tmp
2552
- end
2553
- end
2554
- end
2555
- end
2556
-
2557
- # ModifyAgentGroup返回参数结构体
2558
- class ModifyAgentGroupResponse < TencentCloud::Common::AbstractModel
2559
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2560
- # @type RequestId: String
2561
-
2562
- attr_accessor :RequestId
2563
-
2564
- def initialize(requestid=nil)
2565
- @RequestId = requestid
2566
- end
2567
-
2568
- def deserialize(params)
2569
- @RequestId = params['RequestId']
2570
- end
2571
- end
2572
-
2573
- # ModifyTaskEx请求参数结构体
2574
- class ModifyTaskExRequest < TencentCloud::Common::AbstractModel
2575
- # @param CatTypeName: http, https, ping, tcp, ftp, smtp, udp, dns 之一
2576
- # @type CatTypeName: String
2577
- # @param Url: 拨测的URL,例如:www.qq.com (URL域名解析需要能解析出具体的IP)
2578
- # @type Url: String
2579
- # @param Period: 拨测周期。取值可为1,5,15,30之一, 单位:分钟。精度不能低于用户等级规定的最小精度
2580
- # @type Period: Integer
2581
- # @param TaskName: 拨测任务名称不能超过32个字符。同一个用户创建的任务名不可重复
2582
- # @type TaskName: String
2583
- # @param TaskId: 验证成功的拨测任务ID
2584
- # @type TaskId: Integer
2585
- # @param AgentGroupId: 拨测分组ID,体现本拨测任务要采用哪些运营商作为拨测源。一般可直接填写本用户的默认拨测分组。参见:DescribeAgentGroupList 接口,本参数使用返回结果里的GroupId的值。注意,Type为0时,AgentGroupId为必填
2586
- # @type AgentGroupId: Integer
2587
- # @param Host: 指定域名(如需要)
2588
- # @type Host: String
2589
- # @param Port: 拨测目标的端口号
2590
- # @type Port: Integer
2591
- # @param IsHeader: 是否为Header请求(非0 发起Header 请求。为0,且PostData非空,发起POST请求。为0,PostData为空,发起GET请求)
2592
- # @type IsHeader: Integer
2593
- # @param SslVer: URL中含有"https"时有用。缺省为SSLv23。需要为 TLSv1_2, TLSv1_1, TLSv1, SSLv2, SSLv23, SSLv3 之一
2594
- # @type SslVer: String
2595
- # @param PostData: POST 请求数据,空字符串表示非POST请求
2596
- # @type PostData: String
2597
- # @param UserAgent: 用户Agent信息
2598
- # @type UserAgent: String
2599
- # @param CheckStr: 要在结果中进行匹配的字符串
2600
- # @type CheckStr: String
2601
- # @param CheckType: 1 表示通过检查结果是否包含CheckStr 进行校验
2602
- # @type CheckType: Integer
2603
- # @param Cookie: 需要设置的Cookie信息
2604
- # @type Cookie: String
2605
- # @param UserName: 登录服务器的账号。如果为空字符串,表示不用校验用户密码。只做简单连接服务器的拨测
2606
- # @type UserName: String
2607
- # @param PassWord: 登录服务器的密码
2608
- # @type PassWord: String
2609
- # @param ReqDataType: 缺省为0,0 表示请求为字符串类型, 1表示为二进制类型
2610
- # @type ReqDataType: Integer
2611
- # @param ReqData: 发起TCP, UDP请求的协议请求数据
2612
- # @type ReqData: String
2613
- # @param RespDataType: 缺省为0。0 表示请求为字符串类型。1表示为二进制类型
2614
- # @type RespDataType: String
2615
- # @param RespData: 预期的UDP请求的回应数据。字符串型,只需要返回的结果里包含本字符串算校验通过。二进制型,则需要严格等于才算通过
2616
- # @type RespData: String
2617
- # @param DnsSvr: 目的DNS服务器,可以为空字符串
2618
- # @type DnsSvr: String
2619
- # @param DnsCheckIp: 需要检验是否在DNS IP列表的IP。可以为空字符串,表示不校验
2620
- # @type DnsCheckIp: String
2621
- # @param DnsQueryType: 需要为下列值之一。缺省为A。A, MX, NS, CNAME, TXT, ANY
2622
- # @type DnsQueryType: String
2623
- # @param UseSecConn: 是否使用安全链接SSL, 0 不使用,1 使用
2624
- # @type UseSecConn: Integer
2625
- # @param NeedAuth: FTP登录验证方式, 0 不验证 1 匿名登录 2 需要身份验证
2626
- # @type NeedAuth: Integer
2627
- # @param Type: Type=0 默认 (站点监控) Type=2 可用率监控
2628
- # @type Type: Integer
2629
- # @param RedirectFollowNum: 跟随跳转次数,取值范围0-5,不传则表示不跟随
2630
- # @type RedirectFollowNum: Integer
2631
-
2632
- attr_accessor :CatTypeName, :Url, :Period, :TaskName, :TaskId, :AgentGroupId, :Host, :Port, :IsHeader, :SslVer, :PostData, :UserAgent, :CheckStr, :CheckType, :Cookie, :UserName, :PassWord, :ReqDataType, :ReqData, :RespDataType, :RespData, :DnsSvr, :DnsCheckIp, :DnsQueryType, :UseSecConn, :NeedAuth, :Type, :RedirectFollowNum
2633
-
2634
- def initialize(cattypename=nil, url=nil, period=nil, taskname=nil, taskid=nil, agentgroupid=nil, host=nil, port=nil, isheader=nil, sslver=nil, postdata=nil, useragent=nil, checkstr=nil, checktype=nil, cookie=nil, username=nil, password=nil, reqdatatype=nil, reqdata=nil, respdatatype=nil, respdata=nil, dnssvr=nil, dnscheckip=nil, dnsquerytype=nil, usesecconn=nil, needauth=nil, type=nil, redirectfollownum=nil)
2635
- @CatTypeName = cattypename
2636
- @Url = url
2637
- @Period = period
2638
- @TaskName = taskname
2639
- @TaskId = taskid
2640
- @AgentGroupId = agentgroupid
2641
- @Host = host
2642
- @Port = port
2643
- @IsHeader = isheader
2644
- @SslVer = sslver
2645
- @PostData = postdata
2646
- @UserAgent = useragent
2647
- @CheckStr = checkstr
2648
- @CheckType = checktype
2649
- @Cookie = cookie
2650
- @UserName = username
2651
- @PassWord = password
2652
- @ReqDataType = reqdatatype
2653
- @ReqData = reqdata
2654
- @RespDataType = respdatatype
2655
- @RespData = respdata
2656
- @DnsSvr = dnssvr
2657
- @DnsCheckIp = dnscheckip
2658
- @DnsQueryType = dnsquerytype
2659
- @UseSecConn = usesecconn
2660
- @NeedAuth = needauth
2661
- @Type = type
2662
- @RedirectFollowNum = redirectfollownum
2663
- end
2664
-
2665
- def deserialize(params)
2666
- @CatTypeName = params['CatTypeName']
2667
- @Url = params['Url']
2668
- @Period = params['Period']
2669
- @TaskName = params['TaskName']
2670
- @TaskId = params['TaskId']
2671
- @AgentGroupId = params['AgentGroupId']
2672
- @Host = params['Host']
2673
- @Port = params['Port']
2674
- @IsHeader = params['IsHeader']
2675
- @SslVer = params['SslVer']
2676
- @PostData = params['PostData']
2677
- @UserAgent = params['UserAgent']
2678
- @CheckStr = params['CheckStr']
2679
- @CheckType = params['CheckType']
2680
- @Cookie = params['Cookie']
2681
- @UserName = params['UserName']
2682
- @PassWord = params['PassWord']
2683
- @ReqDataType = params['ReqDataType']
2684
- @ReqData = params['ReqData']
2685
- @RespDataType = params['RespDataType']
2686
- @RespData = params['RespData']
2687
- @DnsSvr = params['DnsSvr']
2688
- @DnsCheckIp = params['DnsCheckIp']
2689
- @DnsQueryType = params['DnsQueryType']
2690
- @UseSecConn = params['UseSecConn']
2691
- @NeedAuth = params['NeedAuth']
2692
- @Type = params['Type']
2693
- @RedirectFollowNum = params['RedirectFollowNum']
2694
- end
2695
- end
2696
-
2697
- # ModifyTaskEx返回参数结构体
2698
- class ModifyTaskExResponse < TencentCloud::Common::AbstractModel
2699
- # @param TaskId: 拨测任务ID。验证通过后,创建任务时使用,传递给CreateTask 接口。
2700
- # @type TaskId: Integer
2701
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2702
- # @type RequestId: String
2703
-
2704
- attr_accessor :TaskId, :RequestId
2705
-
2706
- def initialize(taskid=nil, requestid=nil)
2707
- @TaskId = taskid
2708
- @RequestId = requestid
2709
- end
2710
-
2711
- def deserialize(params)
2712
- @TaskId = params['TaskId']
2713
- @RequestId = params['RequestId']
2714
- end
2715
- end
2716
-
2717
597
  # 探测节点
2718
598
  class NodeDefine < TencentCloud::Common::AbstractModel
2719
599
  # @param Name: 节点名称
@@ -2778,38 +658,6 @@ module TencentCloud
2778
658
  end
2779
659
  end
2780
660
 
2781
- # PauseTask请求参数结构体
2782
- class PauseTaskRequest < TencentCloud::Common::AbstractModel
2783
- # @param TaskId: 拨测任务id
2784
- # @type TaskId: Integer
2785
-
2786
- attr_accessor :TaskId
2787
-
2788
- def initialize(taskid=nil)
2789
- @TaskId = taskid
2790
- end
2791
-
2792
- def deserialize(params)
2793
- @TaskId = params['TaskId']
2794
- end
2795
- end
2796
-
2797
- # PauseTask返回参数结构体
2798
- class PauseTaskResponse < TencentCloud::Common::AbstractModel
2799
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2800
- # @type RequestId: String
2801
-
2802
- attr_accessor :RequestId
2803
-
2804
- def initialize(requestid=nil)
2805
- @RequestId = requestid
2806
- end
2807
-
2808
- def deserialize(params)
2809
- @RequestId = params['RequestId']
2810
- end
2811
- end
2812
-
2813
661
  # 拨测任务
2814
662
  class ProbeTask < TencentCloud::Common::AbstractModel
2815
663
  # @param Name: 任务名
@@ -2923,81 +771,6 @@ module TencentCloud
2923
771
  end
2924
772
  end
2925
773
 
2926
- # 省份可用率
2927
- class ProvinceDetail < TencentCloud::Common::AbstractModel
2928
- # @param AvgAvailRatio: 可用率
2929
- # @type AvgAvailRatio: Float
2930
- # @param ProvinceName: 省份名称
2931
- # @type ProvinceName: String
2932
- # @param Mapkey: 省份英文名称
2933
- # @type Mapkey: String
2934
- # @param TimeStamp: 统计时间点
2935
- # @type TimeStamp: String
2936
- # @param IspDetail: 分运营商可用率
2937
- # @type IspDetail: Array
2938
- # @param AvgTime: 平均耗时,单位毫秒
2939
- # @type AvgTime: Float
2940
- # @param Province: 省份
2941
- # @type Province: String
2942
-
2943
- attr_accessor :AvgAvailRatio, :ProvinceName, :Mapkey, :TimeStamp, :IspDetail, :AvgTime, :Province
2944
-
2945
- def initialize(avgavailratio=nil, provincename=nil, mapkey=nil, timestamp=nil, ispdetail=nil, avgtime=nil, province=nil)
2946
- @AvgAvailRatio = avgavailratio
2947
- @ProvinceName = provincename
2948
- @Mapkey = mapkey
2949
- @TimeStamp = timestamp
2950
- @IspDetail = ispdetail
2951
- @AvgTime = avgtime
2952
- @Province = province
2953
- end
2954
-
2955
- def deserialize(params)
2956
- @AvgAvailRatio = params['AvgAvailRatio']
2957
- @ProvinceName = params['ProvinceName']
2958
- @Mapkey = params['Mapkey']
2959
- @TimeStamp = params['TimeStamp']
2960
- unless params['IspDetail'].nil?
2961
- @IspDetail = []
2962
- params['IspDetail'].each do |i|
2963
- ispdetail_tmp = IspDetail.new
2964
- ispdetail_tmp.deserialize(i)
2965
- @IspDetail << ispdetail_tmp
2966
- end
2967
- end
2968
- @AvgTime = params['AvgTime']
2969
- @Province = params['Province']
2970
- end
2971
- end
2972
-
2973
- # 实时统计数据
2974
- class ResultSummary < TencentCloud::Common::AbstractModel
2975
- # @param LogTime: 统计时间
2976
- # @type LogTime: String
2977
- # @param TaskId: 任务ID
2978
- # @type TaskId: Integer
2979
- # @param AvailRatio: 实时可用率
2980
- # @type AvailRatio: Float
2981
- # @param ReponseTime: 实时响应时间
2982
- # @type ReponseTime: Float
2983
-
2984
- attr_accessor :LogTime, :TaskId, :AvailRatio, :ReponseTime
2985
-
2986
- def initialize(logtime=nil, taskid=nil, availratio=nil, reponsetime=nil)
2987
- @LogTime = logtime
2988
- @TaskId = taskid
2989
- @AvailRatio = availratio
2990
- @ReponseTime = reponsetime
2991
- end
2992
-
2993
- def deserialize(params)
2994
- @LogTime = params['LogTime']
2995
- @TaskId = params['TaskId']
2996
- @AvailRatio = params['AvailRatio']
2997
- @ReponseTime = params['ReponseTime']
2998
- end
2999
- end
3000
-
3001
774
  # ResumeProbeTask请求参数结构体
3002
775
  class ResumeProbeTaskRequest < TencentCloud::Common::AbstractModel
3003
776
  # @param TaskIds: 任务 ID
@@ -3051,38 +824,6 @@ module TencentCloud
3051
824
  end
3052
825
  end
3053
826
 
3054
- # RunTask请求参数结构体
3055
- class RunTaskRequest < TencentCloud::Common::AbstractModel
3056
- # @param TaskId: 任务Id
3057
- # @type TaskId: Integer
3058
-
3059
- attr_accessor :TaskId
3060
-
3061
- def initialize(taskid=nil)
3062
- @TaskId = taskid
3063
- end
3064
-
3065
- def deserialize(params)
3066
- @TaskId = params['TaskId']
3067
- end
3068
- end
3069
-
3070
- # RunTask返回参数结构体
3071
- class RunTaskResponse < TencentCloud::Common::AbstractModel
3072
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3073
- # @type RequestId: String
3074
-
3075
- attr_accessor :RequestId
3076
-
3077
- def initialize(requestid=nil)
3078
- @RequestId = requestid
3079
- end
3080
-
3081
- def deserialize(params)
3082
- @RequestId = params['RequestId']
3083
- end
3084
- end
3085
-
3086
827
  # SuspendProbeTask请求参数结构体
3087
828
  class SuspendProbeTaskRequest < TencentCloud::Common::AbstractModel
3088
829
  # @param TaskIds: 任务 ID
@@ -3156,58 +897,6 @@ module TencentCloud
3156
897
  end
3157
898
  end
3158
899
 
3159
- # 可用性监控任务状态及告警信息
3160
- class TaskAlarm < TencentCloud::Common::AbstractModel
3161
- # @param TaskId: 任务ID
3162
- # @type TaskId: Integer
3163
- # @param TaskName: 任务名称
3164
- # @type TaskName: String
3165
- # @param Period: 任务周期,单位为分钟。目前支持1,5,15,30几种取值
3166
- # @type Period: Integer
3167
- # @param CatTypeName: 拨测类型。http, https, ping, tcp, udp, smtp, pop3, dns 之一
3168
- # @type CatTypeName: String
3169
- # @param Status: 任务状态。1表示暂停,2表示运行中,0为初始态
3170
- # @type Status: Integer
3171
- # @param CgiUrl: 拨测任务的URL
3172
- # @type CgiUrl: String
3173
- # @param AddTime: 任务创建时间
3174
- # @type AddTime: String
3175
- # @param AlarmStatus: 告警状态。1 故障,0 正常
3176
- # @type AlarmStatus: Integer
3177
- # @param StatusInfo: 告警状态描述,统计信息
3178
- # @type StatusInfo: String
3179
- # @param UpdateTime: 任务更新时间
3180
- # @type UpdateTime: String
3181
-
3182
- attr_accessor :TaskId, :TaskName, :Period, :CatTypeName, :Status, :CgiUrl, :AddTime, :AlarmStatus, :StatusInfo, :UpdateTime
3183
-
3184
- def initialize(taskid=nil, taskname=nil, period=nil, cattypename=nil, status=nil, cgiurl=nil, addtime=nil, alarmstatus=nil, statusinfo=nil, updatetime=nil)
3185
- @TaskId = taskid
3186
- @TaskName = taskname
3187
- @Period = period
3188
- @CatTypeName = cattypename
3189
- @Status = status
3190
- @CgiUrl = cgiurl
3191
- @AddTime = addtime
3192
- @AlarmStatus = alarmstatus
3193
- @StatusInfo = statusinfo
3194
- @UpdateTime = updatetime
3195
- end
3196
-
3197
- def deserialize(params)
3198
- @TaskId = params['TaskId']
3199
- @TaskName = params['TaskName']
3200
- @Period = params['Period']
3201
- @CatTypeName = params['CatTypeName']
3202
- @Status = params['Status']
3203
- @CgiUrl = params['CgiUrl']
3204
- @AddTime = params['AddTime']
3205
- @AlarmStatus = params['AlarmStatus']
3206
- @StatusInfo = params['StatusInfo']
3207
- @UpdateTime = params['UpdateTime']
3208
- end
3209
- end
3210
-
3211
900
  # 任务执行结果
3212
901
  class TaskResult < TencentCloud::Common::AbstractModel
3213
902
  # @param TaskId: 任务 ID
@@ -3282,46 +971,6 @@ module TencentCloud
3282
971
  end
3283
972
  end
3284
973
 
3285
- # VerifyResult请求参数结构体
3286
- class VerifyResultRequest < TencentCloud::Common::AbstractModel
3287
- # @param ResultId: 要查询的拨测任务的结果id
3288
- # @type ResultId: Integer
3289
-
3290
- attr_accessor :ResultId
3291
-
3292
- def initialize(resultid=nil)
3293
- @ResultId = resultid
3294
- end
3295
-
3296
- def deserialize(params)
3297
- @ResultId = params['ResultId']
3298
- end
3299
- end
3300
-
3301
- # VerifyResult返回参数结构体
3302
- class VerifyResultResponse < TencentCloud::Common::AbstractModel
3303
- # @param ErrorReason: 错误的原因
3304
- # @type ErrorReason: String
3305
- # @param ResultCode: 错误号
3306
- # @type ResultCode: Integer
3307
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3308
- # @type RequestId: String
3309
-
3310
- attr_accessor :ErrorReason, :ResultCode, :RequestId
3311
-
3312
- def initialize(errorreason=nil, resultcode=nil, requestid=nil)
3313
- @ErrorReason = errorreason
3314
- @ResultCode = resultcode
3315
- @RequestId = requestid
3316
- end
3317
-
3318
- def deserialize(params)
3319
- @ErrorReason = params['ErrorReason']
3320
- @ResultCode = params['ResultCode']
3321
- @RequestId = params['RequestId']
3322
- end
3323
- end
3324
-
3325
974
  end
3326
975
  end
3327
976
  end