tencentcloud-sdk-monitor 3.0.404 → 3.0.407

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3b2efce08ce7089c6bcb861c82aa3dff060b60e
4
- data.tar.gz: 0698670cbb79af859a2293b808e2d949bb71c769
3
+ metadata.gz: b0d5bfce95be205a608186a574f4c13754ed899b
4
+ data.tar.gz: a4cf9cde8ee6838d6f415b09ecde6f58e82c6cd4
5
5
  SHA512:
6
- metadata.gz: 019ef87141bacec8e4d530f54e9064302a301e73d838d66ffc95e4026bed396b1b40c88082c15aa4da0c7b9217d1bb57b82e3c8ee2924152f66851c4be582a88
7
- data.tar.gz: 7fd2fa0d6fc6a05e95105714b37b69603a52c4184e8db8e66128ce8c028b1a467d2c1c9edd9260a8031c352975ebe70710289ab624a694e9b2f10e7104a9d7cc
6
+ metadata.gz: 00a3f1a7b388fa78b06e44b3f076e4aaa017caf06d595edce49ff25e94020c9cdbd447aa9ad5a6f476dccf2c5805e95b11c9e70f70f9dd60f07ed48b6059bc46
7
+ data.tar.gz: 0ae562c2db8a52bc16d42881656dea87c73ce3f17e2c340fb185899d5d33030097bcd8e1c3de6a3788d318e3352cf4a4f4871c1bafa3e74d20a2ce03de40606c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.404
1
+ 3.0.407
@@ -1165,6 +1165,30 @@ module TencentCloud
1165
1165
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1166
1166
  end
1167
1167
 
1168
+ # 列出 Grafana 所有告警通道
1169
+
1170
+ # @param request: Request instance for DescribeGrafanaChannels.
1171
+ # @type request: :class:`Tencentcloud::monitor::V20180724::DescribeGrafanaChannelsRequest`
1172
+ # @rtype: :class:`Tencentcloud::monitor::V20180724::DescribeGrafanaChannelsResponse`
1173
+ def DescribeGrafanaChannels(request)
1174
+ body = send_request('DescribeGrafanaChannels', request.serialize)
1175
+ response = JSON.parse(body)
1176
+ if response['Response'].key?('Error') == false
1177
+ model = DescribeGrafanaChannelsResponse.new
1178
+ model.deserialize(response['Response'])
1179
+ model
1180
+ else
1181
+ code = response['Response']['Error']['Code']
1182
+ message = response['Response']['Error']['Message']
1183
+ reqid = response['Response']['RequestId']
1184
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1185
+ end
1186
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1187
+ raise e
1188
+ rescue StandardError => e
1189
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1190
+ end
1191
+
1168
1192
  # 列出 Grafana 的设置,即 grafana.ini 文件内容
1169
1193
 
1170
1194
  # @param request: Request instance for DescribeGrafanaConfig.
@@ -1776,6 +1800,9 @@ module TencentCloud
1776
1800
  # 接口调用频率限制为:20次/秒,1200次/分钟。单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
1777
1801
  # 若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
1778
1802
 
1803
+ # >?
1804
+ # >- 2022年9月1日起,云监控开始对GetMonitorData接口计费。每个主账号每月可获得100万次免费请求额度,超过免费额度后如需继续调用接口需要开通 [API请求按量付费](https://buy.cloud.tencent.com/APIRequestBuy)。计费规则可查看[API计费文档](https://cloud.tencent.com/document/product/248/77914)。
1805
+
1779
1806
  # @param request: Request instance for GetMonitorData.
1780
1807
  # @type request: :class:`Tencentcloud::monitor::V20180724::GetMonitorDataRequest`
1781
1808
  # @rtype: :class:`Tencentcloud::monitor::V20180724::GetMonitorDataResponse`
@@ -1534,16 +1534,21 @@ module TencentCloud
1534
1534
 
