tencentcloud-sdk-cat 1.0.225 → 1.0.226
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180409/client.rb +192 -0
- data/lib/v20180409/models.rb +794 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3503ed4c63ff2620cba0b4da55fecf02ad1c62
|
4
|
+
data.tar.gz: 9e9b8a1a667a6c50784a0a467b6f5ab3c08aaaaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8afb02d278d68d9b4304ce8221d4d824f610514870ae4f50649033c241916f5705a6e5a9996c23317f355c3a1e67d502ae7252a0461c52aa63bdda783ddf6888
|
7
|
+
data.tar.gz: 3e00d26e752c671602085fe5f8f7d23896bbdb5ae0e68467232a5dd39eacac316433f4b2226e17d17692a255eab595da7eb946c38cf001aba5e6a3eecfed4a78
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.226
|
data/lib/v20180409/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 批量创建探测任务
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateProbeTasks.
|
83
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::CreateProbeTasksRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::CreateProbeTasksResponse`
|
85
|
+
def CreateProbeTasks(request)
|
86
|
+
body = send_request('CreateProbeTasks', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateProbeTasksResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 创建拨测任务(扩展)
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateTaskEx.
|
@@ -125,6 +149,30 @@ module TencentCloud
|
|
125
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
150
|
end
|
127
151
|
|
152
|
+
# 删除拨测任务
|
153
|
+
|
154
|
+
# @param request: Request instance for DeleteProbeTask.
|
155
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::DeleteProbeTaskRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::DeleteProbeTaskResponse`
|
157
|
+
def DeleteProbeTask(request)
|
158
|
+
body = send_request('DeleteProbeTask', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DeleteProbeTaskResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
128
176
|
# 删除多个拨测任务
|
129
177
|
|
130
178
|
# @param request: Request instance for DeleteTasks.
|
@@ -293,6 +341,78 @@ module TencentCloud
|
|
293
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
342
|
end
|
295
343
|
|
344
|
+
# 根据时间范围、任务ID、运营商等条件查询单次拨测详情数据
|
345
|
+
|
346
|
+
# @param request: Request instance for DescribeDetailedSingleProbeData.
|
347
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::DescribeDetailedSingleProbeDataRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::DescribeDetailedSingleProbeDataResponse`
|
349
|
+
def DescribeDetailedSingleProbeData(request)
|
350
|
+
body = send_request('DescribeDetailedSingleProbeData', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DescribeDetailedSingleProbeDataResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
368
|
+
# 查询拨测节点
|
369
|
+
|
370
|
+
# @param request: Request instance for DescribeProbeNodes.
|
371
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::DescribeProbeNodesRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::DescribeProbeNodesResponse`
|
373
|
+
def DescribeProbeNodes(request)
|
374
|
+
body = send_request('DescribeProbeNodes', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = DescribeProbeNodesResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
392
|
+
# 查询探测任务列表
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribeProbeTasks.
|
395
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::DescribeProbeTasksRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::DescribeProbeTasksResponse`
|
397
|
+
def DescribeProbeTasks(request)
|
398
|
+
body = send_request('DescribeProbeTasks', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribeProbeTasksResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
296
416
|
# 查询拨测任务信息
|
297
417
|
|
298
418
|
# @param request: Request instance for DescribeTaskDetail.
|
@@ -629,6 +749,30 @@ module TencentCloud
|
|
629
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
750
|
end
|
631
751
|
|
752
|
+
# 恢复拨测任务
|
753
|
+
|
754
|
+
# @param request: Request instance for ResumeProbeTask.
|
755
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::ResumeProbeTaskRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::ResumeProbeTaskResponse`
|
757
|
+
def ResumeProbeTask(request)
|
758
|
+
body = send_request('ResumeProbeTask', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = ResumeProbeTaskResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
632
776
|
# 运行拨测任务
|
633
777
|
|
634
778
|
# @param request: Request instance for RunTask.
|
@@ -653,6 +797,54 @@ module TencentCloud
|
|
653
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
798
|
end
|
655
799
|
|
800
|
+
# 暂停拨测任务
|
801
|
+
|
802
|
+
# @param request: Request instance for SuspendProbeTask.
|
803
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::SuspendProbeTaskRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::SuspendProbeTaskResponse`
|
805
|
+
def SuspendProbeTask(request)
|
806
|
+
body = send_request('SuspendProbeTask', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = SuspendProbeTaskResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
824
|
+
# 批量更新拨测任务配置
|
825
|
+
|
826
|
+
# @param request: Request instance for UpdateProbeTaskConfigurationList.
|
827
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::UpdateProbeTaskConfigurationListRequest`
|
828
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::UpdateProbeTaskConfigurationListResponse`
|
829
|
+
def UpdateProbeTaskConfigurationList(request)
|
830
|
+
body = send_request('UpdateProbeTaskConfigurationList', request.serialize)
|
831
|
+
response = JSON.parse(body)
|
832
|
+
if response['Response'].key?('Error') == false
|
833
|
+
model = UpdateProbeTaskConfigurationListResponse.new
|
834
|
+
model.deserialize(response['Response'])
|
835
|
+
model
|
836
|
+
else
|
837
|
+
code = response['Response']['Error']['Code']
|
838
|
+
message = response['Response']['Error']['Message']
|
839
|
+
reqid = response['Response']['RequestId']
|
840
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
841
|
+
end
|
842
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
843
|
+
raise e
|
844
|
+
rescue StandardError => e
|
845
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
|
+
end
|
847
|
+
|
656
848
|
# 验证拨测任务,结果验证查询(验证成功的,才建议创建拨测任务)
|
657
849
|
|
658
850
|
# @param request: Request instance for VerifyResult.
|
data/lib/v20180409/models.rb
CHANGED
@@ -565,6 +565,71 @@ module TencentCloud
|
|
565
565
|
end
|
566
566
|
end
|
567
567
|
|
568
|
+
# CreateProbeTasks请求参数结构体
|
569
|
+
class CreateProbeTasksRequest < TencentCloud::Common::AbstractModel
|
570
|
+
# @param BatchTasks: 批量任务名-地址
|
571
|
+
# @type BatchTasks: Array
|
572
|
+
# @param TaskType: 任务类型
|
573
|
+
# @type TaskType: Integer
|
574
|
+
# @param Nodes: 探测节点
|
575
|
+
# @type Nodes: Array
|
576
|
+
# @param Interval: 探测间隔
|
577
|
+
# @type Interval: Integer
|
578
|
+
# @param Parameters: 探测参数
|
579
|
+
# @type Parameters: String
|
580
|
+
# @param TaskCategory: 任务分类
|
581
|
+
# <li>1 = PC</li>
|
582
|
+
# <li> 2 = Mobile </li>
|
583
|
+
# @type TaskCategory: Integer
|
584
|
+
# @param Cron: 定时任务cron表达式
|
585
|
+
# @type Cron: String
|
586
|
+
|
587
|
+
attr_accessor :BatchTasks, :TaskType, :Nodes, :Interval, :Parameters, :TaskCategory, :Cron
|
588
|
+
|
589
|
+
def initialize(batchtasks=nil, tasktype=nil, nodes=nil, interval=nil, parameters=nil, taskcategory=nil, cron=nil)
|
590
|
+
@BatchTasks = batchtasks
|
591
|
+
@TaskType = tasktype
|
592
|
+
@Nodes = nodes
|
593
|
+
@Interval = interval
|
594
|
+
@Parameters = parameters
|
595
|
+
@TaskCategory = taskcategory
|
596
|
+
@Cron = cron
|
597
|
+
end
|
598
|
+
|
599
|
+
def deserialize(params)
|
600
|
+
unless params['BatchTasks'].nil?
|
601
|
+
@BatchTasks = []
|
602
|
+
params['BatchTasks'].each do |i|
|
603
|
+
probetaskbasicconfiguration_tmp = ProbeTaskBasicConfiguration.new
|
604
|
+
probetaskbasicconfiguration_tmp.deserialize(i)
|
605
|
+
@BatchTasks << probetaskbasicconfiguration_tmp
|
606
|
+
end
|
607
|
+
end
|
608
|
+
@TaskType = params['TaskType']
|
609
|
+
@Nodes = params['Nodes']
|
610
|
+
@Interval = params['Interval']
|
611
|
+
@Parameters = params['Parameters']
|
612
|
+
@TaskCategory = params['TaskCategory']
|
613
|
+
@Cron = params['Cron']
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
# CreateProbeTasks返回参数结构体
|
618
|
+
class CreateProbeTasksResponse < TencentCloud::Common::AbstractModel
|
619
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
620
|
+
# @type RequestId: String
|
621
|
+
|
622
|
+
attr_accessor :RequestId
|
623
|
+
|
624
|
+
def initialize(requestid=nil)
|
625
|
+
@RequestId = requestid
|
626
|
+
end
|
627
|
+
|
628
|
+
def deserialize(params)
|
629
|
+
@RequestId = params['RequestId']
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
568
633
|
# CreateTaskEx请求参数结构体
|
569
634
|
class CreateTaskExRequest < TencentCloud::Common::AbstractModel
|
570
635
|
# @param CatTypeName: http, https, ping, tcp, ftp, smtp, udp, dns 之一
|
@@ -796,6 +861,59 @@ module TencentCloud
|
|
796
861
|
end
|
797
862
|
end
|
798
863
|
|
864
|
+
# DeleteProbeTask请求参数结构体
|
865
|
+
class DeleteProbeTaskRequest < TencentCloud::Common::AbstractModel
|
866
|
+
# @param TaskIds: 任务 ID
|
867
|
+
# @type TaskIds: Array
|
868
|
+
|
869
|
+
attr_accessor :TaskIds
|
870
|
+
|
871
|
+
def initialize(taskids=nil)
|
872
|
+
@TaskIds = taskids
|
873
|
+
end
|
874
|
+
|
875
|
+
def deserialize(params)
|
876
|
+
@TaskIds = params['TaskIds']
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# DeleteProbeTask返回参数结构体
|
881
|
+
class DeleteProbeTaskResponse < TencentCloud::Common::AbstractModel
|
882
|
+
# @param Total: 任务总量
|
883
|
+
# @type Total: Integer
|
884
|
+
# @param SuccessCount: 任务成功量
|
885
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
886
|
+
# @type SuccessCount: Integer
|
887
|
+
# @param Results: 任务执行结果
|
888
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
889
|
+
# @type Results: Array
|
890
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
891
|
+
# @type RequestId: String
|
892
|
+
|
893
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
894
|
+
|
895
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
896
|
+
@Total = total
|
897
|
+
@SuccessCount = successcount
|
898
|
+
@Results = results
|
899
|
+
@RequestId = requestid
|
900
|
+
end
|
901
|
+
|
902
|
+
def deserialize(params)
|
903
|
+
@Total = params['Total']
|
904
|
+
@SuccessCount = params['SuccessCount']
|
905
|
+
unless params['Results'].nil?
|
906
|
+
@Results = []
|
907
|
+
params['Results'].each do |i|
|
908
|
+
taskresult_tmp = TaskResult.new
|
909
|
+
taskresult_tmp.deserialize(i)
|
910
|
+
@Results << taskresult_tmp
|
911
|
+
end
|
912
|
+
end
|
913
|
+
@RequestId = params['RequestId']
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
799
917
|
# DeleteTasks请求参数结构体
|
800
918
|
class DeleteTasksRequest < TencentCloud::Common::AbstractModel
|
801
919
|
# @param TaskIds: 拨测任务id
|
@@ -1183,6 +1301,261 @@ module TencentCloud
|
|
1183
1301
|
end
|
1184
1302
|
end
|
1185
1303
|
|
1304
|
+
# DescribeDetailedSingleProbeData请求参数结构体
|
1305
|
+
class DescribeDetailedSingleProbeDataRequest < TencentCloud::Common::AbstractModel
|
1306
|
+
# @param BeginTime: 开始时间戳(毫秒级)
|
1307
|
+
# @type BeginTime: Integer
|
1308
|
+
# @param EndTime: 结束时间戳(毫秒级)
|
1309
|
+
# @type EndTime: Integer
|
1310
|
+
# @param TaskType: 任务类型
|
1311
|
+
# @type TaskType: String
|
1312
|
+
# @param SortField: 待排序字段
|
1313
|
+
# @type SortField: String
|
1314
|
+
# @param Ascending: true表示升序
|
1315
|
+
# @type Ascending: Boolean
|
1316
|
+
# @param SelectedFields: 选中字段
|
1317
|
+
# @type SelectedFields: Array
|
1318
|
+
# @param Offset: 起始取数位置
|
1319
|
+
# @type Offset: Integer
|
1320
|
+
# @param Limit: 取数数量
|
1321
|
+
# @type Limit: Integer
|
1322
|
+
# @param TaskID: 任务ID
|
1323
|
+
# @type TaskID: Array
|
1324
|
+
# @param Operators: 拨测点运营商
|
1325
|
+
# @type Operators: Array
|
1326
|
+
# @param Districts: 拨测点地区
|
1327
|
+
# @type Districts: Array
|
1328
|
+
# @param ErrorTypes: 错误类型
|
1329
|
+
# @type ErrorTypes: Array
|
1330
|
+
|
1331
|
+
attr_accessor :BeginTime, :EndTime, :TaskType, :SortField, :Ascending, :SelectedFields, :Offset, :Limit, :TaskID, :Operators, :Districts, :ErrorTypes
|
1332
|
+
|
1333
|
+
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)
|
1334
|
+
@BeginTime = begintime
|
1335
|
+
@EndTime = endtime
|
1336
|
+
@TaskType = tasktype
|
1337
|
+
@SortField = sortfield
|
1338
|
+
@Ascending = ascending
|
1339
|
+
@SelectedFields = selectedfields
|
1340
|
+
@Offset = offset
|
1341
|
+
@Limit = limit
|
1342
|
+
@TaskID = taskid
|
1343
|
+
@Operators = operators
|
1344
|
+
@Districts = districts
|
1345
|
+
@ErrorTypes = errortypes
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
def deserialize(params)
|
1349
|
+
@BeginTime = params['BeginTime']
|
1350
|
+
@EndTime = params['EndTime']
|
1351
|
+
@TaskType = params['TaskType']
|
1352
|
+
@SortField = params['SortField']
|
1353
|
+
@Ascending = params['Ascending']
|
1354
|
+
@SelectedFields = params['SelectedFields']
|
1355
|
+
@Offset = params['Offset']
|
1356
|
+
@Limit = params['Limit']
|
1357
|
+
@TaskID = params['TaskID']
|
1358
|
+
@Operators = params['Operators']
|
1359
|
+
@Districts = params['Districts']
|
1360
|
+
@ErrorTypes = params['ErrorTypes']
|
1361
|
+
end
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# DescribeDetailedSingleProbeData返回参数结构体
|
1365
|
+
class DescribeDetailedSingleProbeDataResponse < TencentCloud::Common::AbstractModel
|
1366
|
+
# @param DataSet: 单次详情数据
|
1367
|
+
# @type DataSet: Array
|
1368
|
+
# @param TotalNumber: 符合条件的数据总数
|
1369
|
+
# @type TotalNumber: Integer
|
1370
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1371
|
+
# @type RequestId: String
|
1372
|
+
|
1373
|
+
attr_accessor :DataSet, :TotalNumber, :RequestId
|
1374
|
+
|
1375
|
+
def initialize(dataset=nil, totalnumber=nil, requestid=nil)
|
1376
|
+
@DataSet = dataset
|
1377
|
+
@TotalNumber = totalnumber
|
1378
|
+
@RequestId = requestid
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
def deserialize(params)
|
1382
|
+
unless params['DataSet'].nil?
|
1383
|
+
@DataSet = []
|
1384
|
+
params['DataSet'].each do |i|
|
1385
|
+
detailedsingledatadefine_tmp = DetailedSingleDataDefine.new
|
1386
|
+
detailedsingledatadefine_tmp.deserialize(i)
|
1387
|
+
@DataSet << detailedsingledatadefine_tmp
|
1388
|
+
end
|
1389
|
+
end
|
1390
|
+
@TotalNumber = params['TotalNumber']
|
1391
|
+
@RequestId = params['RequestId']
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# DescribeProbeNodes请求参数结构体
|
1396
|
+
class DescribeProbeNodesRequest < TencentCloud::Common::AbstractModel
|
1397
|
+
# @param NodeType: 节点类型
|
1398
|
+
# <li> 1 = IDC </li>
|
1399
|
+
# <li> 2 = LastMile </li>
|
1400
|
+
# <li> 3 = Mobile </li>
|
1401
|
+
# @type NodeType: Integer
|
1402
|
+
# @param Location: 节点区域
|
1403
|
+
# <li> 1 = 中国大陆 </li>
|
1404
|
+
# <li> 2 = 港澳台 </li>
|
1405
|
+
# <li> 3 = 海外 </li>
|
1406
|
+
# @type Location: Integer
|
1407
|
+
# @param IsIPv6: 是否IPv6
|
1408
|
+
# @type IsIPv6: Boolean
|
1409
|
+
# @param NodeName: 名字模糊搜索
|
1410
|
+
# @type NodeName: String
|
1411
|
+
# @param PayMode: 付费模式
|
1412
|
+
# <li>1 = 试用版本</li>
|
1413
|
+
# <li> 2 = 付费版本 </li>
|
1414
|
+
# @type PayMode: Integer
|
1415
|
+
|
1416
|
+
attr_accessor :NodeType, :Location, :IsIPv6, :NodeName, :PayMode
|
1417
|
+
|
1418
|
+
def initialize(nodetype=nil, location=nil, isipv6=nil, nodename=nil, paymode=nil)
|
1419
|
+
@NodeType = nodetype
|
1420
|
+
@Location = location
|
1421
|
+
@IsIPv6 = isipv6
|
1422
|
+
@NodeName = nodename
|
1423
|
+
@PayMode = paymode
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
def deserialize(params)
|
1427
|
+
@NodeType = params['NodeType']
|
1428
|
+
@Location = params['Location']
|
1429
|
+
@IsIPv6 = params['IsIPv6']
|
1430
|
+
@NodeName = params['NodeName']
|
1431
|
+
@PayMode = params['PayMode']
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# DescribeProbeNodes返回参数结构体
|
1436
|
+
class DescribeProbeNodesResponse < TencentCloud::Common::AbstractModel
|
1437
|
+
# @param NodeSet: 节点列表
|
1438
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1439
|
+
# @type NodeSet: Array
|
1440
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1441
|
+
# @type RequestId: String
|
1442
|
+
|
1443
|
+
attr_accessor :NodeSet, :RequestId
|
1444
|
+
|
1445
|
+
def initialize(nodeset=nil, requestid=nil)
|
1446
|
+
@NodeSet = nodeset
|
1447
|
+
@RequestId = requestid
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
def deserialize(params)
|
1451
|
+
unless params['NodeSet'].nil?
|
1452
|
+
@NodeSet = []
|
1453
|
+
params['NodeSet'].each do |i|
|
1454
|
+
nodedefine_tmp = NodeDefine.new
|
1455
|
+
nodedefine_tmp.deserialize(i)
|
1456
|
+
@NodeSet << nodedefine_tmp
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
@RequestId = params['RequestId']
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# DescribeProbeTasks请求参数结构体
|
1464
|
+
class DescribeProbeTasksRequest < TencentCloud::Common::AbstractModel
|
1465
|
+
# @param TaskIDs: 任务 ID 列表
|
1466
|
+
# @type TaskIDs: Array
|
1467
|
+
# @param TaskName: 任务名
|
1468
|
+
# @type TaskName: String
|
1469
|
+
# @param TargetAddress: 探测目标
|
1470
|
+
# @type TargetAddress: String
|
1471
|
+
# @param TaskStatus: 任务状态列表
|
1472
|
+
# @type TaskStatus: Array
|
1473
|
+
# @param Offset: 偏移量,默认为0
|
1474
|
+
# @type Offset: Integer
|
1475
|
+
# @param Limit: 返回数量,默认为20,最大值为100
|
1476
|
+
# @type Limit: Integer
|
1477
|
+
# @param PayMode: 付费模式
|
1478
|
+
# <li>1 = 试用版本</li>
|
1479
|
+
# <li> 2 = 付费版本 </li>
|
1480
|
+
# @type PayMode: Integer
|
1481
|
+
# @param OrderState: 订单状态
|
1482
|
+
# <li>1 = 正常</li>
|
1483
|
+
# <li> 2 = 欠费 </li>
|
1484
|
+
# @type OrderState: Integer
|
1485
|
+
# @param TaskType: 拨测类型
|
1486
|
+
# @type TaskType: Array
|
1487
|
+
# @param TaskCategory: 节点类型
|
1488
|
+
# @type TaskCategory: Array
|
1489
|
+
# @param OrderBy: 排序的列
|
1490
|
+
# @type OrderBy: String
|
1491
|
+
# @param Ascend: 是否正序
|
1492
|
+
# @type Ascend: Boolean
|
1493
|
+
|
1494
|
+
attr_accessor :TaskIDs, :TaskName, :TargetAddress, :TaskStatus, :Offset, :Limit, :PayMode, :OrderState, :TaskType, :TaskCategory, :OrderBy, :Ascend
|
1495
|
+
|
1496
|
+
def initialize(taskids=nil, taskname=nil, targetaddress=nil, taskstatus=nil, offset=nil, limit=nil, paymode=nil, orderstate=nil, tasktype=nil, taskcategory=nil, orderby=nil, ascend=nil)
|
1497
|
+
@TaskIDs = taskids
|
1498
|
+
@TaskName = taskname
|
1499
|
+
@TargetAddress = targetaddress
|
1500
|
+
@TaskStatus = taskstatus
|
1501
|
+
@Offset = offset
|
1502
|
+
@Limit = limit
|
1503
|
+
@PayMode = paymode
|
1504
|
+
@OrderState = orderstate
|
1505
|
+
@TaskType = tasktype
|
1506
|
+
@TaskCategory = taskcategory
|
1507
|
+
@OrderBy = orderby
|
1508
|
+
@Ascend = ascend
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
def deserialize(params)
|
1512
|
+
@TaskIDs = params['TaskIDs']
|
1513
|
+
@TaskName = params['TaskName']
|
1514
|
+
@TargetAddress = params['TargetAddress']
|
1515
|
+
@TaskStatus = params['TaskStatus']
|
1516
|
+
@Offset = params['Offset']
|
1517
|
+
@Limit = params['Limit']
|
1518
|
+
@PayMode = params['PayMode']
|
1519
|
+
@OrderState = params['OrderState']
|
1520
|
+
@TaskType = params['TaskType']
|
1521
|
+
@TaskCategory = params['TaskCategory']
|
1522
|
+
@OrderBy = params['OrderBy']
|
1523
|
+
@Ascend = params['Ascend']
|
1524
|
+
end
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
# DescribeProbeTasks返回参数结构体
|
1528
|
+
class DescribeProbeTasksResponse < TencentCloud::Common::AbstractModel
|
1529
|
+
# @param TaskSet: 任务列表
|
1530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1531
|
+
# @type TaskSet: Array
|
1532
|
+
# @param Total: 任务总数
|
1533
|
+
# @type Total: Integer
|
1534
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1535
|
+
# @type RequestId: String
|
1536
|
+
|
1537
|
+
attr_accessor :TaskSet, :Total, :RequestId
|
1538
|
+
|
1539
|
+
def initialize(taskset=nil, total=nil, requestid=nil)
|
1540
|
+
@TaskSet = taskset
|
1541
|
+
@Total = total
|
1542
|
+
@RequestId = requestid
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def deserialize(params)
|
1546
|
+
unless params['TaskSet'].nil?
|
1547
|
+
@TaskSet = []
|
1548
|
+
params['TaskSet'].each do |i|
|
1549
|
+
probetask_tmp = ProbeTask.new
|
1550
|
+
probetask_tmp.deserialize(i)
|
1551
|
+
@TaskSet << probetask_tmp
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
@Total = params['Total']
|
1555
|
+
@RequestId = params['RequestId']
|
1556
|
+
end
|
1557
|
+
end
|
1558
|
+
|
1186
1559
|
# DescribeTaskDetail请求参数结构体
|
1187
1560
|
class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
|
1188
1561
|
# @param TaskIds: 拨测任务id 数组
|
@@ -1324,6 +1697,44 @@ module TencentCloud
|
|
1324
1697
|
end
|
1325
1698
|
end
|
1326
1699
|
|
1700
|
+
# 单条详细拨测数据
|
1701
|
+
class DetailedSingleDataDefine < TencentCloud::Common::AbstractModel
|
1702
|
+
# @param ProbeTime: 拨测时间戳
|
1703
|
+
# @type ProbeTime: Integer
|
1704
|
+
# @param Labels: 储存所有string类型字段
|
1705
|
+
# @type Labels: Array
|
1706
|
+
# @param Fields: 储存所有float类型字段
|
1707
|
+
# @type Fields: Array
|
1708
|
+
|
1709
|
+
attr_accessor :ProbeTime, :Labels, :Fields
|
1710
|
+
|
1711
|
+
def initialize(probetime=nil, labels=nil, fields=nil)
|
1712
|
+
@ProbeTime = probetime
|
1713
|
+
@Labels = labels
|
1714
|
+
@Fields = fields
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
def deserialize(params)
|
1718
|
+
@ProbeTime = params['ProbeTime']
|
1719
|
+
unless params['Labels'].nil?
|
1720
|
+
@Labels = []
|
1721
|
+
params['Labels'].each do |i|
|
1722
|
+
label_tmp = Label.new
|
1723
|
+
label_tmp.deserialize(i)
|
1724
|
+
@Labels << label_tmp
|
1725
|
+
end
|
1726
|
+
end
|
1727
|
+
unless params['Fields'].nil?
|
1728
|
+
@Fields = []
|
1729
|
+
params['Fields'].each do |i|
|
1730
|
+
field_tmp = Field.new
|
1731
|
+
field_tmp.deserialize(i)
|
1732
|
+
@Fields << field_tmp
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1327
1738
|
# 拨测点维度信息
|
1328
1739
|
class DimensionsDetail < TencentCloud::Common::AbstractModel
|
1329
1740
|
# @param Isp: 运营商列表
|
@@ -1344,6 +1755,30 @@ module TencentCloud
|
|
1344
1755
|
end
|
1345
1756
|
end
|
1346
1757
|
|
1758
|
+
# 储存float类型字段
|
1759
|
+
class Field < TencentCloud::Common::AbstractModel
|
1760
|
+
# @param ID: 自定义字段编号
|
1761
|
+
# @type ID: Integer
|
1762
|
+
# @param Name: 自定义字段名称/说明
|
1763
|
+
# @type Name: String
|
1764
|
+
# @param Value: 字段值
|
1765
|
+
# @type Value: Float
|
1766
|
+
|
1767
|
+
attr_accessor :ID, :Name, :Value
|
1768
|
+
|
1769
|
+
def initialize(id=nil, name=nil, value=nil)
|
1770
|
+
@ID = id
|
1771
|
+
@Name = name
|
1772
|
+
@Value = value
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
def deserialize(params)
|
1776
|
+
@ID = params['ID']
|
1777
|
+
@Name = params['Name']
|
1778
|
+
@Value = params['Value']
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1347
1782
|
# GetAvailRatioHistory请求参数结构体
|
1348
1783
|
class GetAvailRatioHistoryRequest < TencentCloud::Common::AbstractModel
|
1349
1784
|
# @param TaskId: 拨测任务Id
|
@@ -1942,6 +2377,30 @@ module TencentCloud
|
|
1942
2377
|
end
|
1943
2378
|
end
|
1944
2379
|
|
2380
|
+
# 保存string类型字段
|
2381
|
+
class Label < TencentCloud::Common::AbstractModel
|
2382
|
+
# @param ID: 自定义字段编号
|
2383
|
+
# @type ID: Integer
|
2384
|
+
# @param Name: 自定义字段名称/说明
|
2385
|
+
# @type Name: String
|
2386
|
+
# @param Value: 字段值
|
2387
|
+
# @type Value: String
|
2388
|
+
|
2389
|
+
attr_accessor :ID, :Name, :Value
|
2390
|
+
|
2391
|
+
def initialize(id=nil, name=nil, value=nil)
|
2392
|
+
@ID = id
|
2393
|
+
@Name = name
|
2394
|
+
@Value = value
|
2395
|
+
end
|
2396
|
+
|
2397
|
+
def deserialize(params)
|
2398
|
+
@ID = params['ID']
|
2399
|
+
@Name = params['Name']
|
2400
|
+
@Value = params['Value']
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
|
1945
2404
|
# ModifyAgentGroup请求参数结构体
|
1946
2405
|
class ModifyAgentGroupRequest < TencentCloud::Common::AbstractModel
|
1947
2406
|
# @param GroupId: 拨测分组ID
|
@@ -2137,6 +2596,60 @@ module TencentCloud
|
|
2137
2596
|
end
|
2138
2597
|
end
|
2139
2598
|
|
2599
|
+
# 探测节点
|
2600
|
+
class NodeDefine < TencentCloud::Common::AbstractModel
|
2601
|
+
# @param Name: 节点名称
|
2602
|
+
# @type Name: String
|
2603
|
+
# @param Code: 节点代码
|
2604
|
+
# @type Code: String
|
2605
|
+
# @param Type: 节点类型
|
2606
|
+
# <li> 1 = IDC </li>
|
2607
|
+
# <li> 2 = LastMile </li>
|
2608
|
+
# <li> 3 = Mobile </li>
|
2609
|
+
# @type Type: Integer
|
2610
|
+
# @param NetService: 网络服务商
|
2611
|
+
# @type NetService: String
|
2612
|
+
# @param District: 区域
|
2613
|
+
# @type District: String
|
2614
|
+
# @param City: 城市
|
2615
|
+
# @type City: String
|
2616
|
+
# @param IPType: IP 类型
|
2617
|
+
# <li> 1 = IPv4 </li>
|
2618
|
+
# <li> 2 = IPv6 </li>
|
2619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2620
|
+
# @type IPType: Integer
|
2621
|
+
# @param Location: 区域
|
2622
|
+
# <li> 1 = 中国大陆 </li>
|
2623
|
+
# <li> 2 = 港澳台 </li>
|
2624
|
+
# <li> 3 = 国外 </li>
|
2625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2626
|
+
# @type Location: Integer
|
2627
|
+
|
2628
|
+
attr_accessor :Name, :Code, :Type, :NetService, :District, :City, :IPType, :Location
|
2629
|
+
|
2630
|
+
def initialize(name=nil, code=nil, type=nil, netservice=nil, district=nil, city=nil, iptype=nil, location=nil)
|
2631
|
+
@Name = name
|
2632
|
+
@Code = code
|
2633
|
+
@Type = type
|
2634
|
+
@NetService = netservice
|
2635
|
+
@District = district
|
2636
|
+
@City = city
|
2637
|
+
@IPType = iptype
|
2638
|
+
@Location = location
|
2639
|
+
end
|
2640
|
+
|
2641
|
+
def deserialize(params)
|
2642
|
+
@Name = params['Name']
|
2643
|
+
@Code = params['Code']
|
2644
|
+
@Type = params['Type']
|
2645
|
+
@NetService = params['NetService']
|
2646
|
+
@District = params['District']
|
2647
|
+
@City = params['City']
|
2648
|
+
@IPType = params['IPType']
|
2649
|
+
@Location = params['Location']
|
2650
|
+
end
|
2651
|
+
end
|
2652
|
+
|
2140
2653
|
# PauseTask请求参数结构体
|
2141
2654
|
class PauseTaskRequest < TencentCloud::Common::AbstractModel
|
2142
2655
|
# @param TaskId: 拨测任务id
|
@@ -2169,6 +2682,107 @@ module TencentCloud
|
|
2169
2682
|
end
|
2170
2683
|
end
|
2171
2684
|
|
2685
|
+
# 探测任务
|
2686
|
+
class ProbeTask < TencentCloud::Common::AbstractModel
|
2687
|
+
# @param Name: 任务名
|
2688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2689
|
+
# @type Name: String
|
2690
|
+
# @param TaskId: 任务 ID
|
2691
|
+
# @type TaskId: String
|
2692
|
+
# @param TaskType: 任务类型
|
2693
|
+
# @type TaskType: Integer
|
2694
|
+
# @param Nodes: 探测节点列表
|
2695
|
+
# @type Nodes: Array
|
2696
|
+
# @param Interval: 探测间隔
|
2697
|
+
# @type Interval: Integer
|
2698
|
+
# @param Parameters: 探测参数
|
2699
|
+
# @type Parameters: String
|
2700
|
+
# @param Status: 任务状态
|
2701
|
+
# @type Status: Integer
|
2702
|
+
# @param TargetAddress: 目标地址
|
2703
|
+
# @type TargetAddress: String
|
2704
|
+
# @param PayMode: 付费模式
|
2705
|
+
# <li>1 = 试用版本</li>
|
2706
|
+
# <li> 2 = 付费版本 </li>
|
2707
|
+
# @type PayMode: Integer
|
2708
|
+
# @param OrderState: 订单状态
|
2709
|
+
# <li>1 = 正常</li>
|
2710
|
+
# <li> 2 = 欠费 </li>
|
2711
|
+
# @type OrderState: Integer
|
2712
|
+
# @param TaskCategory: 任务分类
|
2713
|
+
# <li>1 = PC</li>
|
2714
|
+
# <li> 2 = Mobile </li>
|
2715
|
+
# @type TaskCategory: Integer
|
2716
|
+
# @param CreatedAt: 创建时间
|
2717
|
+
# @type CreatedAt: String
|
2718
|
+
# @param Cron: 定时任务cron表达式
|
2719
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2720
|
+
# @type Cron: String
|
2721
|
+
# @param CronState: 定时任务启动状态
|
2722
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2723
|
+
# @type CronState: Integer
|
2724
|
+
|
2725
|
+
attr_accessor :Name, :TaskId, :TaskType, :Nodes, :Interval, :Parameters, :Status, :TargetAddress, :PayMode, :OrderState, :TaskCategory, :CreatedAt, :Cron, :CronState
|
2726
|
+
|
2727
|
+
def initialize(name=nil, taskid=nil, tasktype=nil, nodes=nil, interval=nil, parameters=nil, status=nil, targetaddress=nil, paymode=nil, orderstate=nil, taskcategory=nil, createdat=nil, cron=nil, cronstate=nil)
|
2728
|
+
@Name = name
|
2729
|
+
@TaskId = taskid
|
2730
|
+
@TaskType = tasktype
|
2731
|
+
@Nodes = nodes
|
2732
|
+
@Interval = interval
|
2733
|
+
@Parameters = parameters
|
2734
|
+
@Status = status
|
2735
|
+
@TargetAddress = targetaddress
|
2736
|
+
@PayMode = paymode
|
2737
|
+
@OrderState = orderstate
|
2738
|
+
@TaskCategory = taskcategory
|
2739
|
+
@CreatedAt = createdat
|
2740
|
+
@Cron = cron
|
2741
|
+
@CronState = cronstate
|
2742
|
+
end
|
2743
|
+
|
2744
|
+
def deserialize(params)
|
2745
|
+
@Name = params['Name']
|
2746
|
+
@TaskId = params['TaskId']
|
2747
|
+
@TaskType = params['TaskType']
|
2748
|
+
@Nodes = params['Nodes']
|
2749
|
+
@Interval = params['Interval']
|
2750
|
+
@Parameters = params['Parameters']
|
2751
|
+
@Status = params['Status']
|
2752
|
+
@TargetAddress = params['TargetAddress']
|
2753
|
+
@PayMode = params['PayMode']
|
2754
|
+
@OrderState = params['OrderState']
|
2755
|
+
@TaskCategory = params['TaskCategory']
|
2756
|
+
@CreatedAt = params['CreatedAt']
|
2757
|
+
@Cron = params['Cron']
|
2758
|
+
@CronState = params['CronState']
|
2759
|
+
end
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
# type ProbeTaskBasicConfiguration struct {
|
2763
|
+
# TaskID TaskID `json:"TaskId" gorm:"column:task_id"`
|
2764
|
+
# Name string `json:"Name" binding:"required" gorm:"column:name"`
|
2765
|
+
# TargetAddress string `json:"TargetAddress" binding:"required" gorm:"column:target_address"`
|
2766
|
+
# }
|
2767
|
+
class ProbeTaskBasicConfiguration < TencentCloud::Common::AbstractModel
|
2768
|
+
# @param Name: 拨测任务名称
|
2769
|
+
# @type Name: String
|
2770
|
+
# @param TargetAddress: 拨测目标地址
|
2771
|
+
# @type TargetAddress: String
|
2772
|
+
|
2773
|
+
attr_accessor :Name, :TargetAddress
|
2774
|
+
|
2775
|
+
def initialize(name=nil, targetaddress=nil)
|
2776
|
+
@Name = name
|
2777
|
+
@TargetAddress = targetaddress
|
2778
|
+
end
|
2779
|
+
|
2780
|
+
def deserialize(params)
|
2781
|
+
@Name = params['Name']
|
2782
|
+
@TargetAddress = params['TargetAddress']
|
2783
|
+
end
|
2784
|
+
end
|
2785
|
+
|
2172
2786
|
# 省份可用率
|
2173
2787
|
class ProvinceDetail < TencentCloud::Common::AbstractModel
|
2174
2788
|
# @param AvgAvailRatio: 可用率
|
@@ -2244,6 +2858,59 @@ module TencentCloud
|
|
2244
2858
|
end
|
2245
2859
|
end
|
2246
2860
|
|
2861
|
+
# ResumeProbeTask请求参数结构体
|
2862
|
+
class ResumeProbeTaskRequest < TencentCloud::Common::AbstractModel
|
2863
|
+
# @param TaskIds: 任务 ID
|
2864
|
+
# @type TaskIds: Array
|
2865
|
+
|
2866
|
+
attr_accessor :TaskIds
|
2867
|
+
|
2868
|
+
def initialize(taskids=nil)
|
2869
|
+
@TaskIds = taskids
|
2870
|
+
end
|
2871
|
+
|
2872
|
+
def deserialize(params)
|
2873
|
+
@TaskIds = params['TaskIds']
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# ResumeProbeTask返回参数结构体
|
2878
|
+
class ResumeProbeTaskResponse < TencentCloud::Common::AbstractModel
|
2879
|
+
# @param Total: 任务总量
|
2880
|
+
# @type Total: Integer
|
2881
|
+
# @param SuccessCount: 任务成功量
|
2882
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2883
|
+
# @type SuccessCount: Integer
|
2884
|
+
# @param Results: 任务执行详情
|
2885
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2886
|
+
# @type Results: Array
|
2887
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2888
|
+
# @type RequestId: String
|
2889
|
+
|
2890
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
2891
|
+
|
2892
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
2893
|
+
@Total = total
|
2894
|
+
@SuccessCount = successcount
|
2895
|
+
@Results = results
|
2896
|
+
@RequestId = requestid
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
def deserialize(params)
|
2900
|
+
@Total = params['Total']
|
2901
|
+
@SuccessCount = params['SuccessCount']
|
2902
|
+
unless params['Results'].nil?
|
2903
|
+
@Results = []
|
2904
|
+
params['Results'].each do |i|
|
2905
|
+
taskresult_tmp = TaskResult.new
|
2906
|
+
taskresult_tmp.deserialize(i)
|
2907
|
+
@Results << taskresult_tmp
|
2908
|
+
end
|
2909
|
+
end
|
2910
|
+
@RequestId = params['RequestId']
|
2911
|
+
end
|
2912
|
+
end
|
2913
|
+
|
2247
2914
|
# RunTask请求参数结构体
|
2248
2915
|
class RunTaskRequest < TencentCloud::Common::AbstractModel
|
2249
2916
|
# @param TaskId: 任务Id
|
@@ -2276,6 +2943,59 @@ module TencentCloud
|
|
2276
2943
|
end
|
2277
2944
|
end
|
2278
2945
|
|
2946
|
+
# SuspendProbeTask请求参数结构体
|
2947
|
+
class SuspendProbeTaskRequest < TencentCloud::Common::AbstractModel
|
2948
|
+
# @param TaskIds: 任务 ID
|
2949
|
+
# @type TaskIds: Array
|
2950
|
+
|
2951
|
+
attr_accessor :TaskIds
|
2952
|
+
|
2953
|
+
def initialize(taskids=nil)
|
2954
|
+
@TaskIds = taskids
|
2955
|
+
end
|
2956
|
+
|
2957
|
+
def deserialize(params)
|
2958
|
+
@TaskIds = params['TaskIds']
|
2959
|
+
end
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
# SuspendProbeTask返回参数结构体
|
2963
|
+
class SuspendProbeTaskResponse < TencentCloud::Common::AbstractModel
|
2964
|
+
# @param Total: 任务总量
|
2965
|
+
# @type Total: Integer
|
2966
|
+
# @param SuccessCount: 任务成功量
|
2967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2968
|
+
# @type SuccessCount: Integer
|
2969
|
+
# @param Results: 任务执行结果
|
2970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2971
|
+
# @type Results: Array
|
2972
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2973
|
+
# @type RequestId: String
|
2974
|
+
|
2975
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
2976
|
+
|
2977
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
2978
|
+
@Total = total
|
2979
|
+
@SuccessCount = successcount
|
2980
|
+
@Results = results
|
2981
|
+
@RequestId = requestid
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
def deserialize(params)
|
2985
|
+
@Total = params['Total']
|
2986
|
+
@SuccessCount = params['SuccessCount']
|
2987
|
+
unless params['Results'].nil?
|
2988
|
+
@Results = []
|
2989
|
+
params['Results'].each do |i|
|
2990
|
+
taskresult_tmp = TaskResult.new
|
2991
|
+
taskresult_tmp.deserialize(i)
|
2992
|
+
@Results << taskresult_tmp
|
2993
|
+
end
|
2994
|
+
end
|
2995
|
+
@RequestId = params['RequestId']
|
2996
|
+
end
|
2997
|
+
end
|
2998
|
+
|
2279
2999
|
# 可用性监控任务状态及告警信息
|
2280
3000
|
class TaskAlarm < TencentCloud::Common::AbstractModel
|
2281
3001
|
# @param TaskId: 任务ID
|
@@ -2328,6 +3048,80 @@ module TencentCloud
|
|
2328
3048
|
end
|
2329
3049
|
end
|
2330
3050
|
|
3051
|
+
# 任务执行结果
|
3052
|
+
class TaskResult < TencentCloud::Common::AbstractModel
|
3053
|
+
# @param TaskId: 任务 ID
|
3054
|
+
# @type TaskId: String
|
3055
|
+
# @param Success: 是否成功
|
3056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3057
|
+
# @type Success: Boolean
|
3058
|
+
# @param ErrorMessage: 错误信息
|
3059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3060
|
+
# @type ErrorMessage: String
|
3061
|
+
|
3062
|
+
attr_accessor :TaskId, :Success, :ErrorMessage
|
3063
|
+
|
3064
|
+
def initialize(taskid=nil, success=nil, errormessage=nil)
|
3065
|
+
@TaskId = taskid
|
3066
|
+
@Success = success
|
3067
|
+
@ErrorMessage = errormessage
|
3068
|
+
end
|
3069
|
+
|
3070
|
+
def deserialize(params)
|
3071
|
+
@TaskId = params['TaskId']
|
3072
|
+
@Success = params['Success']
|
3073
|
+
@ErrorMessage = params['ErrorMessage']
|
3074
|
+
end
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# UpdateProbeTaskConfigurationList请求参数结构体
|
3078
|
+
class UpdateProbeTaskConfigurationListRequest < TencentCloud::Common::AbstractModel
|
3079
|
+
# @param TaskIds: 任务 ID
|
3080
|
+
# @type TaskIds: Array
|
3081
|
+
# @param Nodes: 拨测节点
|
3082
|
+
# @type Nodes: Array
|
3083
|
+
# @param Interval: 拨测间隔
|
3084
|
+
# @type Interval: Integer
|
3085
|
+
# @param Parameters: 拨测参数
|
3086
|
+
# @type Parameters: String
|
3087
|
+
# @param Cron: 定时任务cron表达式
|
3088
|
+
# @type Cron: String
|
3089
|
+
|
3090
|
+
attr_accessor :TaskIds, :Nodes, :Interval, :Parameters, :Cron
|
3091
|
+
|
3092
|
+
def initialize(taskids=nil, nodes=nil, interval=nil, parameters=nil, cron=nil)
|
3093
|
+
@TaskIds = taskids
|
3094
|
+
@Nodes = nodes
|
3095
|
+
@Interval = interval
|
3096
|
+
@Parameters = parameters
|
3097
|
+
@Cron = cron
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
def deserialize(params)
|
3101
|
+
@TaskIds = params['TaskIds']
|
3102
|
+
@Nodes = params['Nodes']
|
3103
|
+
@Interval = params['Interval']
|
3104
|
+
@Parameters = params['Parameters']
|
3105
|
+
@Cron = params['Cron']
|
3106
|
+
end
|
3107
|
+
end
|
3108
|
+
|
3109
|
+
# UpdateProbeTaskConfigurationList返回参数结构体
|
3110
|
+
class UpdateProbeTaskConfigurationListResponse < TencentCloud::Common::AbstractModel
|
3111
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3112
|
+
# @type RequestId: String
|
3113
|
+
|
3114
|
+
attr_accessor :RequestId
|
3115
|
+
|
3116
|
+
def initialize(requestid=nil)
|
3117
|
+
@RequestId = requestid
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
def deserialize(params)
|
3121
|
+
@RequestId = params['RequestId']
|
3122
|
+
end
|
3123
|
+
end
|
3124
|
+
|
2331
3125
|
# VerifyResult请求参数结构体
|
2332
3126
|
class VerifyResultRequest < TencentCloud::Common::AbstractModel
|
2333
3127
|
# @param ResultId: 要查询的拨测任务的结果id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.226
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|