tencentcloud-sdk-cat 1.0.225 → 1.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180409/client.rb +192 -0
- data/lib/v20180409/models.rb +868 -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: fb00b440866960997ca676f44df01e8f0aec81cc
|
4
|
+
data.tar.gz: c462df77739269199c7885807d470c38751a3453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f62ef6798cae261f0000782413d309b4a4b7cee84eff55eacf6770f77570e231cd306a604f0b5742e733c90fa7bf9fc8b20020c6bfb9822903ea9e8085535ea
|
7
|
+
data.tar.gz: 066e91c71c741f7101a9c5cc4aa6bcda25a564f7298b0ad1fc2fa29ed5d031da44ff362a8d99b325122fcbffe9c87bf468c063758481e326dcdb70c20eccdb68
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.229
|
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,82 @@ 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
|
+
# @param Tag: 资源标签值
|
587
|
+
# @type Tag: Array
|
588
|
+
|
589
|
+
attr_accessor :BatchTasks, :TaskType, :Nodes, :Interval, :Parameters, :TaskCategory, :Cron, :Tag
|
590
|
+
|
591
|
+
def initialize(batchtasks=nil, tasktype=nil, nodes=nil, interval=nil, parameters=nil, taskcategory=nil, cron=nil, tag=nil)
|
592
|
+
@BatchTasks = batchtasks
|
593
|
+
@TaskType = tasktype
|
594
|
+
@Nodes = nodes
|
595
|
+
@Interval = interval
|
596
|
+
@Parameters = parameters
|
597
|
+
@TaskCategory = taskcategory
|
598
|
+
@Cron = cron
|
599
|
+
@Tag = tag
|
600
|
+
end
|
601
|
+
|
602
|
+
def deserialize(params)
|
603
|
+
unless params['BatchTasks'].nil?
|
604
|
+
@BatchTasks = []
|
605
|
+
params['BatchTasks'].each do |i|
|
606
|
+
probetaskbasicconfiguration_tmp = ProbeTaskBasicConfiguration.new
|
607
|
+
probetaskbasicconfiguration_tmp.deserialize(i)
|
608
|
+
@BatchTasks << probetaskbasicconfiguration_tmp
|
609
|
+
end
|
610
|
+
end
|
611
|
+
@TaskType = params['TaskType']
|
612
|
+
@Nodes = params['Nodes']
|
613
|
+
@Interval = params['Interval']
|
614
|
+
@Parameters = params['Parameters']
|
615
|
+
@TaskCategory = params['TaskCategory']
|
616
|
+
@Cron = params['Cron']
|
617
|
+
unless params['Tag'].nil?
|
618
|
+
@Tag = []
|
619
|
+
params['Tag'].each do |i|
|
620
|
+
tag_tmp = Tag.new
|
621
|
+
tag_tmp.deserialize(i)
|
622
|
+
@Tag << tag_tmp
|
623
|
+
end
|
624
|
+
end
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
# CreateProbeTasks返回参数结构体
|
629
|
+
class CreateProbeTasksResponse < TencentCloud::Common::AbstractModel
|
630
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
631
|
+
# @type RequestId: String
|
632
|
+
|
633
|
+
attr_accessor :RequestId
|
634
|
+
|
635
|
+
def initialize(requestid=nil)
|
636
|
+
@RequestId = requestid
|
637
|
+
end
|
638
|
+
|
639
|
+
def deserialize(params)
|
640
|
+
@RequestId = params['RequestId']
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
568
644
|
# CreateTaskEx请求参数结构体
|
569
645
|
class CreateTaskExRequest < TencentCloud::Common::AbstractModel
|
570
646
|
# @param CatTypeName: http, https, ping, tcp, ftp, smtp, udp, dns 之一
|
@@ -796,6 +872,59 @@ module TencentCloud
|
|
796
872
|
end
|
797
873
|
end
|
798
874
|
|
875
|
+
# DeleteProbeTask请求参数结构体
|
876
|
+
class DeleteProbeTaskRequest < TencentCloud::Common::AbstractModel
|
877
|
+
# @param TaskIds: 任务 ID
|
878
|
+
# @type TaskIds: Array
|
879
|
+
|
880
|
+
attr_accessor :TaskIds
|
881
|
+
|
882
|
+
def initialize(taskids=nil)
|
883
|
+
@TaskIds = taskids
|
884
|
+
end
|
885
|
+
|
886
|
+
def deserialize(params)
|
887
|
+
@TaskIds = params['TaskIds']
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
# DeleteProbeTask返回参数结构体
|
892
|
+
class DeleteProbeTaskResponse < TencentCloud::Common::AbstractModel
|
893
|
+
# @param Total: 任务总量
|
894
|
+
# @type Total: Integer
|
895
|
+
# @param SuccessCount: 任务成功量
|
896
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
897
|
+
# @type SuccessCount: Integer
|
898
|
+
# @param Results: 任务执行结果
|
899
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
900
|
+
# @type Results: Array
|
901
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
902
|
+
# @type RequestId: String
|
903
|
+
|
904
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
905
|
+
|
906
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
907
|
+
@Total = total
|
908
|
+
@SuccessCount = successcount
|
909
|
+
@Results = results
|
910
|
+
@RequestId = requestid
|
911
|
+
end
|
912
|
+
|
913
|
+
def deserialize(params)
|
914
|
+
@Total = params['Total']
|
915
|
+
@SuccessCount = params['SuccessCount']
|
916
|
+
unless params['Results'].nil?
|
917
|
+
@Results = []
|
918
|
+
params['Results'].each do |i|
|
919
|
+
taskresult_tmp = TaskResult.new
|
920
|
+
taskresult_tmp.deserialize(i)
|
921
|
+
@Results << taskresult_tmp
|
922
|
+
end
|
923
|
+
end
|
924
|
+
@RequestId = params['RequestId']
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
799
928
|
# DeleteTasks请求参数结构体
|
800
929
|
class DeleteTasksRequest < TencentCloud::Common::AbstractModel
|
801
930
|
# @param TaskIds: 拨测任务id
|
@@ -1183,6 +1312,272 @@ module TencentCloud
|
|
1183
1312
|
end
|
1184
1313
|
end
|
1185
1314
|
|
1315
|
+
# DescribeDetailedSingleProbeData请求参数结构体
|
1316
|
+
class DescribeDetailedSingleProbeDataRequest < TencentCloud::Common::AbstractModel
|
1317
|
+
# @param BeginTime: 开始时间戳(毫秒级)
|
1318
|
+
# @type BeginTime: Integer
|
1319
|
+
# @param EndTime: 结束时间戳(毫秒级)
|
1320
|
+
# @type EndTime: Integer
|
1321
|
+
# @param TaskType: 任务类型
|
1322
|
+
# @type TaskType: String
|
1323
|
+
# @param SortField: 待排序字段
|
1324
|
+
# @type SortField: String
|
1325
|
+
# @param Ascending: true表示升序
|
1326
|
+
# @type Ascending: Boolean
|
1327
|
+
# @param SelectedFields: 选中字段
|
1328
|
+
# @type SelectedFields: Array
|
1329
|
+
# @param Offset: 起始取数位置
|
1330
|
+
# @type Offset: Integer
|
1331
|
+
# @param Limit: 取数数量
|
1332
|
+
# @type Limit: Integer
|
1333
|
+
# @param TaskID: 任务ID
|
1334
|
+
# @type TaskID: Array
|
1335
|
+
# @param Operators: 拨测点运营商
|
1336
|
+
# @type Operators: Array
|
1337
|
+
# @param Districts: 拨测点地区
|
1338
|
+
# @type Districts: Array
|
1339
|
+
# @param ErrorTypes: 错误类型
|
1340
|
+
# @type ErrorTypes: Array
|
1341
|
+
|
1342
|
+
attr_accessor :BeginTime, :EndTime, :TaskType, :SortField, :Ascending, :SelectedFields, :Offset, :Limit, :TaskID, :Operators, :Districts, :ErrorTypes
|
1343
|
+
|
1344
|
+
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)
|
1345
|
+
@BeginTime = begintime
|
1346
|
+
@EndTime = endtime
|
1347
|
+
@TaskType = tasktype
|
1348
|
+
@SortField = sortfield
|
1349
|
+
@Ascending = ascending
|
1350
|
+
@SelectedFields = selectedfields
|
1351
|
+
@Offset = offset
|
1352
|
+
@Limit = limit
|
1353
|
+
@TaskID = taskid
|
1354
|
+
@Operators = operators
|
1355
|
+
@Districts = districts
|
1356
|
+
@ErrorTypes = errortypes
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
def deserialize(params)
|
1360
|
+
@BeginTime = params['BeginTime']
|
1361
|
+
@EndTime = params['EndTime']
|
1362
|
+
@TaskType = params['TaskType']
|
1363
|
+
@SortField = params['SortField']
|
1364
|
+
@Ascending = params['Ascending']
|
1365
|
+
@SelectedFields = params['SelectedFields']
|
1366
|
+
@Offset = params['Offset']
|
1367
|
+
@Limit = params['Limit']
|
1368
|
+
@TaskID = params['TaskID']
|
1369
|
+
@Operators = params['Operators']
|
1370
|
+
@Districts = params['Districts']
|
1371
|
+
@ErrorTypes = params['ErrorTypes']
|
1372
|
+
end
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
# DescribeDetailedSingleProbeData返回参数结构体
|
1376
|
+
class DescribeDetailedSingleProbeDataResponse < TencentCloud::Common::AbstractModel
|
1377
|
+
# @param DataSet: 单次详情数据
|
1378
|
+
# @type DataSet: Array
|
1379
|
+
# @param TotalNumber: 符合条件的数据总数
|
1380
|
+
# @type TotalNumber: Integer
|
1381
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1382
|
+
# @type RequestId: String
|
1383
|
+
|
1384
|
+
attr_accessor :DataSet, :TotalNumber, :RequestId
|
1385
|
+
|
1386
|
+
def initialize(dataset=nil, totalnumber=nil, requestid=nil)
|
1387
|
+
@DataSet = dataset
|
1388
|
+
@TotalNumber = totalnumber
|
1389
|
+
@RequestId = requestid
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
def deserialize(params)
|
1393
|
+
unless params['DataSet'].nil?
|
1394
|
+
@DataSet = []
|
1395
|
+
params['DataSet'].each do |i|
|
1396
|
+
detailedsingledatadefine_tmp = DetailedSingleDataDefine.new
|
1397
|
+
detailedsingledatadefine_tmp.deserialize(i)
|
1398
|
+
@DataSet << detailedsingledatadefine_tmp
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
@TotalNumber = params['TotalNumber']
|
1402
|
+
@RequestId = params['RequestId']
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
# DescribeProbeNodes请求参数结构体
|
1407
|
+
class DescribeProbeNodesRequest < TencentCloud::Common::AbstractModel
|
1408
|
+
# @param NodeType: 节点类型
|
1409
|
+
# <li> 1 = IDC </li>
|
1410
|
+
# <li> 2 = LastMile </li>
|
1411
|
+
# <li> 3 = Mobile </li>
|
1412
|
+
# @type NodeType: Integer
|
1413
|
+
# @param Location: 节点区域
|
1414
|
+
# <li> 1 = 中国大陆 </li>
|
1415
|
+
# <li> 2 = 港澳台 </li>
|
1416
|
+
# <li> 3 = 海外 </li>
|
1417
|
+
# @type Location: Integer
|
1418
|
+
# @param IsIPv6: 是否IPv6
|
1419
|
+
# @type IsIPv6: Boolean
|
1420
|
+
# @param NodeName: 名字模糊搜索
|
1421
|
+
# @type NodeName: String
|
1422
|
+
# @param PayMode: 付费模式
|
1423
|
+
# <li>1 = 试用版本</li>
|
1424
|
+
# <li> 2 = 付费版本 </li>
|
1425
|
+
# @type PayMode: Integer
|
1426
|
+
|
1427
|
+
attr_accessor :NodeType, :Location, :IsIPv6, :NodeName, :PayMode
|
1428
|
+
|
1429
|
+
def initialize(nodetype=nil, location=nil, isipv6=nil, nodename=nil, paymode=nil)
|
1430
|
+
@NodeType = nodetype
|
1431
|
+
@Location = location
|
1432
|
+
@IsIPv6 = isipv6
|
1433
|
+
@NodeName = nodename
|
1434
|
+
@PayMode = paymode
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
def deserialize(params)
|
1438
|
+
@NodeType = params['NodeType']
|
1439
|
+
@Location = params['Location']
|
1440
|
+
@IsIPv6 = params['IsIPv6']
|
1441
|
+
@NodeName = params['NodeName']
|
1442
|
+
@PayMode = params['PayMode']
|
1443
|
+
end
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# DescribeProbeNodes返回参数结构体
|
1447
|
+
class DescribeProbeNodesResponse < TencentCloud::Common::AbstractModel
|
1448
|
+
# @param NodeSet: 节点列表
|
1449
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1450
|
+
# @type NodeSet: Array
|
1451
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1452
|
+
# @type RequestId: String
|
1453
|
+
|
1454
|
+
attr_accessor :NodeSet, :RequestId
|
1455
|
+
|
1456
|
+
def initialize(nodeset=nil, requestid=nil)
|
1457
|
+
@NodeSet = nodeset
|
1458
|
+
@RequestId = requestid
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
def deserialize(params)
|
1462
|
+
unless params['NodeSet'].nil?
|
1463
|
+
@NodeSet = []
|
1464
|
+
params['NodeSet'].each do |i|
|
1465
|
+
nodedefine_tmp = NodeDefine.new
|
1466
|
+
nodedefine_tmp.deserialize(i)
|
1467
|
+
@NodeSet << nodedefine_tmp
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
@RequestId = params['RequestId']
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# DescribeProbeTasks请求参数结构体
|
1475
|
+
class DescribeProbeTasksRequest < TencentCloud::Common::AbstractModel
|
1476
|
+
# @param TaskIDs: 任务 ID 列表
|
1477
|
+
# @type TaskIDs: Array
|
1478
|
+
# @param TaskName: 任务名
|
1479
|
+
# @type TaskName: String
|
1480
|
+
# @param TargetAddress: 拨测目标
|
1481
|
+
# @type TargetAddress: String
|
1482
|
+
# @param TaskStatus: 任务状态列表
|
1483
|
+
# @type TaskStatus: Array
|
1484
|
+
# @param Offset: 偏移量,默认为0
|
1485
|
+
# @type Offset: Integer
|
1486
|
+
# @param Limit: 返回数量,默认为20,最大值为100
|
1487
|
+
# @type Limit: Integer
|
1488
|
+
# @param PayMode: 付费模式
|
1489
|
+
# <li>1 = 试用版本</li>
|
1490
|
+
# <li> 2 = 付费版本 </li>
|
1491
|
+
# @type PayMode: Integer
|
1492
|
+
# @param OrderState: 订单状态
|
1493
|
+
# <li>1 = 正常</li>
|
1494
|
+
# <li> 2 = 欠费 </li>
|
1495
|
+
# @type OrderState: Integer
|
1496
|
+
# @param TaskType: 拨测类型
|
1497
|
+
# @type TaskType: Array
|
1498
|
+
# @param TaskCategory: 节点类型
|
1499
|
+
# @type TaskCategory: Array
|
1500
|
+
# @param OrderBy: 排序的列
|
1501
|
+
# @type OrderBy: String
|
1502
|
+
# @param Ascend: 是否正序
|
1503
|
+
# @type Ascend: Boolean
|
1504
|
+
# @param TagFilters: 资源标签值
|
1505
|
+
# @type TagFilters: Array
|
1506
|
+
|
1507
|
+
attr_accessor :TaskIDs, :TaskName, :TargetAddress, :TaskStatus, :Offset, :Limit, :PayMode, :OrderState, :TaskType, :TaskCategory, :OrderBy, :Ascend, :TagFilters
|
1508
|
+
|
1509
|
+
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, tagfilters=nil)
|
1510
|
+
@TaskIDs = taskids
|
1511
|
+
@TaskName = taskname
|
1512
|
+
@TargetAddress = targetaddress
|
1513
|
+
@TaskStatus = taskstatus
|
1514
|
+
@Offset = offset
|
1515
|
+
@Limit = limit
|
1516
|
+
@PayMode = paymode
|
1517
|
+
@OrderState = orderstate
|
1518
|
+
@TaskType = tasktype
|
1519
|
+
@TaskCategory = taskcategory
|
1520
|
+
@OrderBy = orderby
|
1521
|
+
@Ascend = ascend
|
1522
|
+
@TagFilters = tagfilters
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
def deserialize(params)
|
1526
|
+
@TaskIDs = params['TaskIDs']
|
1527
|
+
@TaskName = params['TaskName']
|
1528
|
+
@TargetAddress = params['TargetAddress']
|
1529
|
+
@TaskStatus = params['TaskStatus']
|
1530
|
+
@Offset = params['Offset']
|
1531
|
+
@Limit = params['Limit']
|
1532
|
+
@PayMode = params['PayMode']
|
1533
|
+
@OrderState = params['OrderState']
|
1534
|
+
@TaskType = params['TaskType']
|
1535
|
+
@TaskCategory = params['TaskCategory']
|
1536
|
+
@OrderBy = params['OrderBy']
|
1537
|
+
@Ascend = params['Ascend']
|
1538
|
+
unless params['TagFilters'].nil?
|
1539
|
+
@TagFilters = []
|
1540
|
+
params['TagFilters'].each do |i|
|
1541
|
+
keyvaluepair_tmp = KeyValuePair.new
|
1542
|
+
keyvaluepair_tmp.deserialize(i)
|
1543
|
+
@TagFilters << keyvaluepair_tmp
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
# DescribeProbeTasks返回参数结构体
|
1550
|
+
class DescribeProbeTasksResponse < TencentCloud::Common::AbstractModel
|
1551
|
+
# @param TaskSet: 任务列表
|
1552
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1553
|
+
# @type TaskSet: Array
|
1554
|
+
# @param Total: 任务总数
|
1555
|
+
# @type Total: Integer
|
1556
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1557
|
+
# @type RequestId: String
|
1558
|
+
|
1559
|
+
attr_accessor :TaskSet, :Total, :RequestId
|
1560
|
+
|
1561
|
+
def initialize(taskset=nil, total=nil, requestid=nil)
|
1562
|
+
@TaskSet = taskset
|
1563
|
+
@Total = total
|
1564
|
+
@RequestId = requestid
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
def deserialize(params)
|
1568
|
+
unless params['TaskSet'].nil?
|
1569
|
+
@TaskSet = []
|
1570
|
+
params['TaskSet'].each do |i|
|
1571
|
+
probetask_tmp = ProbeTask.new
|
1572
|
+
probetask_tmp.deserialize(i)
|
1573
|
+
@TaskSet << probetask_tmp
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
@Total = params['Total']
|
1577
|
+
@RequestId = params['RequestId']
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1186
1581
|
# DescribeTaskDetail请求参数结构体
|
1187
1582
|
class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
|
1188
1583
|
# @param TaskIds: 拨测任务id 数组
|
@@ -1324,6 +1719,44 @@ module TencentCloud
|
|
1324
1719
|
end
|
1325
1720
|
end
|
1326
1721
|
|
1722
|
+
# 单条详细拨测数据
|
1723
|
+
class DetailedSingleDataDefine < TencentCloud::Common::AbstractModel
|
1724
|
+
# @param ProbeTime: 拨测时间戳
|
1725
|
+
# @type ProbeTime: Integer
|
1726
|
+
# @param Labels: 储存所有string类型字段
|
1727
|
+
# @type Labels: Array
|
1728
|
+
# @param Fields: 储存所有float类型字段
|
1729
|
+
# @type Fields: Array
|
1730
|
+
|
1731
|
+
attr_accessor :ProbeTime, :Labels, :Fields
|
1732
|
+
|
1733
|
+
def initialize(probetime=nil, labels=nil, fields=nil)
|
1734
|
+
@ProbeTime = probetime
|
1735
|
+
@Labels = labels
|
1736
|
+
@Fields = fields
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
def deserialize(params)
|
1740
|
+
@ProbeTime = params['ProbeTime']
|
1741
|
+
unless params['Labels'].nil?
|
1742
|
+
@Labels = []
|
1743
|
+
params['Labels'].each do |i|
|
1744
|
+
label_tmp = Label.new
|
1745
|
+
label_tmp.deserialize(i)
|
1746
|
+
@Labels << label_tmp
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
unless params['Fields'].nil?
|
1750
|
+
@Fields = []
|
1751
|
+
params['Fields'].each do |i|
|
1752
|
+
field_tmp = Field.new
|
1753
|
+
field_tmp.deserialize(i)
|
1754
|
+
@Fields << field_tmp
|
1755
|
+
end
|
1756
|
+
end
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1327
1760
|
# 拨测点维度信息
|
1328
1761
|
class DimensionsDetail < TencentCloud::Common::AbstractModel
|
1329
1762
|
# @param Isp: 运营商列表
|
@@ -1344,6 +1777,30 @@ module TencentCloud
|
|
1344
1777
|
end
|
1345
1778
|
end
|
1346
1779
|
|
1780
|
+
# 储存float类型字段
|
1781
|
+
class Field < TencentCloud::Common::AbstractModel
|
1782
|
+
# @param ID: 自定义字段编号
|
1783
|
+
# @type ID: Integer
|
1784
|
+
# @param Name: 自定义字段名称/说明
|
1785
|
+
# @type Name: String
|
1786
|
+
# @param Value: 字段值
|
1787
|
+
# @type Value: Float
|
1788
|
+
|
1789
|
+
attr_accessor :ID, :Name, :Value
|
1790
|
+
|
1791
|
+
def initialize(id=nil, name=nil, value=nil)
|
1792
|
+
@ID = id
|
1793
|
+
@Name = name
|
1794
|
+
@Value = value
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
def deserialize(params)
|
1798
|
+
@ID = params['ID']
|
1799
|
+
@Name = params['Name']
|
1800
|
+
@Value = params['Value']
|
1801
|
+
end
|
1802
|
+
end
|
1803
|
+
|
1347
1804
|
# GetAvailRatioHistory请求参数结构体
|
1348
1805
|
class GetAvailRatioHistoryRequest < TencentCloud::Common::AbstractModel
|
1349
1806
|
# @param TaskId: 拨测任务Id
|
@@ -1942,6 +2399,50 @@ module TencentCloud
|
|
1942
2399
|
end
|
1943
2400
|
end
|
1944
2401
|
|
2402
|
+
# 健值对
|
2403
|
+
class KeyValuePair < TencentCloud::Common::AbstractModel
|
2404
|
+
# @param Key: 健
|
2405
|
+
# @type Key: String
|
2406
|
+
# @param Value: 值
|
2407
|
+
# @type Value: String
|
2408
|
+
|
2409
|
+
attr_accessor :Key, :Value
|
2410
|
+
|
2411
|
+
def initialize(key=nil, value=nil)
|
2412
|
+
@Key = key
|
2413
|
+
@Value = value
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
def deserialize(params)
|
2417
|
+
@Key = params['Key']
|
2418
|
+
@Value = params['Value']
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
# 保存string类型字段
|
2423
|
+
class Label < TencentCloud::Common::AbstractModel
|
2424
|
+
# @param ID: 自定义字段编号
|
2425
|
+
# @type ID: Integer
|
2426
|
+
# @param Name: 自定义字段名称/说明
|
2427
|
+
# @type Name: String
|
2428
|
+
# @param Value: 字段值
|
2429
|
+
# @type Value: String
|
2430
|
+
|
2431
|
+
attr_accessor :ID, :Name, :Value
|
2432
|
+
|
2433
|
+
def initialize(id=nil, name=nil, value=nil)
|
2434
|
+
@ID = id
|
2435
|
+
@Name = name
|
2436
|
+
@Value = value
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
def deserialize(params)
|
2440
|
+
@ID = params['ID']
|
2441
|
+
@Name = params['Name']
|
2442
|
+
@Value = params['Value']
|
2443
|
+
end
|
2444
|
+
end
|
2445
|
+
|
1945
2446
|
# ModifyAgentGroup请求参数结构体
|
1946
2447
|
class ModifyAgentGroupRequest < TencentCloud::Common::AbstractModel
|
1947
2448
|
# @param GroupId: 拨测分组ID
|
@@ -2137,6 +2638,60 @@ module TencentCloud
|
|
2137
2638
|
end
|
2138
2639
|
end
|
2139
2640
|
|
2641
|
+
# 探测节点
|
2642
|
+
class NodeDefine < TencentCloud::Common::AbstractModel
|
2643
|
+
# @param Name: 节点名称
|
2644
|
+
# @type Name: String
|
2645
|
+
# @param Code: 节点代码
|
2646
|
+
# @type Code: String
|
2647
|
+
# @param Type: 节点类型
|
2648
|
+
# <li> 1 = IDC </li>
|
2649
|
+
# <li> 2 = LastMile </li>
|
2650
|
+
# <li> 3 = Mobile </li>
|
2651
|
+
# @type Type: Integer
|
2652
|
+
# @param NetService: 网络服务商
|
2653
|
+
# @type NetService: String
|
2654
|
+
# @param District: 区域
|
2655
|
+
# @type District: String
|
2656
|
+
# @param City: 城市
|
2657
|
+
# @type City: String
|
2658
|
+
# @param IPType: IP 类型
|
2659
|
+
# <li> 1 = IPv4 </li>
|
2660
|
+
# <li> 2 = IPv6 </li>
|
2661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2662
|
+
# @type IPType: Integer
|
2663
|
+
# @param Location: 区域
|
2664
|
+
# <li> 1 = 中国大陆 </li>
|
2665
|
+
# <li> 2 = 港澳台 </li>
|
2666
|
+
# <li> 3 = 国外 </li>
|
2667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2668
|
+
# @type Location: Integer
|
2669
|
+
|
2670
|
+
attr_accessor :Name, :Code, :Type, :NetService, :District, :City, :IPType, :Location
|
2671
|
+
|
2672
|
+
def initialize(name=nil, code=nil, type=nil, netservice=nil, district=nil, city=nil, iptype=nil, location=nil)
|
2673
|
+
@Name = name
|
2674
|
+
@Code = code
|
2675
|
+
@Type = type
|
2676
|
+
@NetService = netservice
|
2677
|
+
@District = district
|
2678
|
+
@City = city
|
2679
|
+
@IPType = iptype
|
2680
|
+
@Location = location
|
2681
|
+
end
|
2682
|
+
|
2683
|
+
def deserialize(params)
|
2684
|
+
@Name = params['Name']
|
2685
|
+
@Code = params['Code']
|
2686
|
+
@Type = params['Type']
|
2687
|
+
@NetService = params['NetService']
|
2688
|
+
@District = params['District']
|
2689
|
+
@City = params['City']
|
2690
|
+
@IPType = params['IPType']
|
2691
|
+
@Location = params['Location']
|
2692
|
+
end
|
2693
|
+
end
|
2694
|
+
|
2140
2695
|
# PauseTask请求参数结构体
|
2141
2696
|
class PauseTaskRequest < TencentCloud::Common::AbstractModel
|
2142
2697
|
# @param TaskId: 拨测任务id
|
@@ -2169,6 +2724,119 @@ module TencentCloud
|
|
2169
2724
|
end
|
2170
2725
|
end
|
2171
2726
|
|
2727
|
+
# 拨测任务
|
2728
|
+
class ProbeTask < TencentCloud::Common::AbstractModel
|
2729
|
+
# @param Name: 任务名
|
2730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2731
|
+
# @type Name: String
|
2732
|
+
# @param TaskId: 任务 ID
|
2733
|
+
# @type TaskId: String
|
2734
|
+
# @param TaskType: 任务类型
|
2735
|
+
# @type TaskType: Integer
|
2736
|
+
# @param Nodes: 拨测节点列表
|
2737
|
+
# @type Nodes: Array
|
2738
|
+
# @param Interval: 拨测间隔
|
2739
|
+
# @type Interval: Integer
|
2740
|
+
# @param Parameters: 拨测参数
|
2741
|
+
# @type Parameters: String
|
2742
|
+
# @param Status: 任务状态
|
2743
|
+
# @type Status: Integer
|
2744
|
+
# @param TargetAddress: 目标地址
|
2745
|
+
# @type TargetAddress: String
|
2746
|
+
# @param PayMode: 付费模式
|
2747
|
+
# <li>1 = 试用版本</li>
|
2748
|
+
# <li> 2 = 付费版本 </li>
|
2749
|
+
# @type PayMode: Integer
|
2750
|
+
# @param OrderState: 订单状态
|
2751
|
+
# <li>1 = 正常</li>
|
2752
|
+
# <li> 2 = 欠费 </li>
|
2753
|
+
# @type OrderState: Integer
|
2754
|
+
# @param TaskCategory: 任务分类
|
2755
|
+
# <li>1 = PC</li>
|
2756
|
+
# <li> 2 = Mobile </li>
|
2757
|
+
# @type TaskCategory: Integer
|
2758
|
+
# @param CreatedAt: 创建时间
|
2759
|
+
# @type CreatedAt: String
|
2760
|
+
# @param Cron: 定时任务cron表达式
|
2761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2762
|
+
# @type Cron: String
|
2763
|
+
# @param CronState: 定时任务启动状态
|
2764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2765
|
+
# @type CronState: Integer
|
2766
|
+
# @param TagInfoList: 任务当前绑定的标签
|
2767
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2768
|
+
# @type TagInfoList: Array
|
2769
|
+
|
2770
|
+
attr_accessor :Name, :TaskId, :TaskType, :Nodes, :Interval, :Parameters, :Status, :TargetAddress, :PayMode, :OrderState, :TaskCategory, :CreatedAt, :Cron, :CronState, :TagInfoList
|
2771
|
+
|
2772
|
+
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, taginfolist=nil)
|
2773
|
+
@Name = name
|
2774
|
+
@TaskId = taskid
|
2775
|
+
@TaskType = tasktype
|
2776
|
+
@Nodes = nodes
|
2777
|
+
@Interval = interval
|
2778
|
+
@Parameters = parameters
|
2779
|
+
@Status = status
|
2780
|
+
@TargetAddress = targetaddress
|
2781
|
+
@PayMode = paymode
|
2782
|
+
@OrderState = orderstate
|
2783
|
+
@TaskCategory = taskcategory
|
2784
|
+
@CreatedAt = createdat
|
2785
|
+
@Cron = cron
|
2786
|
+
@CronState = cronstate
|
2787
|
+
@TagInfoList = taginfolist
|
2788
|
+
end
|
2789
|
+
|
2790
|
+
def deserialize(params)
|
2791
|
+
@Name = params['Name']
|
2792
|
+
@TaskId = params['TaskId']
|
2793
|
+
@TaskType = params['TaskType']
|
2794
|
+
@Nodes = params['Nodes']
|
2795
|
+
@Interval = params['Interval']
|
2796
|
+
@Parameters = params['Parameters']
|
2797
|
+
@Status = params['Status']
|
2798
|
+
@TargetAddress = params['TargetAddress']
|
2799
|
+
@PayMode = params['PayMode']
|
2800
|
+
@OrderState = params['OrderState']
|
2801
|
+
@TaskCategory = params['TaskCategory']
|
2802
|
+
@CreatedAt = params['CreatedAt']
|
2803
|
+
@Cron = params['Cron']
|
2804
|
+
@CronState = params['CronState']
|
2805
|
+
unless params['TagInfoList'].nil?
|
2806
|
+
@TagInfoList = []
|
2807
|
+
params['TagInfoList'].each do |i|
|
2808
|
+
keyvaluepair_tmp = KeyValuePair.new
|
2809
|
+
keyvaluepair_tmp.deserialize(i)
|
2810
|
+
@TagInfoList << keyvaluepair_tmp
|
2811
|
+
end
|
2812
|
+
end
|
2813
|
+
end
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# type ProbeTaskBasicConfiguration struct {
|
2817
|
+
# TaskID TaskID `json:"TaskId" gorm:"column:task_id"`
|
2818
|
+
# Name string `json:"Name" binding:"required" gorm:"column:name"`
|
2819
|
+
# TargetAddress string `json:"TargetAddress" binding:"required" gorm:"column:target_address"`
|
2820
|
+
# }
|
2821
|
+
class ProbeTaskBasicConfiguration < TencentCloud::Common::AbstractModel
|
2822
|
+
# @param Name: 拨测任务名称
|
2823
|
+
# @type Name: String
|
2824
|
+
# @param TargetAddress: 拨测目标地址
|
2825
|
+
# @type TargetAddress: String
|
2826
|
+
|
2827
|
+
attr_accessor :Name, :TargetAddress
|
2828
|
+
|
2829
|
+
def initialize(name=nil, targetaddress=nil)
|
2830
|
+
@Name = name
|
2831
|
+
@TargetAddress = targetaddress
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
def deserialize(params)
|
2835
|
+
@Name = params['Name']
|
2836
|
+
@TargetAddress = params['TargetAddress']
|
2837
|
+
end
|
2838
|
+
end
|
2839
|
+
|
2172
2840
|
# 省份可用率
|
2173
2841
|
class ProvinceDetail < TencentCloud::Common::AbstractModel
|
2174
2842
|
# @param AvgAvailRatio: 可用率
|
@@ -2244,6 +2912,59 @@ module TencentCloud
|
|
2244
2912
|
end
|
2245
2913
|
end
|
2246
2914
|
|
2915
|
+
# ResumeProbeTask请求参数结构体
|
2916
|
+
class ResumeProbeTaskRequest < TencentCloud::Common::AbstractModel
|
2917
|
+
# @param TaskIds: 任务 ID
|
2918
|
+
# @type TaskIds: Array
|
2919
|
+
|
2920
|
+
attr_accessor :TaskIds
|
2921
|
+
|
2922
|
+
def initialize(taskids=nil)
|
2923
|
+
@TaskIds = taskids
|
2924
|
+
end
|
2925
|
+
|
2926
|
+
def deserialize(params)
|
2927
|
+
@TaskIds = params['TaskIds']
|
2928
|
+
end
|
2929
|
+
end
|
2930
|
+
|
2931
|
+
# ResumeProbeTask返回参数结构体
|
2932
|
+
class ResumeProbeTaskResponse < TencentCloud::Common::AbstractModel
|
2933
|
+
# @param Total: 任务总量
|
2934
|
+
# @type Total: Integer
|
2935
|
+
# @param SuccessCount: 任务成功量
|
2936
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2937
|
+
# @type SuccessCount: Integer
|
2938
|
+
# @param Results: 任务执行详情
|
2939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2940
|
+
# @type Results: Array
|
2941
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2942
|
+
# @type RequestId: String
|
2943
|
+
|
2944
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
2945
|
+
|
2946
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
2947
|
+
@Total = total
|
2948
|
+
@SuccessCount = successcount
|
2949
|
+
@Results = results
|
2950
|
+
@RequestId = requestid
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
def deserialize(params)
|
2954
|
+
@Total = params['Total']
|
2955
|
+
@SuccessCount = params['SuccessCount']
|
2956
|
+
unless params['Results'].nil?
|
2957
|
+
@Results = []
|
2958
|
+
params['Results'].each do |i|
|
2959
|
+
taskresult_tmp = TaskResult.new
|
2960
|
+
taskresult_tmp.deserialize(i)
|
2961
|
+
@Results << taskresult_tmp
|
2962
|
+
end
|
2963
|
+
end
|
2964
|
+
@RequestId = params['RequestId']
|
2965
|
+
end
|
2966
|
+
end
|
2967
|
+
|
2247
2968
|
# RunTask请求参数结构体
|
2248
2969
|
class RunTaskRequest < TencentCloud::Common::AbstractModel
|
2249
2970
|
# @param TaskId: 任务Id
|
@@ -2276,6 +2997,79 @@ module TencentCloud
|
|
2276
2997
|
end
|
2277
2998
|
end
|
2278
2999
|
|
3000
|
+
# SuspendProbeTask请求参数结构体
|
3001
|
+
class SuspendProbeTaskRequest < TencentCloud::Common::AbstractModel
|
3002
|
+
# @param TaskIds: 任务 ID
|
3003
|
+
# @type TaskIds: Array
|
3004
|
+
|
3005
|
+
attr_accessor :TaskIds
|
3006
|
+
|
3007
|
+
def initialize(taskids=nil)
|
3008
|
+
@TaskIds = taskids
|
3009
|
+
end
|
3010
|
+
|
3011
|
+
def deserialize(params)
|
3012
|
+
@TaskIds = params['TaskIds']
|
3013
|
+
end
|
3014
|
+
end
|
3015
|
+
|
3016
|
+
# SuspendProbeTask返回参数结构体
|
3017
|
+
class SuspendProbeTaskResponse < TencentCloud::Common::AbstractModel
|
3018
|
+
# @param Total: 任务总量
|
3019
|
+
# @type Total: Integer
|
3020
|
+
# @param SuccessCount: 任务成功量
|
3021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3022
|
+
# @type SuccessCount: Integer
|
3023
|
+
# @param Results: 任务执行结果
|
3024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3025
|
+
# @type Results: Array
|
3026
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3027
|
+
# @type RequestId: String
|
3028
|
+
|
3029
|
+
attr_accessor :Total, :SuccessCount, :Results, :RequestId
|
3030
|
+
|
3031
|
+
def initialize(total=nil, successcount=nil, results=nil, requestid=nil)
|
3032
|
+
@Total = total
|
3033
|
+
@SuccessCount = successcount
|
3034
|
+
@Results = results
|
3035
|
+
@RequestId = requestid
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
def deserialize(params)
|
3039
|
+
@Total = params['Total']
|
3040
|
+
@SuccessCount = params['SuccessCount']
|
3041
|
+
unless params['Results'].nil?
|
3042
|
+
@Results = []
|
3043
|
+
params['Results'].each do |i|
|
3044
|
+
taskresult_tmp = TaskResult.new
|
3045
|
+
taskresult_tmp.deserialize(i)
|
3046
|
+
@Results << taskresult_tmp
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
@RequestId = params['RequestId']
|
3050
|
+
end
|
3051
|
+
end
|
3052
|
+
|
3053
|
+
# 资源的标签,通过标签对资源进行划分用于支持细粒度的鉴权、分账等场景
|
3054
|
+
class Tag < TencentCloud::Common::AbstractModel
|
3055
|
+
# @param TagKey: key
|
3056
|
+
# @type TagKey: String
|
3057
|
+
# @param TagValue: value
|
3058
|
+
# @type TagValue: String
|
3059
|
+
|
3060
|
+
attr_accessor :TagKey, :TagValue
|
3061
|
+
|
3062
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
3063
|
+
@TagKey = tagkey
|
3064
|
+
@TagValue = tagvalue
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
def deserialize(params)
|
3068
|
+
@TagKey = params['TagKey']
|
3069
|
+
@TagValue = params['TagValue']
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
2279
3073
|
# 可用性监控任务状态及告警信息
|
2280
3074
|
class TaskAlarm < TencentCloud::Common::AbstractModel
|
2281
3075
|
# @param TaskId: 任务ID
|
@@ -2328,6 +3122,80 @@ module TencentCloud
|
|
2328
3122
|
end
|
2329
3123
|
end
|
2330
3124
|
|
3125
|
+
# 任务执行结果
|
3126
|
+
class TaskResult < TencentCloud::Common::AbstractModel
|
3127
|
+
# @param TaskId: 任务 ID
|
3128
|
+
# @type TaskId: String
|
3129
|
+
# @param Success: 是否成功
|
3130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3131
|
+
# @type Success: Boolean
|
3132
|
+
# @param ErrorMessage: 错误信息
|
3133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3134
|
+
# @type ErrorMessage: String
|
3135
|
+
|
3136
|
+
attr_accessor :TaskId, :Success, :ErrorMessage
|
3137
|
+
|
3138
|
+
def initialize(taskid=nil, success=nil, errormessage=nil)
|
3139
|
+
@TaskId = taskid
|
3140
|
+
@Success = success
|
3141
|
+
@ErrorMessage = errormessage
|
3142
|
+
end
|
3143
|
+
|
3144
|
+
def deserialize(params)
|
3145
|
+
@TaskId = params['TaskId']
|
3146
|
+
@Success = params['Success']
|
3147
|
+
@ErrorMessage = params['ErrorMessage']
|
3148
|
+
end
|
3149
|
+
end
|
3150
|
+
|
3151
|
+
# UpdateProbeTaskConfigurationList请求参数结构体
|
3152
|
+
class UpdateProbeTaskConfigurationListRequest < TencentCloud::Common::AbstractModel
|
3153
|
+
# @param TaskIds: 任务 ID
|
3154
|
+
# @type TaskIds: Array
|
3155
|
+
# @param Nodes: 拨测节点
|
3156
|
+
# @type Nodes: Array
|
3157
|
+
# @param Interval: 拨测间隔
|
3158
|
+
# @type Interval: Integer
|
3159
|
+
# @param Parameters: 拨测参数
|
3160
|
+
# @type Parameters: String
|
3161
|
+
# @param Cron: 定时任务cron表达式
|
3162
|
+
# @type Cron: String
|
3163
|
+
|
3164
|
+
attr_accessor :TaskIds, :Nodes, :Interval, :Parameters, :Cron
|
3165
|
+
|
3166
|
+
def initialize(taskids=nil, nodes=nil, interval=nil, parameters=nil, cron=nil)
|
3167
|
+
@TaskIds = taskids
|
3168
|
+
@Nodes = nodes
|
3169
|
+
@Interval = interval
|
3170
|
+
@Parameters = parameters
|
3171
|
+
@Cron = cron
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
def deserialize(params)
|
3175
|
+
@TaskIds = params['TaskIds']
|
3176
|
+
@Nodes = params['Nodes']
|
3177
|
+
@Interval = params['Interval']
|
3178
|
+
@Parameters = params['Parameters']
|
3179
|
+
@Cron = params['Cron']
|
3180
|
+
end
|
3181
|
+
end
|
3182
|
+
|
3183
|
+
# UpdateProbeTaskConfigurationList返回参数结构体
|
3184
|
+
class UpdateProbeTaskConfigurationListResponse < TencentCloud::Common::AbstractModel
|
3185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3186
|
+
# @type RequestId: String
|
3187
|
+
|
3188
|
+
attr_accessor :RequestId
|
3189
|
+
|
3190
|
+
def initialize(requestid=nil)
|
3191
|
+
@RequestId = requestid
|
3192
|
+
end
|
3193
|
+
|
3194
|
+
def deserialize(params)
|
3195
|
+
@RequestId = params['RequestId']
|
3196
|
+
end
|
3197
|
+
end
|
3198
|
+
|
2331
3199
|
# VerifyResult请求参数结构体
|
2332
3200
|
class VerifyResultRequest < TencentCloud::Common::AbstractModel
|
2333
3201
|
# @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.229
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|