1535
1535
  # CreateGrafanaIntegration返回参数结构体
1536
1536
  class CreateGrafanaIntegrationResponse < TencentCloud::Common::AbstractModel
1537
+ # @param IntegrationId: 集成 ID
1538
+ # 注意:此字段可能返回 null,表示取不到有效值。
1539
+ # @type IntegrationId: String
1537
1540
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1538
1541
  # @type RequestId: String
1539
1542
 
1540
- attr_accessor :RequestId
1543
+ attr_accessor :IntegrationId, :RequestId
1541
1544
 
1542
- def initialize(requestid=nil)
1545
+ def initialize(integrationid=nil, requestid=nil)
1546
+ @IntegrationId = integrationid
1543
1547
  @RequestId = requestid
1544
1548
  end
1545
1549
 
1546
1550
  def deserialize(params)
1551
+ @IntegrationId = params['IntegrationId']
1547
1552
  @RequestId = params['RequestId']
1548
1553
  end
1549
1554
  end
@@ -1554,21 +1559,24 @@ module TencentCloud
1554
1559
  # @type InstanceId: String
1555
1560
  # @param ChannelName: 渠道名
1556
1561
  # @type ChannelName: String
1557
- # @param OrgId: 组织 ID
1562
+ # @param OrgId: 默认为1,已废弃,请使用 OrganizationIds
1558
1563
  # @type OrgId: Integer
1559
1564
  # @param Receivers: 接受告警通道 ID 数组
1560
1565
  # @type Receivers: Array
1561
- # @param ExtraOrgIds: 额外组织 ID 数组
1566
+ # @param ExtraOrgIds: 额外组织 ID 数组,已废弃,请使用 OrganizationIds
1562
1567
  # @type ExtraOrgIds: Array
1568
+ # @param OrganizationIds: 生效的所有组织 ID 数组,默认为 ["1"]
1569
+ # @type OrganizationIds: Array
1563
1570
 
1564
- attr_accessor :InstanceId, :ChannelName, :OrgId, :Receivers, :ExtraOrgIds
1571
+ attr_accessor :InstanceId, :ChannelName, :OrgId, :Receivers, :ExtraOrgIds, :OrganizationIds
1565
1572
 
1566
- def initialize(instanceid=nil, channelname=nil, orgid=nil, receivers=nil, extraorgids=nil)
1573
+ def initialize(instanceid=nil, channelname=nil, orgid=nil, receivers=nil, extraorgids=nil, organizationids=nil)
1567
1574
  @InstanceId = instanceid
1568
1575
  @ChannelName = channelname
1569
1576
  @OrgId = orgid
1570
1577
  @Receivers = receivers
1571
1578
  @ExtraOrgIds = extraorgids
1579
+ @OrganizationIds = organizationids
1572
1580
  end
1573
1581
 
1574
1582
  def deserialize(params)
@@ -1577,21 +1585,27 @@ module TencentCloud
1577
1585
  @OrgId = params['OrgId']
1578
1586
  @Receivers = params['Receivers']
1579
1587
  @ExtraOrgIds = params['ExtraOrgIds']
1588
+ @OrganizationIds = params['OrganizationIds']
1580
1589
  end
1581
1590
  end
1582
1591
 
1583
1592
  # CreateGrafanaNotificationChannel返回参数结构体
1584
1593
  class CreateGrafanaNotificationChannelResponse < TencentCloud::Common::AbstractModel
1594
+ # @param ChannelId: 通道 ID
1595
+ # 注意:此字段可能返回 null,表示取不到有效值。
1596
+ # @type ChannelId: String
1585
1597
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1586
1598
  # @type RequestId: String
1587
1599
 
1588
- attr_accessor :RequestId
1600
+ attr_accessor :ChannelId, :RequestId
1589
1601
 
1590
- def initialize(requestid=nil)
1602
+ def initialize(channelid=nil, requestid=nil)
1603
+ @ChannelId = channelid
1591
1604
  @RequestId = requestid
