tencentcloud-sdk-monitor 3.0.719 → 3.0.720
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 +55 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebfb4db7fd5ccef946aae939a725b48a72b3ef79
|
4
|
+
data.tar.gz: 23bc479d7083918e6c6c50468664f35cbeebe49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a189d6d82d15e103a225ab38a8efa563ed0e2b671a4d99b46cff7f3bf99216e274202532c70e90bb1aab1106d4e1bfce0eafc932f7be53caecb24869b78fd582
|
7
|
+
data.tar.gz: d223890d0960e16276b4702837845a57d7cc9d14b54488360a395f2e4cf9f8bf936e08b5d14629927c01da77751b0138a8ed9dbadd61a14aba6096d2f62130d1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.720
|
data/lib/v20180724/models.rb
CHANGED
@@ -145,10 +145,34 @@ module TencentCloud
|
|
145
145
|
# @param AlarmLevel: 告警等级
|
146
146
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
147
147
|
# @type AlarmLevel: String
|
148
|
+
# @param ShieldFlag: 是否有配置告警屏蔽规则
|
149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
150
|
+
# @type ShieldFlag: Integer
|
151
|
+
# @param AlarmShieldingType: 屏蔽类型(英文)
|
152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
153
|
+
# @type AlarmShieldingType: String
|
154
|
+
# @param AlarmShieldingTime: 屏蔽时间(英文)
|
155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
# @type AlarmShieldingTime: String
|
157
|
+
# @param AlarmShieldingShowType: 屏蔽类型(中文)
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type AlarmShieldingShowType: String
|
160
|
+
# @param AlarmShieldingShowTime: 屏蔽时间(中文)
|
161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
162
|
+
# @type AlarmShieldingShowTime: String
|
163
|
+
# @param AlarmShieldReason: 屏蔽原因
|
164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
165
|
+
# @type AlarmShieldReason: String
|
166
|
+
# @param InternalDimensions: 告警实例的维度信息
|
167
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
168
|
+
# @type InternalDimensions: String
|
169
|
+
# @param MetricName: 指标名称
|
170
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
171
|
+
# @type MetricName: String
|
148
172
|
|
149
|
-
attr_accessor :AlarmId, :MonitorType, :Namespace, :AlarmObject, :Content, :FirstOccurTime, :LastOccurTime, :AlarmStatus, :PolicyId, :PolicyName, :VPC, :ProjectId, :ProjectName, :InstanceGroup, :ReceiverUids, :ReceiverGroups, :NoticeWays, :OriginId, :AlarmType, :EventId, :Region, :PolicyExists, :MetricsInfo, :Dimensions, :AlarmLevel
|
173
|
+
attr_accessor :AlarmId, :MonitorType, :Namespace, :AlarmObject, :Content, :FirstOccurTime, :LastOccurTime, :AlarmStatus, :PolicyId, :PolicyName, :VPC, :ProjectId, :ProjectName, :InstanceGroup, :ReceiverUids, :ReceiverGroups, :NoticeWays, :OriginId, :AlarmType, :EventId, :Region, :PolicyExists, :MetricsInfo, :Dimensions, :AlarmLevel, :ShieldFlag, :AlarmShieldingType, :AlarmShieldingTime, :AlarmShieldingShowType, :AlarmShieldingShowTime, :AlarmShieldReason, :InternalDimensions, :MetricName
|
150
174
|
|
151
|
-
def initialize(alarmid=nil, monitortype=nil, namespace=nil, alarmobject=nil, content=nil, firstoccurtime=nil, lastoccurtime=nil, alarmstatus=nil, policyid=nil, policyname=nil, vpc=nil, projectid=nil, projectname=nil, instancegroup=nil, receiveruids=nil, receivergroups=nil, noticeways=nil, originid=nil, alarmtype=nil, eventid=nil, region=nil, policyexists=nil, metricsinfo=nil, dimensions=nil, alarmlevel=nil)
|
175
|
+
def initialize(alarmid=nil, monitortype=nil, namespace=nil, alarmobject=nil, content=nil, firstoccurtime=nil, lastoccurtime=nil, alarmstatus=nil, policyid=nil, policyname=nil, vpc=nil, projectid=nil, projectname=nil, instancegroup=nil, receiveruids=nil, receivergroups=nil, noticeways=nil, originid=nil, alarmtype=nil, eventid=nil, region=nil, policyexists=nil, metricsinfo=nil, dimensions=nil, alarmlevel=nil, shieldflag=nil, alarmshieldingtype=nil, alarmshieldingtime=nil, alarmshieldingshowtype=nil, alarmshieldingshowtime=nil, alarmshieldreason=nil, internaldimensions=nil, metricname=nil)
|
152
176
|
@AlarmId = alarmid
|
153
177
|
@MonitorType = monitortype
|
154
178
|
@Namespace = namespace
|
@@ -174,6 +198,14 @@ module TencentCloud
|
|
174
198
|
@MetricsInfo = metricsinfo
|
175
199
|
@Dimensions = dimensions
|
176
200
|
@AlarmLevel = alarmlevel
|
201
|
+
@ShieldFlag = shieldflag
|
202
|
+
@AlarmShieldingType = alarmshieldingtype
|
203
|
+
@AlarmShieldingTime = alarmshieldingtime
|
204
|
+
@AlarmShieldingShowType = alarmshieldingshowtype
|
205
|
+
@AlarmShieldingShowTime = alarmshieldingshowtime
|
206
|
+
@AlarmShieldReason = alarmshieldreason
|
207
|
+
@InternalDimensions = internaldimensions
|
208
|
+
@MetricName = metricname
|
177
209
|
end
|
178
210
|
|
179
211
|
def deserialize(params)
|
@@ -216,6 +248,14 @@ module TencentCloud
|
|
216
248
|
end
|
217
249
|
@Dimensions = params['Dimensions']
|
218
250
|
@AlarmLevel = params['AlarmLevel']
|
251
|
+
@ShieldFlag = params['ShieldFlag']
|
252
|
+
@AlarmShieldingType = params['AlarmShieldingType']
|
253
|
+
@AlarmShieldingTime = params['AlarmShieldingTime']
|
254
|
+
@AlarmShieldingShowType = params['AlarmShieldingShowType']
|
255
|
+
@AlarmShieldingShowTime = params['AlarmShieldingShowTime']
|
256
|
+
@AlarmShieldReason = params['AlarmShieldReason']
|
257
|
+
@InternalDimensions = params['InternalDimensions']
|
258
|
+
@MetricName = params['MetricName']
|
219
259
|
end
|
220
260
|
end
|
221
261
|
|
@@ -1774,22 +1814,22 @@ module TencentCloud
|
|
1774
1814
|
# @type InstanceId: String
|
1775
1815
|
# @param ChannelName: 告警通道名称,例如:test
|
1776
1816
|
# @type ChannelName: String
|
1777
|
-
# @param OrgId: 默认为1,建议使用 OrganizationIds
|
1778
|
-
# @type OrgId: Integer
|
1779
1817
|
# @param Receivers: 接受告警通道 ID 数组,值为告警管理/基础配置/通知模板中的模板 ID
|
1780
1818
|
# @type Receivers: Array
|
1819
|
+
# @param OrgId: 默认为1,建议使用 OrganizationIds
|
1820
|
+
# @type OrgId: Integer
|
1781
1821
|
# @param ExtraOrgIds: 额外组织 ID 数组,已废弃,请使用 OrganizationIds
|
1782
1822
|
# @type ExtraOrgIds: Array
|
1783
1823
|
# @param OrganizationIds: 生效的所有组织 ID 数组,默认为 ["1"]
|
1784
1824
|
# @type OrganizationIds: Array
|
1785
1825
|
|
1786
|
-
attr_accessor :InstanceId, :ChannelName, :
|
1826
|
+
attr_accessor :InstanceId, :ChannelName, :Receivers, :OrgId, :ExtraOrgIds, :OrganizationIds
|
1787
1827
|
|
1788
|
-
def initialize(instanceid=nil, channelname=nil,
|
1828
|
+
def initialize(instanceid=nil, channelname=nil, receivers=nil, orgid=nil, extraorgids=nil, organizationids=nil)
|
1789
1829
|
@InstanceId = instanceid
|
1790
1830
|
@ChannelName = channelname
|
1791
|
-
@OrgId = orgid
|
1792
1831
|
@Receivers = receivers
|
1832
|
+
@OrgId = orgid
|
1793
1833
|
@ExtraOrgIds = extraorgids
|
1794
1834
|
@OrganizationIds = organizationids
|
1795
1835
|
end
|
@@ -1797,8 +1837,8 @@ module TencentCloud
|
|
1797
1837
|
def deserialize(params)
|
1798
1838
|
@InstanceId = params['InstanceId']
|
1799
1839
|
@ChannelName = params['ChannelName']
|
1800
|
-
@OrgId = params['OrgId']
|
1801
1840
|
@Receivers = params['Receivers']
|
1841
|
+
@OrgId = params['OrgId']
|
1802
1842
|
@ExtraOrgIds = params['ExtraOrgIds']
|
1803
1843
|
@OrganizationIds = params['OrganizationIds']
|
1804
1844
|
end
|
@@ -3552,7 +3592,7 @@ module TencentCloud
|
|
3552
3592
|
# @type StartTime: Integer
|
3553
3593
|
# @param EndTime: 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。
|
3554
3594
|
# @type EndTime: Integer
|
3555
|
-
# @param MonitorTypes: 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"
|
3595
|
+
# @param MonitorTypes: 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能监控;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测
|
3556
3596
|
# @type MonitorTypes: Array
|
3557
3597
|
# @param AlarmObject: 根据告警对象过滤 字符串模糊搜索
|
3558
3598
|
# @type AlarmObject: String
|
@@ -13682,22 +13722,22 @@ module TencentCloud
|
|
13682
13722
|
# @type ChannelId: String
|
13683
13723
|
# @param InstanceId: Grafana 实例 ID,例如:grafana-12345678
|
13684
13724
|
# @type InstanceId: String
|
13685
|
-
# @param ChannelName: 告警通道名称,例如:test
|
13686
|
-
# @type ChannelName: String
|
13687
13725
|
# @param Receivers: 接受告警通道 ID 数组
|
13688
13726
|
# @type Receivers: Array
|
13727
|
+
# @param ChannelName: 告警通道名称,已废弃,名称不可修改。
|
13728
|
+
# @type ChannelName: String
|
13689
13729
|
# @param ExtraOrgIds: 已废弃,请使用 OrganizationIds
|
13690
13730
|
# @type ExtraOrgIds: Array
|
13691
13731
|
# @param OrganizationIds: 生效的组织 ID 数组
|
13692
13732
|
# @type OrganizationIds: Array
|
13693
13733
|
|
13694
|
-
attr_accessor :ChannelId, :InstanceId, :
|
13734
|
+
attr_accessor :ChannelId, :InstanceId, :Receivers, :ChannelName, :ExtraOrgIds, :OrganizationIds
|
13695
13735
|
|
13696
|
-
def initialize(channelid=nil, instanceid=nil,
|
13736
|
+
def initialize(channelid=nil, instanceid=nil, receivers=nil, channelname=nil, extraorgids=nil, organizationids=nil)
|
13697
13737
|
@ChannelId = channelid
|
13698
13738
|
@InstanceId = instanceid
|
13699
|
-
@ChannelName = channelname
|
13700
13739
|
@Receivers = receivers
|
13740
|
+
@ChannelName = channelname
|
13701
13741
|
@ExtraOrgIds = extraorgids
|
13702
13742
|
@OrganizationIds = organizationids
|
13703
13743
|
end
|
@@ -13705,8 +13745,8 @@ module TencentCloud
|
|
13705
13745
|
def deserialize(params)
|
13706
13746
|
@ChannelId = params['ChannelId']
|
13707
13747
|
@InstanceId = params['InstanceId']
|
13708
|
-
@ChannelName = params['ChannelName']
|
13709
13748
|
@Receivers = params['Receivers']
|
13749
|
+
@ChannelName = params['ChannelName']
|
13710
13750
|
@ExtraOrgIds = params['ExtraOrgIds']
|
13711
13751
|
@OrganizationIds = params['OrganizationIds']
|
13712
13752
|
end
|