tencentcloud-sdk-cat 1.0.228 → 1.0.229
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 +2 -2
- data/lib/v20180409/models.rb +88 -14
- 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,7 +77,7 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
-
#
|
80
|
+
# 批量创建拨测任务
|
81
81
|
|
82
82
|
# @param request: Request instance for CreateProbeTasks.
|
83
83
|
# @type request: :class:`Tencentcloud::cat::V20180409::CreateProbeTasksRequest`
|
@@ -389,7 +389,7 @@ module TencentCloud
|
|
389
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
390
|
end
|
391
391
|
|
392
|
-
#
|
392
|
+
# 查询拨测任务列表
|
393
393
|
|
394
394
|
# @param request: Request instance for DescribeProbeTasks.
|
395
395
|
# @type request: :class:`Tencentcloud::cat::V20180409::DescribeProbeTasksRequest`
|
data/lib/v20180409/models.rb
CHANGED
@@ -571,11 +571,11 @@ module TencentCloud
|
|
571
571
|
# @type BatchTasks: Array
|
572
572
|
# @param TaskType: 任务类型
|
573
573
|
# @type TaskType: Integer
|
574
|
-
# @param Nodes:
|
574
|
+
# @param Nodes: 拨测节点
|
575
575
|
# @type Nodes: Array
|
576
|
-
# @param Interval:
|
576
|
+
# @param Interval: 拨测间隔
|
577
577
|
# @type Interval: Integer
|
578
|
-
# @param Parameters:
|
578
|
+
# @param Parameters: 拨测参数
|
579
579
|
# @type Parameters: String
|
580
580
|
# @param TaskCategory: 任务分类
|
581
581
|
# <li>1 = PC</li>
|
@@ -583,10 +583,12 @@ module TencentCloud
|
|
583
583
|
# @type TaskCategory: Integer
|
584
584
|
# @param Cron: 定时任务cron表达式
|
585
585
|
# @type Cron: String
|
586
|
+
# @param Tag: 资源标签值
|
587
|
+
# @type Tag: Array
|
586
588
|
|
587
|
-
attr_accessor :BatchTasks, :TaskType, :Nodes, :Interval, :Parameters, :TaskCategory, :Cron
|
589
|
+
attr_accessor :BatchTasks, :TaskType, :Nodes, :Interval, :Parameters, :TaskCategory, :Cron, :Tag
|
588
590
|
|
589
|
-
def initialize(batchtasks=nil, tasktype=nil, nodes=nil, interval=nil, parameters=nil, taskcategory=nil, cron=nil)
|
591
|
+
def initialize(batchtasks=nil, tasktype=nil, nodes=nil, interval=nil, parameters=nil, taskcategory=nil, cron=nil, tag=nil)
|
590
592
|
@BatchTasks = batchtasks
|
591
593
|
@TaskType = tasktype
|
592
594
|
@Nodes = nodes
|
@@ -594,6 +596,7 @@ module TencentCloud
|
|
594
596
|
@Parameters = parameters
|
595
597
|
@TaskCategory = taskcategory
|
596
598
|
@Cron = cron
|
599
|
+
@Tag = tag
|
597
600
|
end
|
598
601
|
|
599
602
|
def deserialize(params)
|
@@ -611,6 +614,14 @@ module TencentCloud
|
|
611
614
|
@Parameters = params['Parameters']
|
612
615
|
@TaskCategory = params['TaskCategory']
|
613
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
|
614
625
|
end
|
615
626
|
end
|
616
627
|
|
@@ -1466,7 +1477,7 @@ module TencentCloud
|
|
1466
1477
|
# @type TaskIDs: Array
|
1467
1478
|
# @param TaskName: 任务名
|
1468
1479
|
# @type TaskName: String
|
1469
|
-
# @param TargetAddress:
|
1480
|
+
# @param TargetAddress: 拨测目标
|
1470
1481
|
# @type TargetAddress: String
|
1471
1482
|
# @param TaskStatus: 任务状态列表
|
1472
1483
|
# @type TaskStatus: Array
|
@@ -1490,10 +1501,12 @@ module TencentCloud
|
|
1490
1501
|
# @type OrderBy: String
|
1491
1502
|
# @param Ascend: 是否正序
|
1492
1503
|
# @type Ascend: Boolean
|
1504
|
+
# @param TagFilters: 资源标签值
|
1505
|
+
# @type TagFilters: Array
|
1493
1506
|
|
1494
|
-
attr_accessor :TaskIDs, :TaskName, :TargetAddress, :TaskStatus, :Offset, :Limit, :PayMode, :OrderState, :TaskType, :TaskCategory, :OrderBy, :Ascend
|
1507
|
+
attr_accessor :TaskIDs, :TaskName, :TargetAddress, :TaskStatus, :Offset, :Limit, :PayMode, :OrderState, :TaskType, :TaskCategory, :OrderBy, :Ascend, :TagFilters
|
1495
1508
|
|
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)
|
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)
|
1497
1510
|
@TaskIDs = taskids
|
1498
1511
|
@TaskName = taskname
|
1499
1512
|
@TargetAddress = targetaddress
|
@@ -1506,6 +1519,7 @@ module TencentCloud
|
|
1506
1519
|
@TaskCategory = taskcategory
|
1507
1520
|
@OrderBy = orderby
|
1508
1521
|
@Ascend = ascend
|
1522
|
+
@TagFilters = tagfilters
|
1509
1523
|
end
|
1510
1524
|
|
1511
1525
|
def deserialize(params)
|
@@ -1521,6 +1535,14 @@ module TencentCloud
|
|
1521
1535
|
@TaskCategory = params['TaskCategory']
|
1522
1536
|
@OrderBy = params['OrderBy']
|
1523
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
|
1524
1546
|
end
|
1525
1547
|
end
|
1526
1548
|
|
@@ -2377,6 +2399,26 @@ module TencentCloud
|
|
2377
2399
|
end
|
2378
2400
|
end
|
2379
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
|
+
|
2380
2422
|
# 保存string类型字段
|
2381
2423
|
class Label < TencentCloud::Common::AbstractModel
|
2382
2424
|
# @param ID: 自定义字段编号
|
@@ -2682,7 +2724,7 @@ module TencentCloud
|
|
2682
2724
|
end
|
2683
2725
|
end
|
2684
2726
|
|
2685
|
-
#
|
2727
|
+
# 拨测任务
|
2686
2728
|
class ProbeTask < TencentCloud::Common::AbstractModel
|
2687
2729
|
# @param Name: 任务名
|
2688
2730
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2691,11 +2733,11 @@ module TencentCloud
|
|
2691
2733
|
# @type TaskId: String
|
2692
2734
|
# @param TaskType: 任务类型
|
2693
2735
|
# @type TaskType: Integer
|
2694
|
-
# @param Nodes:
|
2736
|
+
# @param Nodes: 拨测节点列表
|
2695
2737
|
# @type Nodes: Array
|
2696
|
-
# @param Interval:
|
2738
|
+
# @param Interval: 拨测间隔
|
2697
2739
|
# @type Interval: Integer
|
2698
|
-
# @param Parameters:
|
2740
|
+
# @param Parameters: 拨测参数
|
2699
2741
|
# @type Parameters: String
|
2700
2742
|
# @param Status: 任务状态
|
2701
2743
|
# @type Status: Integer
|
@@ -2721,10 +2763,13 @@ module TencentCloud
|
|
2721
2763
|
# @param CronState: 定时任务启动状态
|
2722
2764
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2723
2765
|
# @type CronState: Integer
|
2766
|
+
# @param TagInfoList: 任务当前绑定的标签
|
2767
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2768
|
+
# @type TagInfoList: Array
|
2724
2769
|
|
2725
|
-
attr_accessor :Name, :TaskId, :TaskType, :Nodes, :Interval, :Parameters, :Status, :TargetAddress, :PayMode, :OrderState, :TaskCategory, :CreatedAt, :Cron, :CronState
|
2770
|
+
attr_accessor :Name, :TaskId, :TaskType, :Nodes, :Interval, :Parameters, :Status, :TargetAddress, :PayMode, :OrderState, :TaskCategory, :CreatedAt, :Cron, :CronState, :TagInfoList
|
2726
2771
|
|
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)
|
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)
|
2728
2773
|
@Name = name
|
2729
2774
|
@TaskId = taskid
|
2730
2775
|
@TaskType = tasktype
|
@@ -2739,6 +2784,7 @@ module TencentCloud
|
|
2739
2784
|
@CreatedAt = createdat
|
2740
2785
|
@Cron = cron
|
2741
2786
|
@CronState = cronstate
|
2787
|
+
@TagInfoList = taginfolist
|
2742
2788
|
end
|
2743
2789
|
|
2744
2790
|
def deserialize(params)
|
@@ -2756,6 +2802,14 @@ module TencentCloud
|
|
2756
2802
|
@CreatedAt = params['CreatedAt']
|
2757
2803
|
@Cron = params['Cron']
|
2758
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
|
2759
2813
|
end
|
2760
2814
|
end
|
2761
2815
|
|
@@ -2996,6 +3050,26 @@ module TencentCloud
|
|
2996
3050
|
end
|
2997
3051
|
end
|
2998
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
|
+
|
2999
3073
|
# 可用性监控任务状态及告警信息
|
3000
3074
|
class TaskAlarm < TencentCloud::Common::AbstractModel
|
3001
3075
|
# @param TaskId: 任务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
|