1592
1605
  end
1593
1606
 
1594
1607
  def deserialize(params)
1608
+ @ChannelId = params['ChannelId']
1595
1609
  @RequestId = params['RequestId']
1596
1610
  end
1597
1611
  end
@@ -2003,16 +2017,20 @@ module TencentCloud
2003
2017
 
2004
2018
  # CreateSSOAccount返回参数结构体
2005
2019
  class CreateSSOAccountResponse < TencentCloud::Common::AbstractModel
2020
+ # @param UserId: 已添加的用户 UIN
2021
+ # @type UserId: String
2006
2022
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2007
2023
  # @type RequestId: String
2008
2024
 
2009
- attr_accessor :RequestId
2025
+ attr_accessor :UserId, :RequestId
2010
2026
 
2011
- def initialize(requestid=nil)
2027
+ def initialize(userid=nil, requestid=nil)
2028
+ @UserId = userid
2012
2029
  @RequestId = requestid
2013
2030
  end
2014
2031
 
2015
2032
  def deserialize(params)
2033
+ @UserId = params['UserId']
2016
2034
  @RequestId = params['RequestId']
2017
2035
  end
2018
2036
  end
@@ -4098,6 +4116,69 @@ module TencentCloud
4098
4116
  end
4099
4117
  end
4100
4118
 
4119
+ # DescribeGrafanaChannels请求参数结构体
4120
+ class DescribeGrafanaChannelsRequest < TencentCloud::Common::AbstractModel
4121
+ # @param InstanceId: 实例 ID
4122
+ # @type InstanceId: String
4123
+ # @param Offset: 偏移量
4124
+ # @type Offset: Integer
4125
+ # @param Limit: 查询数量
4126
+ # @type Limit: Integer
4127
+ # @param ChannelName: 渠道名
4128
+ # @type ChannelName: String
4129
+ # @param ChannelIds: 渠道 ID
4130
+ # @type ChannelIds: Array
4131
+ # @param ChannelState: 状态
4132
+ # @type ChannelState: Integer
4133
+
4134
+ attr_accessor :InstanceId, :Offset, :Limit, :ChannelName, :ChannelIds, :ChannelState
4135
+
4136
+ def initialize(instanceid=nil, offset=nil, limit=nil, channelname=nil, channelids=nil, channelstate=nil)
4137
+ @InstanceId = instanceid
4138
+ @Offset = offset
4139
+ @Limit = limit
4140
+ @ChannelName = channelname
4141
+ @ChannelIds = channelids
4142
+ @ChannelState = channelstate
4143
+ end
4144
+
4145
+ def deserialize(params)
4146
+ @InstanceId = params['InstanceId']
4147
+ @Offset = params['Offset']
4148
+ @Limit = params['Limit']
4149
+ @ChannelName = params['ChannelName']
4150
+ @ChannelIds = params['ChannelIds']
4151
+ @ChannelState = params['ChannelState']
4152
+ end
4153
+ end
4154
+
4155
+ # DescribeGrafanaChannels返回参数结构体
4156
+ class DescribeGrafanaChannelsResponse < TencentCloud::Common::AbstractModel
4157
+ # @param NotificationChannelSet: 告警通道数组
4158
+ # @type NotificationChannelSet: Array
4159
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4160
+ # @type RequestId: String
4161
+
4162
+ attr_accessor :NotificationChannelSet, :RequestId
4163
+
4164
+ def initialize(notificationchannelset=nil, requestid=nil)
4165
+ @NotificationChannelSet = notificationchannelset
4166
+ @RequestId = requestid
4167
+ end
4168
+
4169
+ def deserialize(params)
4170
+ unless params['NotificationChannelSet'].nil?
4171
+ @NotificationChannelSet = []
4172
+ params['NotificationChannelSet'].each do |i|
4173
+ grafanachannel_tmp = GrafanaChannel.new
4174
+ grafanachannel_tmp.deserialize(i)
4175
+ @NotificationChannelSet << grafanachannel_tmp
4176
+ end
4177
+ end
4178
+ @RequestId = params['RequestId']
4179
+ end
4180
+ end
4181
+
4101
4182
  # DescribeGrafanaConfig请求参数结构体
