tencentcloud-sdk-monitor 3.0.390 → 3.0.393
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/v20180724/models.rb +166 -21
- 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: e9d18c6a59b5c8fc75da26d96eefbece848d245c
|
4
|
+
data.tar.gz: aad75995f2af3f62ecd937feee9061f33a7fa0b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6655069e9b66c6aa11637de6755601a0b541385c16d9cc244f4f81f8136f0263082e3bb086be24f6d6e52d95968273a9245fea5e2592142ce87efdde7dec527
|
7
|
+
data.tar.gz: 676f85c4c3e8fff8ed9a8ae3a9ace19d60baa786829ea30302b1673f12a7c2283cda994d0bc60af7c9cc63920c2b7624ef3e8cf7e577b90c9178dc08d5ecef7a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.393
|
data/lib/v20180724/models.rb
CHANGED
@@ -912,7 +912,7 @@ module TencentCloud
|
|
912
912
|
|
913
913
|
# CleanGrafanaInstance请求参数结构体
|
914
914
|
class CleanGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
|
915
|
-
# @param InstanceId:
|
915
|
+
# @param InstanceId: 实例 ID
|
916
916
|
# @type InstanceId: String
|
917
917
|
|
918
918
|
attr_accessor :InstanceId
|
@@ -986,6 +986,41 @@ module TencentCloud
|
|
986
986
|
end
|
987
987
|
end
|
988
988
|
|
989
|
+
# 策略类型信息
|
990
|
+
class CommonNamespaceNew < TencentCloud::Common::AbstractModel
|
991
|
+
# @param Id: 命名空间标示
|
992
|
+
# @type Id: String
|
993
|
+
# @param Name: 命名空间名称
|
994
|
+
# @type Name: String
|
995
|
+
# @param MonitorType: 监控类型
|
996
|
+
# @type MonitorType: String
|
997
|
+
# @param Dimensions: 维度信息
|
998
|
+
# @type Dimensions: Array
|
999
|
+
|
1000
|
+
attr_accessor :Id, :Name, :MonitorType, :Dimensions
|
1001
|
+
|
1002
|
+
def initialize(id=nil, name=nil, monitortype=nil, dimensions=nil)
|
1003
|
+
@Id = id
|
1004
|
+
@Name = name
|
1005
|
+
@MonitorType = monitortype
|
1006
|
+
@Dimensions = dimensions
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def deserialize(params)
|
1010
|
+
@Id = params['Id']
|
1011
|
+
@Name = params['Name']
|
1012
|
+
@MonitorType = params['MonitorType']
|
1013
|
+
unless params['Dimensions'].nil?
|
1014
|
+
@Dimensions = []
|
1015
|
+
params['Dimensions'].each do |i|
|
1016
|
+
dimensionnew_tmp = DimensionNew.new
|
1017
|
+
dimensionnew_tmp.deserialize(i)
|
1018
|
+
@Dimensions << dimensionnew_tmp
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
989
1024
|
# 告警条件
|
990
1025
|
class Condition < TencentCloud::Common::AbstractModel
|
991
1026
|
# @param AlarmNotifyPeriod: 告警通知频率
|
@@ -1470,7 +1505,7 @@ module TencentCloud
|
|
1470
1505
|
|
1471
1506
|
# CreateGrafanaIntegration请求参数结构体
|
1472
1507
|
class CreateGrafanaIntegrationRequest < TencentCloud::Common::AbstractModel
|
1473
|
-
# @param InstanceId:
|
1508
|
+
# @param InstanceId: 实例 ID
|
1474
1509
|
# @type InstanceId: String
|
1475
1510
|
# @param Kind: 类型
|
1476
1511
|
# @type Kind: String
|
@@ -1510,7 +1545,7 @@ module TencentCloud
|
|
1510
1545
|
|
1511
1546
|
# CreateGrafanaNotificationChannel请求参数结构体
|
1512
1547
|
class CreateGrafanaNotificationChannelRequest < TencentCloud::Common::AbstractModel
|
1513
|
-
# @param InstanceId:
|
1548
|
+
# @param InstanceId: 实例 ID
|
1514
1549
|
# @type InstanceId: String
|
1515
1550
|
# @param ChannelName: 渠道名
|
1516
1551
|
# @type ChannelName: String
|
@@ -3369,16 +3404,20 @@ module TencentCloud
|
|
3369
3404
|
# @type QceNamespacesNew: Array
|
3370
3405
|
# @param CustomNamespacesNew: 其他告警策略类型,暂不支持
|
3371
3406
|
# @type CustomNamespacesNew: Array
|
3407
|
+
# @param CommonNamespaces: 通用告警策略类型(包括:应用性能监控,前端性能监控,云拨测)
|
3408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3409
|
+
# @type CommonNamespaces: Array
|
3372
3410
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3373
3411
|
# @type RequestId: String
|
3374
3412
|
|
3375
|
-
attr_accessor :QceNamespaces, :CustomNamespaces, :QceNamespacesNew, :CustomNamespacesNew, :RequestId
|
3413
|
+
attr_accessor :QceNamespaces, :CustomNamespaces, :QceNamespacesNew, :CustomNamespacesNew, :CommonNamespaces, :RequestId
|
3376
3414
|
|
3377
|
-
def initialize(qcenamespaces=nil, customnamespaces=nil, qcenamespacesnew=nil, customnamespacesnew=nil, requestid=nil)
|
3415
|
+
def initialize(qcenamespaces=nil, customnamespaces=nil, qcenamespacesnew=nil, customnamespacesnew=nil, commonnamespaces=nil, requestid=nil)
|
3378
3416
|
@QceNamespaces = qcenamespaces
|
3379
3417
|
@CustomNamespaces = customnamespaces
|
3380
3418
|
@QceNamespacesNew = qcenamespacesnew
|
3381
3419
|
@CustomNamespacesNew = customnamespacesnew
|
3420
|
+
@CommonNamespaces = commonnamespaces
|
3382
3421
|
@RequestId = requestid
|
3383
3422
|
end
|
3384
3423
|
|
@@ -3407,6 +3446,14 @@ module TencentCloud
|
|
3407
3446
|
@CustomNamespacesNew << commonnamespace_tmp
|
3408
3447
|
end
|
3409
3448
|
end
|
3449
|
+
unless params['CommonNamespaces'].nil?
|
3450
|
+
@CommonNamespaces = []
|
3451
|
+
params['CommonNamespaces'].each do |i|
|
3452
|
+
commonnamespacenew_tmp = CommonNamespaceNew.new
|
3453
|
+
commonnamespacenew_tmp.deserialize(i)
|
3454
|
+
@CommonNamespaces << commonnamespacenew_tmp
|
3455
|
+
end
|
3456
|
+
end
|
3410
3457
|
@RequestId = params['RequestId']
|
3411
3458
|
end
|
3412
3459
|
end
|
@@ -3658,14 +3705,18 @@ module TencentCloud
|
|
3658
3705
|
# @param Total: 总数
|
3659
3706
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3660
3707
|
# @type Total: Integer
|
3708
|
+
# @param Warning: 备注信息
|
3709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3710
|
+
# @type Warning: String
|
3661
3711
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3662
3712
|
# @type RequestId: String
|
3663
3713
|
|
3664
|
-
attr_accessor :Alarms, :Total, :RequestId
|
3714
|
+
attr_accessor :Alarms, :Total, :Warning, :RequestId
|
3665
3715
|
|
3666
|
-
def initialize(alarms=nil, total=nil, requestid=nil)
|
3716
|
+
def initialize(alarms=nil, total=nil, warning=nil, requestid=nil)
|
3667
3717
|
@Alarms = alarms
|
3668
3718
|
@Total = total
|
3719
|
+
@Warning = warning
|
3669
3720
|
@RequestId = requestid
|
3670
3721
|
end
|
3671
3722
|
|
@@ -3679,6 +3730,7 @@ module TencentCloud
|
|
3679
3730
|
end
|
3680
3731
|
end
|
3681
3732
|
@Total = params['Total']
|
3733
|
+
@Warning = params['Warning']
|
3682
3734
|
@RequestId = params['RequestId']
|
3683
3735
|
end
|
3684
3736
|
end
|
@@ -3945,7 +3997,7 @@ module TencentCloud
|
|
3945
3997
|
|
3946
3998
|
# DescribeDNSConfig请求参数结构体
|
3947
3999
|
class DescribeDNSConfigRequest < TencentCloud::Common::AbstractModel
|
3948
|
-
# @param InstanceId:
|
4000
|
+
# @param InstanceId: 实例 ID
|
3949
4001
|
# @type InstanceId: String
|
3950
4002
|
|
3951
4003
|
attr_accessor :InstanceId
|
@@ -4043,7 +4095,7 @@ module TencentCloud
|
|
4043
4095
|
|
4044
4096
|
# DescribeGrafanaConfig请求参数结构体
|
4045
4097
|
class DescribeGrafanaConfigRequest < TencentCloud::Common::AbstractModel
|
4046
|
-
# @param InstanceId:
|
4098
|
+
# @param InstanceId: 实例 ID
|
4047
4099
|
# @type InstanceId: String
|
4048
4100
|
|
4049
4101
|
attr_accessor :InstanceId
|
@@ -4079,7 +4131,7 @@ module TencentCloud
|
|
4079
4131
|
|
4080
4132
|
# DescribeGrafanaEnvironments请求参数结构体
|
4081
4133
|
class DescribeGrafanaEnvironmentsRequest < TencentCloud::Common::AbstractModel
|
4082
|
-
# @param InstanceId:
|
4134
|
+
# @param InstanceId: 实例 ID
|
4083
4135
|
# @type InstanceId: String
|
4084
4136
|
|
4085
4137
|
attr_accessor :InstanceId
|
@@ -4200,7 +4252,7 @@ module TencentCloud
|
|
4200
4252
|
|
4201
4253
|
# DescribeGrafanaIntegrations请求参数结构体
|
4202
4254
|
class DescribeGrafanaIntegrationsRequest < TencentCloud::Common::AbstractModel
|
4203
|
-
# @param InstanceId:
|
4255
|
+
# @param InstanceId: 实例 ID
|
4204
4256
|
# @type InstanceId: String
|
4205
4257
|
# @param IntegrationId: 集成 ID
|
4206
4258
|
# @type IntegrationId: String
|
@@ -4251,7 +4303,7 @@ module TencentCloud
|
|
4251
4303
|
|
4252
4304
|
# DescribeGrafanaNotificationChannels请求参数结构体
|
4253
4305
|
class DescribeGrafanaNotificationChannelsRequest < TencentCloud::Common::AbstractModel
|
4254
|
-
# @param InstanceId:
|
4306
|
+
# @param InstanceId: 实例 ID
|
4255
4307
|
# @type InstanceId: String
|
4256
4308
|
# @param Offset: 偏移量
|
4257
4309
|
# @type Offset: Integer
|
@@ -4314,7 +4366,7 @@ module TencentCloud
|
|
4314
4366
|
|
4315
4367
|
# DescribeGrafanaWhiteList请求参数结构体
|
4316
4368
|
class DescribeGrafanaWhiteListRequest < TencentCloud::Common::AbstractModel
|
4317
|
-
# @param InstanceId:
|
4369
|
+
# @param InstanceId: 实例 ID
|
4318
4370
|
# @type InstanceId: String
|
4319
4371
|
|
4320
4372
|
attr_accessor :InstanceId
|
@@ -5056,7 +5108,7 @@ module TencentCloud
|
|
5056
5108
|
# @type ReceiverGroupList: Array
|
5057
5109
|
# @param ReceiverUserList: 告警接收人id列表
|
5058
5110
|
# @type ReceiverUserList: Array
|
5059
|
-
# @param StartTime: 告警时间段开始时间。范围[0,86400),作为
|
5111
|
+
# @param StartTime: 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"
|
5060
5112
|
# @type StartTime: Integer
|
5061
5113
|
# @param EndTime: 告警时间段结束时间。含义同StartTime
|
5062
5114
|
# @type EndTime: Integer
|
@@ -5501,14 +5553,18 @@ module TencentCloud
|
|
5501
5553
|
# @type GroupList: Array
|
5502
5554
|
# @param Total: 策略组总数
|
5503
5555
|
# @type Total: Integer
|
5556
|
+
# @param Warning: 备注信息
|
5557
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5558
|
+
# @type Warning: String
|
5504
5559
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5505
5560
|
# @type RequestId: String
|
5506
5561
|
|
5507
|
-
attr_accessor :GroupList, :Total, :RequestId
|
5562
|
+
attr_accessor :GroupList, :Total, :Warning, :RequestId
|
5508
5563
|
|
5509
|
-
def initialize(grouplist=nil, total=nil, requestid=nil)
|
5564
|
+
def initialize(grouplist=nil, total=nil, warning=nil, requestid=nil)
|
5510
5565
|
@GroupList = grouplist
|
5511
5566
|
@Total = total
|
5567
|
+
@Warning = warning
|
5512
5568
|
@RequestId = requestid
|
5513
5569
|
end
|
5514
5570
|
|
@@ -5522,6 +5578,7 @@ module TencentCloud
|
|
5522
5578
|
end
|
5523
5579
|
end
|
5524
5580
|
@Total = params['Total']
|
5581
|
+
@Warning = params['Warning']
|
5525
5582
|
@RequestId = params['RequestId']
|
5526
5583
|
end
|
5527
5584
|
end
|
@@ -6491,6 +6548,74 @@ module TencentCloud
|
|
6491
6548
|
end
|
6492
6549
|
end
|
6493
6550
|
|
6551
|
+
# 策略类型的维度信息
|
6552
|
+
class DimensionNew < TencentCloud::Common::AbstractModel
|
6553
|
+
# @param Key: 维度 key 标示,后台英文名
|
6554
|
+
# @type Key: String
|
6555
|
+
# @param Name: 维度 key 名称,中英文前台展示名
|
6556
|
+
# @type Name: String
|
6557
|
+
# @param IsRequired: 是否必选
|
6558
|
+
# @type IsRequired: Boolean
|
6559
|
+
# @param Operators: 支持的操作符列表
|
6560
|
+
# @type Operators: Array
|
6561
|
+
# @param IsMultiple: 是否支持多选
|
6562
|
+
# @type IsMultiple: Boolean
|
6563
|
+
# @param IsMutable: 创建后是否可以修改
|
6564
|
+
# @type IsMutable: Boolean
|
6565
|
+
# @param IsVisible: 是否展示给用户
|
6566
|
+
# @type IsVisible: Boolean
|
6567
|
+
# @param CanFilterPolicy: 能否用来过滤策略列表
|
6568
|
+
# @type CanFilterPolicy: Boolean
|
6569
|
+
# @param CanFilterHistory: 能否用来过滤告警历史
|
6570
|
+
# @type CanFilterHistory: Boolean
|
6571
|
+
# @param CanGroupBy: 能否作为聚合维度
|
6572
|
+
# @type CanGroupBy: Boolean
|
6573
|
+
# @param MustGroupBy: 是否必须作为聚合维度
|
6574
|
+
# @type MustGroupBy: Boolean
|
6575
|
+
# @param ShowValueReplace: 前端翻译要替换的 key
|
6576
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6577
|
+
# @type ShowValueReplace: String
|
6578
|
+
|
6579
|
+
attr_accessor :Key, :Name, :IsRequired, :Operators, :IsMultiple, :IsMutable, :IsVisible, :CanFilterPolicy, :CanFilterHistory, :CanGroupBy, :MustGroupBy, :ShowValueReplace
|
6580
|
+
|
6581
|
+
def initialize(key=nil, name=nil, isrequired=nil, operators=nil, ismultiple=nil, ismutable=nil, isvisible=nil, canfilterpolicy=nil, canfilterhistory=nil, cangroupby=nil, mustgroupby=nil, showvaluereplace=nil)
|
6582
|
+
@Key = key
|
6583
|
+
@Name = name
|
6584
|
+
@IsRequired = isrequired
|
6585
|
+
@Operators = operators
|
6586
|
+
@IsMultiple = ismultiple
|
6587
|
+
@IsMutable = ismutable
|
6588
|
+
@IsVisible = isvisible
|
6589
|
+
@CanFilterPolicy = canfilterpolicy
|
6590
|
+
@CanFilterHistory = canfilterhistory
|
6591
|
+
@CanGroupBy = cangroupby
|
6592
|
+
@MustGroupBy = mustgroupby
|
6593
|
+
@ShowValueReplace = showvaluereplace
|
6594
|
+
end
|
6595
|
+
|
6596
|
+
def deserialize(params)
|
6597
|
+
@Key = params['Key']
|
6598
|
+
@Name = params['Name']
|
6599
|
+
@IsRequired = params['IsRequired']
|
6600
|
+
unless params['Operators'].nil?
|
6601
|
+
@Operators = []
|
6602
|
+
params['Operators'].each do |i|
|
6603
|
+
operator_tmp = Operator.new
|
6604
|
+
operator_tmp.deserialize(i)
|
6605
|
+
@Operators << operator_tmp
|
6606
|
+
end
|
6607
|
+
end
|
6608
|
+
@IsMultiple = params['IsMultiple']
|
6609
|
+
@IsMutable = params['IsMutable']
|
6610
|
+
@IsVisible = params['IsVisible']
|
6611
|
+
@CanFilterPolicy = params['CanFilterPolicy']
|
6612
|
+
@CanFilterHistory = params['CanFilterHistory']
|
6613
|
+
@CanGroupBy = params['CanGroupBy']
|
6614
|
+
@MustGroupBy = params['MustGroupBy']
|
6615
|
+
@ShowValueReplace = params['ShowValueReplace']
|
6616
|
+
end
|
6617
|
+
end
|
6618
|
+
|
6494
6619
|
# 维度信息
|
6495
6620
|
class DimensionsDesc < TencentCloud::Common::AbstractModel
|
6496
6621
|
# @param Dimensions: 维度名数组
|
@@ -8116,6 +8241,26 @@ module TencentCloud
|
|
8116
8241
|
end
|
8117
8242
|
end
|
8118
8243
|
|
8244
|
+
# 维度支持的操作符信息
|
8245
|
+
class Operator < TencentCloud::Common::AbstractModel
|
8246
|
+
# @param Id: 运算符标识
|
8247
|
+
# @type Id: String
|
8248
|
+
# @param Name: 运算符展示名
|
8249
|
+
# @type Name: String
|
8250
|
+
|
8251
|
+
attr_accessor :Id, :Name
|
8252
|
+
|
8253
|
+
def initialize(id=nil, name=nil)
|
8254
|
+
@Id = id
|
8255
|
+
@Name = name
|
8256
|
+
end
|
8257
|
+
|
8258
|
+
def deserialize(params)
|
8259
|
+
@Id = params['Id']
|
8260
|
+
@Name = params['Name']
|
8261
|
+
end
|
8262
|
+
end
|
8263
|
+
|
8119
8264
|
# 周期内的统计方式
|
8120
8265
|
class PeriodsSt < TencentCloud::Common::AbstractModel
|
8121
8266
|
# @param Period: 周期
|
@@ -9652,7 +9797,7 @@ module TencentCloud
|
|
9652
9797
|
|
9653
9798
|
# UpdateDNSConfig请求参数结构体
|
9654
9799
|
class UpdateDNSConfigRequest < TencentCloud::Common::AbstractModel
|
9655
|
-
# @param InstanceId:
|
9800
|
+
# @param InstanceId: 实例 ID
|
9656
9801
|
# @type InstanceId: String
|
9657
9802
|
# @param NameServers: DNS 数组
|
9658
9803
|
# @type NameServers: Array
|
@@ -9739,7 +9884,7 @@ module TencentCloud
|
|
9739
9884
|
|
9740
9885
|
# UpdateGrafanaConfig请求参数结构体
|
9741
9886
|
class UpdateGrafanaConfigRequest < TencentCloud::Common::AbstractModel
|
9742
|
-
# @param InstanceId:
|
9887
|
+
# @param InstanceId: 实例 ID
|
9743
9888
|
# @type InstanceId: String
|
9744
9889
|
# @param Config: JSON 编码后的字符串
|
9745
9890
|
# @type Config: String
|
@@ -9775,7 +9920,7 @@ module TencentCloud
|
|
9775
9920
|
|
9776
9921
|
# UpdateGrafanaEnvironments请求参数结构体
|
9777
9922
|
class UpdateGrafanaEnvironmentsRequest < TencentCloud::Common::AbstractModel
|
9778
|
-
# @param InstanceId:
|
9923
|
+
# @param InstanceId: 实例 ID
|
9779
9924
|
# @type InstanceId: String
|
9780
9925
|
# @param Envs: 环境变量字符串
|
9781
9926
|
# @type Envs: String
|
@@ -9857,7 +10002,7 @@ module TencentCloud
|
|
9857
10002
|
class UpdateGrafanaNotificationChannelRequest < TencentCloud::Common::AbstractModel
|
9858
10003
|
# @param ChannelId: 通道 ID
|
9859
10004
|
# @type ChannelId: String
|
9860
|
-
# @param InstanceId:
|
10005
|
+
# @param InstanceId: 实例 ID
|
9861
10006
|
# @type InstanceId: String
|
9862
10007
|
# @param ChannelName: 渠道名
|
9863
10008
|
# @type ChannelName: String
|
@@ -10245,7 +10390,7 @@ module TencentCloud
|
|
10245
10390
|
|
10246
10391
|
# UpgradeGrafanaInstance请求参数结构体
|
10247
10392
|
class UpgradeGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
|
10248
|
-
# @param InstanceId:
|
10393
|
+
# @param InstanceId: 实例 ID
|
10249
10394
|
# @type InstanceId: String
|
10250
10395
|
# @param Alias: 版本别名
|
10251
10396
|
# @type Alias: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.393
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|