4102
4183
  class DescribeGrafanaConfigRequest < TencentCloud::Common::AbstractModel
4103
4184
  # @param InstanceId: 实例 ID
@@ -4409,15 +4490,19 @@ module TencentCloud
4409
4490
  class DescribeInstalledPluginsRequest < TencentCloud::Common::AbstractModel
4410
4491
  # @param InstanceId: 实例 ID
4411
4492
  # @type InstanceId: String
4493
+ # @param PluginId: 按插件 ID 过滤
4494
+ # @type PluginId: String
4412
4495
 
4413
- attr_accessor :InstanceId
4496
+ attr_accessor :InstanceId, :PluginId
4414
4497
 
4415
- def initialize(instanceid=nil)
4498
+ def initialize(instanceid=nil, pluginid=nil)
4416
4499
  @InstanceId = instanceid
4500
+ @PluginId = pluginid
4417
4501
  end
4418
4502
 
4419
4503
  def deserialize(params)
4420
4504
  @InstanceId = params['InstanceId']
4505
+ @PluginId = params['PluginId']
4421
4506
  end
4422
4507
  end
4423
4508
 
@@ -6313,15 +6398,19 @@ module TencentCloud
6313
6398
  class DescribeSSOAccountRequest < TencentCloud::Common::AbstractModel
6314
6399
  # @param InstanceId: 实例ID
6315
6400
  # @type InstanceId: String
6401
+ # @param UserId: 按账号 UIN 进行过滤
6402
+ # @type UserId: String
6316
6403
 
6317
- attr_accessor :InstanceId
6404
+ attr_accessor :InstanceId, :UserId
6318
6405
 
6319
- def initialize(instanceid=nil)
6406
+ def initialize(instanceid=nil, userid=nil)
6320
6407
  @InstanceId = instanceid
6408
+ @UserId = userid
6321
6409
  end
6322
6410
 
6323
6411
  def deserialize(params)
6324
6412
  @InstanceId = params['InstanceId']
6413
+ @UserId = params['UserId']
6325
6414
  end
6326
6415
  end
6327
6416
 
@@ -6918,14 +7007,21 @@ module TencentCloud
6918
7007
  # @type Notes: String
6919
7008
  # @param CreateAt: 创建时间
6920
7009
  # @type CreateAt: String
7010
+ # @param InstanceId: 实例 ID
7011
+ # 注意:此字段可能返回 null,表示取不到有效值。
7012
+ # @type InstanceId: String
7013
+ # @param Uin: 用户主账号 UIN
7014
+ # @type Uin: String
6921
7015
 
6922
- attr_accessor :UserId, :Role, :Notes, :CreateAt
7016
+ attr_accessor :UserId, :Role, :Notes, :CreateAt, :InstanceId, :Uin
6923
7017
 
6924
- def initialize(userid=nil, role=nil, notes=nil, createat=nil)
7018
+ def initialize(userid=nil, role=nil, notes=nil, createat=nil, instanceid=nil, uin=nil)
6925
7019
  @UserId = userid
6926
7020
  @Role = role
6927
7021
  @Notes = notes
6928
7022
  @CreateAt = createat
7023
+ @InstanceId = instanceid
7024
+ @Uin = uin
6929
7025
  end
6930
7026
 
6931
7027
  def deserialize(params)
@@ -6940,6 +7036,8 @@ module TencentCloud
6940
7036
  end
6941
7037
  @Notes = params['Notes']
6942
7038
  @CreateAt = params['CreateAt']
7039
+ @InstanceId = params['InstanceId']
7040
+ @Uin = params['Uin']
6943
7041
  end
6944
7042
  end
6945
7043
 
@@ -6963,6 +7061,43 @@ module TencentCloud
6963
7061
  end
6964
7062
  end
6965
7063
 
7064
+ # Grafana 告警渠道
7065
+ class GrafanaChannel < TencentCloud::Common::AbstractModel
7066
+ # @param ChannelId: 渠道 ID
7067
+ # @type ChannelId: String
7068
+ # @param ChannelName: 渠道名
7069
+ # @type ChannelName: String
7070
+ # @param Receivers: 告警通道模板 ID 数组
7071
+ # @type Receivers: Array
7072
+ # @param CreatedAt: 创建时间
7073
+ # @type CreatedAt: String
7074
+ # @param UpdatedAt: 更新时间
7075
+ # @type UpdatedAt: String
7076
+ # @param OrganizationIds: 告警渠道的所有生效组织
7077
+ # 注意:此字段可能返回 null,表示取不到有效值。
7078
+ # @type OrganizationIds: Array
7079
+
7080
+ attr_accessor :ChannelId, :ChannelName, :Receivers, :CreatedAt, :UpdatedAt, :OrganizationIds
7081
+
7082
+ def initialize(channelid=nil, channelname=nil, receivers=nil, createdat=nil, updatedat=nil, organizationids=nil)
7083
+ @ChannelId = channelid
7084
+ @ChannelName = channelname
7085
+ @Receivers = receivers
7086
+ @CreatedAt = createdat
7087
+ @UpdatedAt = updatedat
7088
+ @OrganizationIds = organizationids
7089
+ end
7090
+
7091
+ def deserialize(params)
7092
+ @ChannelId = params['ChannelId']
7093
+ @ChannelName = params['ChannelName']
7094
+ @Receivers = params['Receivers']
7095
+ @CreatedAt = params['CreatedAt']
7096
+ @UpdatedAt = params['UpdatedAt']
7097
+ @OrganizationIds = params['OrganizationIds']
7098
+ end
7099
+ end
7100
+
6966
7101
  # 查询 Grafana 实例时的实例类型
6967
7102
  class GrafanaInstanceInfo < TencentCloud::Common::AbstractModel
6968
7103
  # @param InstanceName: 实例名
@@ -7069,14 +7204,18 @@ module TencentCloud
7069
7204
  # @type Content: String
7070
7205
  # @param Description: 集成描述
7071
7206
  # @type Description: String
7207
+ # @param GrafanaURL: Grafana 跳转地址
7208
+ # 注意:此字段可能返回 null,表示取不到有效值。
7209
+ # @type GrafanaURL: String
7072
7210
 
7073
- attr_accessor :IntegrationId, :Kind, :Content, :Description
7211
+ attr_accessor :IntegrationId, :Kind, :Content, :Description, :GrafanaURL
7074
7212
 
7075
- def initialize(integrationid=nil, kind=nil, content=nil, description=nil)
7213
+ def initialize(integrationid=nil, kind=nil, content=nil, description=nil, grafanaurl=nil)
7076
7214
  @IntegrationId = integrationid
7077
7215
  @Kind = kind
7078
7216
  @Content = content
7079
7217
  @Description = description
7218
+ @GrafanaURL = grafanaurl
7080
7219
  end
7081
7220
 
7082
7221
  def deserialize(params)
@@ -7084,6 +7223,7 @@ module TencentCloud
7084
7223
  @Kind = params['Kind']
7085
7224
  @Content = params['Content']
7086
7225
  @Description = params['Description']
7226
+ @GrafanaURL = params['GrafanaURL']
7087
7227
  end
7088
7228
  end
7089
7229
 
@@ -7099,15 +7239,30 @@ module TencentCloud
7099
7239
  # @type CreatedAt: String
7100
7240
  # @param UpdatedAt: 更新时间
7101
7241
  # @type UpdatedAt: String
7242
+ # @param OrgId: 默认生效组织,已废弃,请使用 OrganizationIds
7243
+ # @type OrgId: String
7244
+ # @param ExtraOrgIds: 额外生效组织,已废弃,请使用 OrganizationIds
7245
+ # 注意:此字段可能返回 null,表示取不到有效值。
7246
+ # @type ExtraOrgIds: Array
7247
+ # @param OrgIds: 生效组织,已废弃,请使用 OrganizationIds
7248
+ # 注意:此字段可能返回 null,表示取不到有效值。
7249
+ # @type OrgIds: String
7250
+ # @param OrganizationIds: 告警渠道的所有生效组织
7251
+ # 注意:此字段可能返回 null,表示取不到有效值。
7252
+ # @type OrganizationIds: String
7102
7253
 
7103
- attr_accessor :ChannelId, :ChannelName, :Receivers, :CreatedAt, :UpdatedAt
7254
+ attr_accessor :ChannelId, :ChannelName, :Receivers, :CreatedAt, :UpdatedAt, :OrgId, :ExtraOrgIds, :OrgIds, :OrganizationIds
7104
7255
 
7105
- def initialize(channelid=nil, channelname=nil, receivers=nil, createdat=nil, updatedat=nil)
7256
+ def initialize(channelid=nil, channelname=nil, receivers=nil, createdat=nil, updatedat=nil, orgid=nil, extraorgids=nil, orgids=nil, organizationids=nil)
7106
7257
  @ChannelId = channelid
7107
7258
  @ChannelName = channelname
7108
7259
  @Receivers = receivers
7109
7260
  @CreatedAt = createdat
7110
7261
  @UpdatedAt = updatedat
7262
+ @OrgId = orgid
7263
+ @ExtraOrgIds = extraorgids
7264
+ @OrgIds = orgids
7265
+ @OrganizationIds = organizationids
7111
7266
  end
7112
7267
 
7113
7268
  def deserialize(params)
@@ -7116,6 +7271,10 @@ module TencentCloud
7116
7271
  @Receivers = params['Receivers']
7117
7272
  @CreatedAt = params['CreatedAt']
7118
7273
  @UpdatedAt = params['UpdatedAt']
7274
+ @OrgId = params['OrgId']
7275
+ @ExtraOrgIds = params['ExtraOrgIds']
7276
+ @OrgIds = params['OrgIds']
7277
+ @OrganizationIds = params['OrganizationIds']
7119
7278
  end
7120
7279
  end
7121
7280
 
@@ -7169,16 +7328,21 @@ module TencentCloud
7169
7328
 
7170
7329
  # InstallPlugins返回参数结构体
7171
7330
  class InstallPluginsResponse < TencentCloud::Common::AbstractModel
7331
+ # @param PluginIds: 已安装插件 ID
7332
+ # 注意:此字段可能返回 null,表示取不到有效值。
7333
+ # @type PluginIds: Array
7172
7334
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7173
7335
  # @type RequestId: String
7174
7336
 
7175
- attr_accessor :RequestId
7337
+ attr_accessor :PluginIds, :RequestId
7176
7338
 
7177
- def initialize(requestid=nil)
7339
+ def initialize(pluginids=nil, requestid=nil)
7340
+ @PluginIds = pluginids
7178
7341
  @RequestId = requestid
7179
7342
  end
7180
7343
 
7181
7344
  def deserialize(params)
7345
+ @PluginIds = params['PluginIds']
7182
7346
  @RequestId = params['RequestId']
7183
7347
  end
7184
7348
  end
@@ -9076,7 +9240,7 @@ module TencentCloud
9076
9240
  # @type RuleId: String
9077
9241
  # @param RuleState: 规则状态码
9078
9242
  # @type RuleState: Integer
9079
- # @param Name: 规则名称
9243
+ # @param Name: 分组名称
9080
9244
  # @type Name: String
9081
9245
  # @param Group: 规则内容组
9082
9246
  # @type Group: String
@@ -9086,10 +9250,13 @@ module TencentCloud
9086
9250
  # @type CreatedAt: String
9087
9251
  # @param UpdatedAt: 规则最近更新时间
9088
9252
  # @type UpdatedAt: String
9253
+ # @param RuleName: 规则名称
9254
+ # 注意:此字段可能返回 null,表示取不到有效值。
9255
+ # @type RuleName: String
9089
9256
 
9090
- attr_accessor :RuleId, :RuleState, :Name, :Group, :Total, :CreatedAt, :UpdatedAt
9257
+ attr_accessor :RuleId, :RuleState, :Name, :Group, :Total, :CreatedAt, :UpdatedAt, :RuleName
9091
9258
 
9092
- def initialize(ruleid=nil, rulestate=nil, name=nil, group=nil, total=nil, createdat=nil, updatedat=nil)
9259
+ def initialize(ruleid=nil, rulestate=nil, name=nil, group=nil, total=nil, createdat=nil, updatedat=nil, rulename=nil)
9093
9260
  @RuleId = ruleid
9094
9261
  @RuleState = rulestate
9095
9262
  @Name = name
@@ -9097,6 +9264,7 @@ module TencentCloud
9097
9264
  @Total = total
9098
9265
  @CreatedAt = createdat
9099
9266
  @UpdatedAt = updatedat
9267
+ @RuleName = rulename
9100
9268
  end
9101
9269
 
9102
9270
  def deserialize(params)
@@ -9107,6 +9275,7 @@ module TencentCloud
9107
9275
  @Total = params['Total']
9108
9276
  @CreatedAt = params['CreatedAt']
9109
9277
  @UpdatedAt = params['UpdatedAt']
9278
+ @RuleName = params['RuleName']
9110
9279
  end
9111
9280
  end
9112
9281
 
@@ -10023,17 +10192,20 @@ module TencentCloud
10023
10192
  # @type ChannelName: String
10024
10193
  # @param Receivers: 接受告警通道 ID 数组
10025
10194
  # @type Receivers: Array
10026
- # @param ExtraOrgIds: 额外组织 ID 数组
10195
+ # @param ExtraOrgIds: 已废弃,请使用 OrganizationIds
10027
10196
  # @type ExtraOrgIds: Array
10197
+ # @param OrganizationIds: 生效的组织 ID 数组
10198
+ # @type OrganizationIds: Array
10028
10199
 
10029
- attr_accessor :ChannelId, :InstanceId, :ChannelName, :Receivers, :ExtraOrgIds
10200
+ attr_accessor :ChannelId, :InstanceId, :ChannelName, :Receivers, :ExtraOrgIds, :OrganizationIds
10030
10201
 
10031
- def initialize(channelid=nil, instanceid=nil, channelname=nil, receivers=nil, extraorgids=nil)
10202
+ def initialize(channelid=nil, instanceid=nil, channelname=nil, receivers=nil, extraorgids=nil, organizationids=nil)
10032
10203
  @ChannelId = channelid
10033
10204
  @InstanceId = instanceid
10034
10205
  @ChannelName = channelname
10035
10206
  @Receivers = receivers
10036
10207
  @ExtraOrgIds = extraorgids
10208
+ @OrganizationIds = organizationids
10037
10209
  end
10038
10210
 
10039
10211
  def deserialize(params)
@@ -10042,6 +10214,7 @@ module TencentCloud
10042
10214
  @ChannelName = params['ChannelName']
10043
10215
  @Receivers = params['Receivers']
10044
10216
  @ExtraOrgIds = params['ExtraOrgIds']
10217
+ @OrganizationIds = params['OrganizationIds']
10045
10218
  end
10046
10219
  end
10047
10220
 
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.404
4
+ version: 3.0.407
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-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common