tencentcloud-sdk-cls 3.0.930 → 3.0.932
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/v20201016/client.rb +8 -1
 - data/lib/v20201016/models.rb +291 -78
 - 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: 8af949cbe32af0ee9958135c0d519723119bf45b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 622a4b14c9f183547cca3d2829c815aefee3896d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7ff4e45da2fe9e89e6d88970bbed1776b74f25899408d1c8d35e14c483bb369a35ecd0b1e9a67fd15984f63fa6510631c038191bde3d83ba96b855fbdc6102f7
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 014b2f1ec5bc9da39e031c2216a057094aa766f632b6960457cf332d55daa04d2fcc98712f99a796dc56702d713d583ef37bbfa5d8ffdb9610ad089b9f884610
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.932
         
     | 
    
        data/lib/v20201016/client.rb
    CHANGED
    
    | 
         @@ -173,7 +173,14 @@ module TencentCloud 
     | 
|
| 
       173 
173 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       174 
174 
     | 
    
         
             
                    end
         
     | 
| 
       175 
175 
     | 
    
         | 
| 
       176 
     | 
    
         
            -
                    #  
     | 
| 
      
 176 
     | 
    
         
            +
                    # 该接口用于创建通知渠道组,提供两种配置模式,二选一:
         
     | 
| 
      
 177 
     | 
    
         
            +
                    # 1,简易模式,提供最基本的通知渠道功能。需填写如下参数:
         
     | 
| 
      
 178 
     | 
    
         
            +
                    # - Type
         
     | 
| 
      
 179 
     | 
    
         
            +
                    # - NoticeReceivers
         
     | 
| 
      
 180 
     | 
    
         
            +
                    # - WebCallbacks
         
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
                    # 2,高级模式,在简易模式基础上,支持设定规则,为不同类型的告警分别设定通知渠道,并支持告警升级功能。需填写如下参数:
         
     | 
| 
      
 183 
     | 
    
         
            +
                    # - NoticeRules
         
     | 
| 
       177 
184 
     | 
    
         | 
| 
       178 
185 
     | 
    
         
             
                    # @param request: Request instance for CreateAlarmNotice.
         
     | 
| 
       179 
186 
     | 
    
         
             
                    # @type request: :class:`Tencentcloud::cls::V20201016::CreateAlarmNoticeRequest`
         
     | 
    
        data/lib/v20201016/models.rb
    CHANGED
    
    | 
         @@ -263,10 +263,13 @@ module TencentCloud 
     | 
|
| 
       263 
263 
     | 
    
         
             
                    end
         
     | 
| 
       264 
264 
     | 
    
         
             
                  end
         
     | 
| 
       265 
265 
     | 
    
         | 
| 
       266 
     | 
    
         
            -
                  #  
     | 
| 
      
 266 
     | 
    
         
            +
                  # 告警通知渠道组详细配置
         
     | 
| 
       267 
267 
     | 
    
         
             
                  class AlarmNotice < TencentCloud::Common::AbstractModel
         
     | 
| 
       268 
     | 
    
         
            -
                    # @param Name:  
     | 
| 
      
 268 
     | 
    
         
            +
                    # @param Name: 告警通知渠道组名称。
         
     | 
| 
       269 
269 
     | 
    
         
             
                    # @type Name: String
         
     | 
| 
      
 270 
     | 
    
         
            +
                    # @param Tags: 告警通知渠道组绑定的标签信息。
         
     | 
| 
      
 271 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 272 
     | 
    
         
            +
                    # @type Tags: Array
         
     | 
| 
       270 
273 
     | 
    
         
             
                    # @param Type: 告警模板的类型。可选值:
         
     | 
| 
       271 
274 
     | 
    
         
             
                    # <br><li> Trigger - 告警触发</li>
         
     | 
| 
       272 
275 
     | 
    
         
             
                    # <br><li> Recovery - 告警恢复</li>
         
     | 
| 
         @@ -281,31 +284,53 @@ module TencentCloud 
     | 
|
| 
       281 
284 
     | 
    
         
             
                    # @param AlarmNoticeId: 告警通知模板ID。
         
     | 
| 
       282 
285 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       283 
286 
     | 
    
         
             
                    # @type AlarmNoticeId: String
         
     | 
| 
      
 287 
     | 
    
         
            +
                    # @param NoticeRules: 通知规则。
         
     | 
| 
      
 288 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 289 
     | 
    
         
            +
                    # @type NoticeRules: Array
         
     | 
| 
      
 290 
     | 
    
         
            +
                    # @param AlarmShieldStatus: 免登录操作告警开关。
         
     | 
| 
      
 291 
     | 
    
         
            +
                    # 参数值: 1:关闭 2:开启(默认开启)
         
     | 
| 
      
 292 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 293 
     | 
    
         
            +
                    # @type AlarmShieldStatus: Integer
         
     | 
| 
      
 294 
     | 
    
         
            +
                    # @param JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
         
     | 
| 
      
 295 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 296 
     | 
    
         
            +
                    # @type JumpDomain: String
         
     | 
| 
      
 297 
     | 
    
         
            +
                    # @param AlarmNoticeDeliverConfig: 投递相关信息。
         
     | 
| 
      
 298 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 299 
     | 
    
         
            +
                    # @type AlarmNoticeDeliverConfig: :class:`Tencentcloud::Cls.v20201016.models.AlarmNoticeDeliverConfig`
         
     | 
| 
       284 
300 
     | 
    
         
             
                    # @param CreateTime: 创建时间。
         
     | 
| 
       285 
301 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       286 
302 
     | 
    
         
             
                    # @type CreateTime: String
         
     | 
| 
       287 
303 
     | 
    
         
             
                    # @param UpdateTime: 最近更新时间。
         
     | 
| 
       288 
304 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       289 
305 
     | 
    
         
             
                    # @type UpdateTime: String
         
     | 
| 
       290 
     | 
    
         
            -
                    # @param NoticeRules: 通知规则。
         
     | 
| 
       291 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       292 
     | 
    
         
            -
                    # @type NoticeRules: Array
         
     | 
| 
       293 
306 
     | 
    
         | 
| 
       294 
     | 
    
         
            -
                    attr_accessor :Name, :Type, :NoticeReceivers, :WebCallbacks, :AlarmNoticeId, : 
     | 
| 
      
 307 
     | 
    
         
            +
                    attr_accessor :Name, :Tags, :Type, :NoticeReceivers, :WebCallbacks, :AlarmNoticeId, :NoticeRules, :AlarmShieldStatus, :JumpDomain, :AlarmNoticeDeliverConfig, :CreateTime, :UpdateTime
         
     | 
| 
       295 
308 
     | 
    
         | 
| 
       296 
     | 
    
         
            -
                    def initialize(name=nil, type=nil, noticereceivers=nil, webcallbacks=nil, alarmnoticeid=nil,  
     | 
| 
      
 309 
     | 
    
         
            +
                    def initialize(name=nil, tags=nil, type=nil, noticereceivers=nil, webcallbacks=nil, alarmnoticeid=nil, noticerules=nil, alarmshieldstatus=nil, jumpdomain=nil, alarmnoticedeliverconfig=nil, createtime=nil, updatetime=nil)
         
     | 
| 
       297 
310 
     | 
    
         
             
                      @Name = name
         
     | 
| 
      
 311 
     | 
    
         
            +
                      @Tags = tags
         
     | 
| 
       298 
312 
     | 
    
         
             
                      @Type = type
         
     | 
| 
       299 
313 
     | 
    
         
             
                      @NoticeReceivers = noticereceivers
         
     | 
| 
       300 
314 
     | 
    
         
             
                      @WebCallbacks = webcallbacks
         
     | 
| 
       301 
315 
     | 
    
         
             
                      @AlarmNoticeId = alarmnoticeid
         
     | 
| 
      
 316 
     | 
    
         
            +
                      @NoticeRules = noticerules
         
     | 
| 
      
 317 
     | 
    
         
            +
                      @AlarmShieldStatus = alarmshieldstatus
         
     | 
| 
      
 318 
     | 
    
         
            +
                      @JumpDomain = jumpdomain
         
     | 
| 
      
 319 
     | 
    
         
            +
                      @AlarmNoticeDeliverConfig = alarmnoticedeliverconfig
         
     | 
| 
       302 
320 
     | 
    
         
             
                      @CreateTime = createtime
         
     | 
| 
       303 
321 
     | 
    
         
             
                      @UpdateTime = updatetime
         
     | 
| 
       304 
     | 
    
         
            -
                      @NoticeRules = noticerules
         
     | 
| 
       305 
322 
     | 
    
         
             
                    end
         
     | 
| 
       306 
323 
     | 
    
         | 
| 
       307 
324 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
       308 
325 
     | 
    
         
             
                      @Name = params['Name']
         
     | 
| 
      
 326 
     | 
    
         
            +
                      unless params['Tags'].nil?
         
     | 
| 
      
 327 
     | 
    
         
            +
                        @Tags = []
         
     | 
| 
      
 328 
     | 
    
         
            +
                        params['Tags'].each do |i|
         
     | 
| 
      
 329 
     | 
    
         
            +
                          tag_tmp = Tag.new
         
     | 
| 
      
 330 
     | 
    
         
            +
                          tag_tmp.deserialize(i)
         
     | 
| 
      
 331 
     | 
    
         
            +
                          @Tags << tag_tmp
         
     | 
| 
      
 332 
     | 
    
         
            +
                        end
         
     | 
| 
      
 333 
     | 
    
         
            +
                      end
         
     | 
| 
       309 
334 
     | 
    
         
             
                      @Type = params['Type']
         
     | 
| 
       310 
335 
     | 
    
         
             
                      unless params['NoticeReceivers'].nil?
         
     | 
| 
       311 
336 
     | 
    
         
             
                        @NoticeReceivers = []
         
     | 
| 
         @@ -324,8 +349,6 @@ module TencentCloud 
     | 
|
| 
       324 
349 
     | 
    
         
             
                        end
         
     | 
| 
       325 
350 
     | 
    
         
             
                      end
         
     | 
| 
       326 
351 
     | 
    
         
             
                      @AlarmNoticeId = params['AlarmNoticeId']
         
     | 
| 
       327 
     | 
    
         
            -
                      @CreateTime = params['CreateTime']
         
     | 
| 
       328 
     | 
    
         
            -
                      @UpdateTime = params['UpdateTime']
         
     | 
| 
       329 
352 
     | 
    
         
             
                      unless params['NoticeRules'].nil?
         
     | 
| 
       330 
353 
     | 
    
         
             
                        @NoticeRules = []
         
     | 
| 
       331 
354 
     | 
    
         
             
                        params['NoticeRules'].each do |i|
         
     | 
| 
         @@ -334,6 +357,38 @@ module TencentCloud 
     | 
|
| 
       334 
357 
     | 
    
         
             
                          @NoticeRules << noticerule_tmp
         
     | 
| 
       335 
358 
     | 
    
         
             
                        end
         
     | 
| 
       336 
359 
     | 
    
         
             
                      end
         
     | 
| 
      
 360 
     | 
    
         
            +
                      @AlarmShieldStatus = params['AlarmShieldStatus']
         
     | 
| 
      
 361 
     | 
    
         
            +
                      @JumpDomain = params['JumpDomain']
         
     | 
| 
      
 362 
     | 
    
         
            +
                      unless params['AlarmNoticeDeliverConfig'].nil?
         
     | 
| 
      
 363 
     | 
    
         
            +
                        @AlarmNoticeDeliverConfig = AlarmNoticeDeliverConfig.new
         
     | 
| 
      
 364 
     | 
    
         
            +
                        @AlarmNoticeDeliverConfig.deserialize(params['AlarmNoticeDeliverConfig'])
         
     | 
| 
      
 365 
     | 
    
         
            +
                      end
         
     | 
| 
      
 366 
     | 
    
         
            +
                      @CreateTime = params['CreateTime']
         
     | 
| 
      
 367 
     | 
    
         
            +
                      @UpdateTime = params['UpdateTime']
         
     | 
| 
      
 368 
     | 
    
         
            +
                    end
         
     | 
| 
      
 369 
     | 
    
         
            +
                  end
         
     | 
| 
      
 370 
     | 
    
         
            +
             
     | 
| 
      
 371 
     | 
    
         
            +
                  # 通知渠道投递日志配置信息
         
     | 
| 
      
 372 
     | 
    
         
            +
                  class AlarmNoticeDeliverConfig < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 373 
     | 
    
         
            +
                    # @param DeliverConfig: 通知渠道投递日志配置信息。
         
     | 
| 
      
 374 
     | 
    
         
            +
                    # @type DeliverConfig: :class:`Tencentcloud::Cls.v20201016.models.DeliverConfig`
         
     | 
| 
      
 375 
     | 
    
         
            +
                    # @param ErrMsg: 投递失败原因。
         
     | 
| 
      
 376 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 377 
     | 
    
         
            +
                    # @type ErrMsg: String
         
     | 
| 
      
 378 
     | 
    
         
            +
             
     | 
| 
      
 379 
     | 
    
         
            +
                    attr_accessor :DeliverConfig, :ErrMsg
         
     | 
| 
      
 380 
     | 
    
         
            +
             
     | 
| 
      
 381 
     | 
    
         
            +
                    def initialize(deliverconfig=nil, errmsg=nil)
         
     | 
| 
      
 382 
     | 
    
         
            +
                      @DeliverConfig = deliverconfig
         
     | 
| 
      
 383 
     | 
    
         
            +
                      @ErrMsg = errmsg
         
     | 
| 
      
 384 
     | 
    
         
            +
                    end
         
     | 
| 
      
 385 
     | 
    
         
            +
             
     | 
| 
      
 386 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 387 
     | 
    
         
            +
                      unless params['DeliverConfig'].nil?
         
     | 
| 
      
 388 
     | 
    
         
            +
                        @DeliverConfig = DeliverConfig.new
         
     | 
| 
      
 389 
     | 
    
         
            +
                        @DeliverConfig.deserialize(params['DeliverConfig'])
         
     | 
| 
      
 390 
     | 
    
         
            +
                      end
         
     | 
| 
      
 391 
     | 
    
         
            +
                      @ErrMsg = params['ErrMsg']
         
     | 
| 
       337 
392 
     | 
    
         
             
                    end
         
     | 
| 
       338 
393 
     | 
    
         
             
                  end
         
     | 
| 
       339 
394 
     | 
    
         | 
| 
         @@ -1782,49 +1837,62 @@ module TencentCloud 
     | 
|
| 
       1782 
1837 
     | 
    
         
             
                  class CreateAlarmNoticeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       1783 
1838 
     | 
    
         
             
                    # @param Name: 通知渠道组名称。
         
     | 
| 
       1784 
1839 
     | 
    
         
             
                    # @type Name: String
         
     | 
| 
       1785 
     | 
    
         
            -
                    # @param  
     | 
| 
      
 1840 
     | 
    
         
            +
                    # @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持50个标签键值对,并且不能有重复的键值对。
         
     | 
| 
      
 1841 
     | 
    
         
            +
                    # @type Tags: Array
         
     | 
| 
      
 1842 
     | 
    
         
            +
                    # @param Type: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
         
     | 
| 
      
 1843 
     | 
    
         
            +
                    # 需要发送通知的告警类型。可选值:
         
     | 
| 
       1786 
1844 
     | 
    
         
             
                    # - Trigger - 告警触发
         
     | 
| 
       1787 
1845 
     | 
    
         
             
                    # - Recovery - 告警恢复
         
     | 
| 
       1788 
1846 
     | 
    
         
             
                    # - All - 告警触发和告警恢复
         
     | 
| 
       1789 
     | 
    
         
            -
             
     | 
| 
       1790 
     | 
    
         
            -
             
     | 
| 
       1791 
     | 
    
         
            -
                    #  注意:
         
     | 
| 
       1792 
     | 
    
         
            -
                    # - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
         
     | 
| 
       1793 
     | 
    
         
            -
                    # - 2组rule配置互斥
         
     | 
| 
       1794 
     | 
    
         
            -
                    # - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
         
     | 
| 
       1795 
1847 
     | 
    
         
             
                    # @type Type: String
         
     | 
| 
       1796 
     | 
    
         
            -
                    # @param NoticeReceivers:  
     | 
| 
       1797 
     | 
    
         
            -
                    # 
     | 
| 
       1798 
     | 
    
         
            -
                    # - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
         
     | 
| 
       1799 
     | 
    
         
            -
                    # - 2组rule配置互斥
         
     | 
| 
       1800 
     | 
    
         
            -
                    # - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
         
     | 
| 
      
 1848 
     | 
    
         
            +
                    # @param NoticeReceivers: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
         
     | 
| 
      
 1849 
     | 
    
         
            +
                    # 通知接收对象。
         
     | 
| 
       1801 
1850 
     | 
    
         
             
                    # @type NoticeReceivers: Array
         
     | 
| 
       1802 
     | 
    
         
            -
                    # @param WebCallbacks:  
     | 
| 
       1803 
     | 
    
         
            -
                    # 
     | 
| 
       1804 
     | 
    
         
            -
                    # - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
         
     | 
| 
       1805 
     | 
    
         
            -
                    # - 2组rule配置互斥
         
     | 
| 
       1806 
     | 
    
         
            -
                    # - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
         
     | 
| 
      
 1851 
     | 
    
         
            +
                    # @param WebCallbacks: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
         
     | 
| 
      
 1852 
     | 
    
         
            +
                    # 接口回调信息(包括企业微信、钉钉、飞书)。
         
     | 
| 
       1807 
1853 
     | 
    
         
             
                    # @type WebCallbacks: Array
         
     | 
| 
       1808 
     | 
    
         
            -
                    # @param NoticeRules:  
     | 
| 
       1809 
     | 
    
         
            -
                    # 
     | 
| 
       1810 
     | 
    
         
            -
                    # - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
         
     | 
| 
       1811 
     | 
    
         
            -
                    # - 2组rule配置互斥
         
     | 
| 
       1812 
     | 
    
         
            -
                    # - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
         
     | 
| 
       1813 
     | 
    
         
            -
             
     | 
| 
      
 1854 
     | 
    
         
            +
                    # @param NoticeRules: 【高级模式】(简易模式/告警模式二选一,分别配置相应参数)
         
     | 
| 
      
 1855 
     | 
    
         
            +
                    # 通知规则。
         
     | 
| 
       1814 
1856 
     | 
    
         
             
                    # @type NoticeRules: Array
         
     | 
| 
       1815 
     | 
    
         
            -
             
     | 
| 
       1816 
     | 
    
         
            -
                     
     | 
| 
       1817 
     | 
    
         
            -
             
     | 
| 
       1818 
     | 
    
         
            -
                     
     | 
| 
      
 1857 
     | 
    
         
            +
                    # @param JumpDomain: 查询数据链接。http:// 或者 https:// 开头,不能/结尾
         
     | 
| 
      
 1858 
     | 
    
         
            +
                    # @type JumpDomain: String
         
     | 
| 
      
 1859 
     | 
    
         
            +
                    # @param DeliverStatus: 投递日志开关。可取值如下:
         
     | 
| 
      
 1860 
     | 
    
         
            +
                    # 1:关闭(默认值);
         
     | 
| 
      
 1861 
     | 
    
         
            +
                    # 2:开启
         
     | 
| 
      
 1862 
     | 
    
         
            +
                    # 投递日志开关开启时, DeliverConfig参数必填。
         
     | 
| 
      
 1863 
     | 
    
         
            +
                    # @type DeliverStatus: Integer
         
     | 
| 
      
 1864 
     | 
    
         
            +
                    # @param DeliverConfig: 投递日志配置参数。当DeliverStatus开启时,必填。
         
     | 
| 
      
 1865 
     | 
    
         
            +
                    # @type DeliverConfig: :class:`Tencentcloud::Cls.v20201016.models.DeliverConfig`
         
     | 
| 
      
 1866 
     | 
    
         
            +
                    # @param AlarmShieldStatus: 免登录操作告警开关。可取值如下:
         
     | 
| 
      
 1867 
     | 
    
         
            +
                    # -      1:关闭
         
     | 
| 
      
 1868 
     | 
    
         
            +
                    # -      2:开启(默认值)
         
     | 
| 
      
 1869 
     | 
    
         
            +
                    # @type AlarmShieldStatus: Integer
         
     | 
| 
      
 1870 
     | 
    
         
            +
             
     | 
| 
      
 1871 
     | 
    
         
            +
                    attr_accessor :Name, :Tags, :Type, :NoticeReceivers, :WebCallbacks, :NoticeRules, :JumpDomain, :DeliverStatus, :DeliverConfig, :AlarmShieldStatus
         
     | 
| 
      
 1872 
     | 
    
         
            +
             
     | 
| 
      
 1873 
     | 
    
         
            +
                    def initialize(name=nil, tags=nil, type=nil, noticereceivers=nil, webcallbacks=nil, noticerules=nil, jumpdomain=nil, deliverstatus=nil, deliverconfig=nil, alarmshieldstatus=nil)
         
     | 
| 
       1819 
1874 
     | 
    
         
             
                      @Name = name
         
     | 
| 
      
 1875 
     | 
    
         
            +
                      @Tags = tags
         
     | 
| 
       1820 
1876 
     | 
    
         
             
                      @Type = type
         
     | 
| 
       1821 
1877 
     | 
    
         
             
                      @NoticeReceivers = noticereceivers
         
     | 
| 
       1822 
1878 
     | 
    
         
             
                      @WebCallbacks = webcallbacks
         
     | 
| 
       1823 
1879 
     | 
    
         
             
                      @NoticeRules = noticerules
         
     | 
| 
      
 1880 
     | 
    
         
            +
                      @JumpDomain = jumpdomain
         
     | 
| 
      
 1881 
     | 
    
         
            +
                      @DeliverStatus = deliverstatus
         
     | 
| 
      
 1882 
     | 
    
         
            +
                      @DeliverConfig = deliverconfig
         
     | 
| 
      
 1883 
     | 
    
         
            +
                      @AlarmShieldStatus = alarmshieldstatus
         
     | 
| 
       1824 
1884 
     | 
    
         
             
                    end
         
     | 
| 
       1825 
1885 
     | 
    
         | 
| 
       1826 
1886 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
       1827 
1887 
     | 
    
         
             
                      @Name = params['Name']
         
     | 
| 
      
 1888 
     | 
    
         
            +
                      unless params['Tags'].nil?
         
     | 
| 
      
 1889 
     | 
    
         
            +
                        @Tags = []
         
     | 
| 
      
 1890 
     | 
    
         
            +
                        params['Tags'].each do |i|
         
     | 
| 
      
 1891 
     | 
    
         
            +
                          tag_tmp = Tag.new
         
     | 
| 
      
 1892 
     | 
    
         
            +
                          tag_tmp.deserialize(i)
         
     | 
| 
      
 1893 
     | 
    
         
            +
                          @Tags << tag_tmp
         
     | 
| 
      
 1894 
     | 
    
         
            +
                        end
         
     | 
| 
      
 1895 
     | 
    
         
            +
                      end
         
     | 
| 
       1828 
1896 
     | 
    
         
             
                      @Type = params['Type']
         
     | 
| 
       1829 
1897 
     | 
    
         
             
                      unless params['NoticeReceivers'].nil?
         
     | 
| 
       1830 
1898 
     | 
    
         
             
                        @NoticeReceivers = []
         
     | 
| 
         @@ -1850,6 +1918,13 @@ module TencentCloud 
     | 
|
| 
       1850 
1918 
     | 
    
         
             
                          @NoticeRules << noticerule_tmp
         
     | 
| 
       1851 
1919 
     | 
    
         
             
                        end
         
     | 
| 
       1852 
1920 
     | 
    
         
             
                      end
         
     | 
| 
      
 1921 
     | 
    
         
            +
                      @JumpDomain = params['JumpDomain']
         
     | 
| 
      
 1922 
     | 
    
         
            +
                      @DeliverStatus = params['DeliverStatus']
         
     | 
| 
      
 1923 
     | 
    
         
            +
                      unless params['DeliverConfig'].nil?
         
     | 
| 
      
 1924 
     | 
    
         
            +
                        @DeliverConfig = DeliverConfig.new
         
     | 
| 
      
 1925 
     | 
    
         
            +
                        @DeliverConfig.deserialize(params['DeliverConfig'])
         
     | 
| 
      
 1926 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1927 
     | 
    
         
            +
                      @AlarmShieldStatus = params['AlarmShieldStatus']
         
     | 
| 
       1853 
1928 
     | 
    
         
             
                    end
         
     | 
| 
       1854 
1929 
     | 
    
         
             
                  end
         
     | 
| 
       1855 
1930 
     | 
    
         | 
| 
         @@ -4407,6 +4482,42 @@ module TencentCloud 
     | 
|
| 
       4407 
4482 
     | 
    
         
             
                    end
         
     | 
| 
       4408 
4483 
     | 
    
         
             
                  end
         
     | 
| 
       4409 
4484 
     | 
    
         | 
| 
      
 4485 
     | 
    
         
            +
                  # 投递配置入参
         
     | 
| 
      
 4486 
     | 
    
         
            +
                  class DeliverConfig < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 4487 
     | 
    
         
            +
                    # @param Region: 地域信息。
         
     | 
| 
      
 4488 
     | 
    
         
            +
             
     | 
| 
      
 4489 
     | 
    
         
            +
                    # 示例:
         
     | 
| 
      
 4490 
     | 
    
         
            +
                    #  ap-guangzhou  广州地域;
         
     | 
| 
      
 4491 
     | 
    
         
            +
                    # ap-nanjing 南京地域。
         
     | 
| 
      
 4492 
     | 
    
         
            +
             
     | 
| 
      
 4493 
     | 
    
         
            +
                    # 详细信息请查看官网:
         
     | 
| 
      
 4494 
     | 
    
         
            +
             
     | 
| 
      
 4495 
     | 
    
         
            +
                    # https://cloud.tencent.com/document/product/614/18940
         
     | 
| 
      
 4496 
     | 
    
         
            +
                    # @type Region: String
         
     | 
| 
      
 4497 
     | 
    
         
            +
                    # @param TopicId: 日志主题ID。
         
     | 
| 
      
 4498 
     | 
    
         
            +
                    # @type TopicId: String
         
     | 
| 
      
 4499 
     | 
    
         
            +
                    # @param Scope: 投递数据范围。
         
     | 
| 
      
 4500 
     | 
    
         
            +
             
     | 
| 
      
 4501 
     | 
    
         
            +
                    # 0: 全部日志, 包括告警策略日常周期执行的所有日志,也包括告警策略变更产生的日志,默认值
         
     | 
| 
      
 4502 
     | 
    
         
            +
             
     | 
| 
      
 4503 
     | 
    
         
            +
                    # 1:仅告警触发及恢复日志
         
     | 
| 
      
 4504 
     | 
    
         
            +
                    # @type Scope: Integer
         
     | 
| 
      
 4505 
     | 
    
         
            +
             
     | 
| 
      
 4506 
     | 
    
         
            +
                    attr_accessor :Region, :TopicId, :Scope
         
     | 
| 
      
 4507 
     | 
    
         
            +
             
     | 
| 
      
 4508 
     | 
    
         
            +
                    def initialize(region=nil, topicid=nil, scope=nil)
         
     | 
| 
      
 4509 
     | 
    
         
            +
                      @Region = region
         
     | 
| 
      
 4510 
     | 
    
         
            +
                      @TopicId = topicid
         
     | 
| 
      
 4511 
     | 
    
         
            +
                      @Scope = scope
         
     | 
| 
      
 4512 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4513 
     | 
    
         
            +
             
     | 
| 
      
 4514 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 4515 
     | 
    
         
            +
                      @Region = params['Region']
         
     | 
| 
      
 4516 
     | 
    
         
            +
                      @TopicId = params['TopicId']
         
     | 
| 
      
 4517 
     | 
    
         
            +
                      @Scope = params['Scope']
         
     | 
| 
      
 4518 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4519 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4520 
     | 
    
         
            +
             
     | 
| 
       4410 
4521 
     | 
    
         
             
                  # DescribeAlarmNotices请求参数结构体
         
     | 
| 
       4411 
4522 
     | 
    
         
             
                  class DescribeAlarmNoticesRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       4412 
4523 
     | 
    
         
             
                    # @param Filters: <li> name
         
     | 
| 
         @@ -6426,6 +6537,66 @@ module TencentCloud 
     | 
|
| 
       6426 
6537 
     | 
    
         
             
                    end
         
     | 
| 
       6427 
6538 
     | 
    
         
             
                  end
         
     | 
| 
       6428 
6539 
     | 
    
         | 
| 
      
 6540 
     | 
    
         
            +
                  # 升级通知
         
     | 
| 
      
 6541 
     | 
    
         
            +
                  class EscalateNoticeInfo < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 6542 
     | 
    
         
            +
                    # @param NoticeReceivers: 告警通知模板接收者信息。
         
     | 
| 
      
 6543 
     | 
    
         
            +
                    # @type NoticeReceivers: Array
         
     | 
| 
      
 6544 
     | 
    
         
            +
                    # @param WebCallbacks: 告警通知模板回调信息。
         
     | 
| 
      
 6545 
     | 
    
         
            +
                    # @type WebCallbacks: Array
         
     | 
| 
      
 6546 
     | 
    
         
            +
                    # @param Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
         
     | 
| 
      
 6547 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 6548 
     | 
    
         
            +
                    # @type Escalate: Boolean
         
     | 
| 
      
 6549 
     | 
    
         
            +
                    # @param Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
         
     | 
| 
      
 6550 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 6551 
     | 
    
         
            +
                    # @type Interval: Integer
         
     | 
| 
      
 6552 
     | 
    
         
            +
                    # @param Type: 升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
         
     | 
| 
      
 6553 
     | 
    
         
            +
                    # - 无人认领且未恢复:告警没有恢复并且没有人认领则升级
         
     | 
| 
      
 6554 
     | 
    
         
            +
                    # - 未恢复:当前告警持续未恢复则升级
         
     | 
| 
      
 6555 
     | 
    
         
            +
             
     | 
| 
      
 6556 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 6557 
     | 
    
         
            +
                    # @type Type: Integer
         
     | 
| 
      
 6558 
     | 
    
         
            +
                    # @param EscalateNotice: 告警升级后下一个环节的通知渠道配置,最多可配置5个环节。
         
     | 
| 
      
 6559 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 6560 
     | 
    
         
            +
                    # @type EscalateNotice: :class:`Tencentcloud::Cls.v20201016.models.EscalateNoticeInfo`
         
     | 
| 
      
 6561 
     | 
    
         
            +
             
     | 
| 
      
 6562 
     | 
    
         
            +
                    attr_accessor :NoticeReceivers, :WebCallbacks, :Escalate, :Interval, :Type, :EscalateNotice
         
     | 
| 
      
 6563 
     | 
    
         
            +
             
     | 
| 
      
 6564 
     | 
    
         
            +
                    def initialize(noticereceivers=nil, webcallbacks=nil, escalate=nil, interval=nil, type=nil, escalatenotice=nil)
         
     | 
| 
      
 6565 
     | 
    
         
            +
                      @NoticeReceivers = noticereceivers
         
     | 
| 
      
 6566 
     | 
    
         
            +
                      @WebCallbacks = webcallbacks
         
     | 
| 
      
 6567 
     | 
    
         
            +
                      @Escalate = escalate
         
     | 
| 
      
 6568 
     | 
    
         
            +
                      @Interval = interval
         
     | 
| 
      
 6569 
     | 
    
         
            +
                      @Type = type
         
     | 
| 
      
 6570 
     | 
    
         
            +
                      @EscalateNotice = escalatenotice
         
     | 
| 
      
 6571 
     | 
    
         
            +
                    end
         
     | 
| 
      
 6572 
     | 
    
         
            +
             
     | 
| 
      
 6573 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 6574 
     | 
    
         
            +
                      unless params['NoticeReceivers'].nil?
         
     | 
| 
      
 6575 
     | 
    
         
            +
                        @NoticeReceivers = []
         
     | 
| 
      
 6576 
     | 
    
         
            +
                        params['NoticeReceivers'].each do |i|
         
     | 
| 
      
 6577 
     | 
    
         
            +
                          noticereceiver_tmp = NoticeReceiver.new
         
     | 
| 
      
 6578 
     | 
    
         
            +
                          noticereceiver_tmp.deserialize(i)
         
     | 
| 
      
 6579 
     | 
    
         
            +
                          @NoticeReceivers << noticereceiver_tmp
         
     | 
| 
      
 6580 
     | 
    
         
            +
                        end
         
     | 
| 
      
 6581 
     | 
    
         
            +
                      end
         
     | 
| 
      
 6582 
     | 
    
         
            +
                      unless params['WebCallbacks'].nil?
         
     | 
| 
      
 6583 
     | 
    
         
            +
                        @WebCallbacks = []
         
     | 
| 
      
 6584 
     | 
    
         
            +
                        params['WebCallbacks'].each do |i|
         
     | 
| 
      
 6585 
     | 
    
         
            +
                          webcallback_tmp = WebCallback.new
         
     | 
| 
      
 6586 
     | 
    
         
            +
                          webcallback_tmp.deserialize(i)
         
     | 
| 
      
 6587 
     | 
    
         
            +
                          @WebCallbacks << webcallback_tmp
         
     | 
| 
      
 6588 
     | 
    
         
            +
                        end
         
     | 
| 
      
 6589 
     | 
    
         
            +
                      end
         
     | 
| 
      
 6590 
     | 
    
         
            +
                      @Escalate = params['Escalate']
         
     | 
| 
      
 6591 
     | 
    
         
            +
                      @Interval = params['Interval']
         
     | 
| 
      
 6592 
     | 
    
         
            +
                      @Type = params['Type']
         
     | 
| 
      
 6593 
     | 
    
         
            +
                      unless params['EscalateNotice'].nil?
         
     | 
| 
      
 6594 
     | 
    
         
            +
                        @EscalateNotice = EscalateNoticeInfo.new
         
     | 
| 
      
 6595 
     | 
    
         
            +
                        @EscalateNotice.deserialize(params['EscalateNotice'])
         
     | 
| 
      
 6596 
     | 
    
         
            +
                      end
         
     | 
| 
      
 6597 
     | 
    
         
            +
                    end
         
     | 
| 
      
 6598 
     | 
    
         
            +
                  end
         
     | 
| 
      
 6599 
     | 
    
         
            +
             
     | 
| 
       6429 
6600 
     | 
    
         
             
                  # Windows事件日志采集配置
         
     | 
| 
       6430 
6601 
     | 
    
         
             
                  class EventLog < TencentCloud::Common::AbstractModel
         
     | 
| 
       6431 
6602 
     | 
    
         
             
                    # @param EventChannel: 事件通道,支持Application,Security,Setup,System,ALL
         
     | 
| 
         @@ -9502,50 +9673,44 @@ module TencentCloud 
     | 
|
| 
       9502 
9673 
     | 
    
         
             
                    # - WeChat - 微信
         
     | 
| 
       9503 
9674 
     | 
    
         
             
                    # - Phone - 电话
         
     | 
| 
       9504 
9675 
     | 
    
         
             
                    # @type ReceiverChannels: Array
         
     | 
| 
       9505 
     | 
    
         
            -
                    # @param  
     | 
| 
      
 9676 
     | 
    
         
            +
                    # @param NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
         
     | 
| 
      
 9677 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9678 
     | 
    
         
            +
                    # @type NoticeContentId: String
         
     | 
| 
      
 9679 
     | 
    
         
            +
                    # @param StartTime: 允许接收信息的开始时间。格式:`15:04:05`。必填
         
     | 
| 
       9506 
9680 
     | 
    
         
             
                    # @type StartTime: String
         
     | 
| 
       9507 
     | 
    
         
            -
                    # @param EndTime: 允许接收信息的结束时间。格式:`15:04:05 
     | 
| 
      
 9681 
     | 
    
         
            +
                    # @param EndTime: 允许接收信息的结束时间。格式:`15:04:05`。必填
         
     | 
| 
       9508 
9682 
     | 
    
         
             
                    # @type EndTime: String
         
     | 
| 
       9509 
9683 
     | 
    
         
             
                    # @param Index: 位序。
         
     | 
| 
       9510 
9684 
     | 
    
         | 
| 
       9511 
9685 
     | 
    
         
             
                    # - 入参时无效。
         
     | 
| 
       9512 
9686 
     | 
    
         
             
                    # - 出参时有效。
         
     | 
| 
       9513 
9687 
     | 
    
         
             
                    # @type Index: Integer
         
     | 
| 
       9514 
     | 
    
         
            -
                    # @param NoticeContentId: 通知内容模板ID。
         
     | 
| 
       9515 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       9516 
     | 
    
         
            -
                    # @type NoticeContentId: String
         
     | 
| 
       9517 
9688 
     | 
    
         | 
| 
       9518 
     | 
    
         
            -
                    attr_accessor :ReceiverType, :ReceiverIds, :ReceiverChannels, :StartTime, :EndTime, :Index 
     | 
| 
      
 9689 
     | 
    
         
            +
                    attr_accessor :ReceiverType, :ReceiverIds, :ReceiverChannels, :NoticeContentId, :StartTime, :EndTime, :Index
         
     | 
| 
       9519 
9690 
     | 
    
         | 
| 
       9520 
     | 
    
         
            -
                    def initialize(receivertype=nil, receiverids=nil, receiverchannels=nil,  
     | 
| 
      
 9691 
     | 
    
         
            +
                    def initialize(receivertype=nil, receiverids=nil, receiverchannels=nil, noticecontentid=nil, starttime=nil, endtime=nil, index=nil)
         
     | 
| 
       9521 
9692 
     | 
    
         
             
                      @ReceiverType = receivertype
         
     | 
| 
       9522 
9693 
     | 
    
         
             
                      @ReceiverIds = receiverids
         
     | 
| 
       9523 
9694 
     | 
    
         
             
                      @ReceiverChannels = receiverchannels
         
     | 
| 
      
 9695 
     | 
    
         
            +
                      @NoticeContentId = noticecontentid
         
     | 
| 
       9524 
9696 
     | 
    
         
             
                      @StartTime = starttime
         
     | 
| 
       9525 
9697 
     | 
    
         
             
                      @EndTime = endtime
         
     | 
| 
       9526 
9698 
     | 
    
         
             
                      @Index = index
         
     | 
| 
       9527 
     | 
    
         
            -
                      @NoticeContentId = noticecontentid
         
     | 
| 
       9528 
9699 
     | 
    
         
             
                    end
         
     | 
| 
       9529 
9700 
     | 
    
         | 
| 
       9530 
9701 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
       9531 
9702 
     | 
    
         
             
                      @ReceiverType = params['ReceiverType']
         
     | 
| 
       9532 
9703 
     | 
    
         
             
                      @ReceiverIds = params['ReceiverIds']
         
     | 
| 
       9533 
9704 
     | 
    
         
             
                      @ReceiverChannels = params['ReceiverChannels']
         
     | 
| 
      
 9705 
     | 
    
         
            +
                      @NoticeContentId = params['NoticeContentId']
         
     | 
| 
       9534 
9706 
     | 
    
         
             
                      @StartTime = params['StartTime']
         
     | 
| 
       9535 
9707 
     | 
    
         
             
                      @EndTime = params['EndTime']
         
     | 
| 
       9536 
9708 
     | 
    
         
             
                      @Index = params['Index']
         
     | 
| 
       9537 
     | 
    
         
            -
                      @NoticeContentId = params['NoticeContentId']
         
     | 
| 
       9538 
9709 
     | 
    
         
             
                    end
         
     | 
| 
       9539 
9710 
     | 
    
         
             
                  end
         
     | 
| 
       9540 
9711 
     | 
    
         | 
| 
       9541 
9712 
     | 
    
         
             
                  # 通知规则
         
     | 
| 
       9542 
9713 
     | 
    
         
             
                  class NoticeRule < TencentCloud::Common::AbstractModel
         
     | 
| 
       9543 
     | 
    
         
            -
                    # @param NoticeReceivers: 告警通知模板接收者信息。
         
     | 
| 
       9544 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       9545 
     | 
    
         
            -
                    # @type NoticeReceivers: Array
         
     | 
| 
       9546 
     | 
    
         
            -
                    # @param WebCallbacks: 告警通知模板回调信息。
         
     | 
| 
       9547 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       9548 
     | 
    
         
            -
                    # @type WebCallbacks: Array
         
     | 
| 
       9549 
9714 
     | 
    
         
             
                    # @param Rule: 匹配规则 JSON串。
         
     | 
| 
       9550 
9715 
     | 
    
         
             
                    # **rule规则树格式为嵌套结构体JSON字符串**
         
     | 
| 
       9551 
9716 
     | 
    
         
             
                    # `{"Value":"AND","Type":"Operation","Children":[{"Value":"OR","Type":"Operation","Children":[{"Type":"Condition","Value":"Level","Children":[{"Value":"In","Type":"Compare"},{"Value":"[1,0]","Type":"Value"}]},{"Type":"Condition","Value":"Level","Children":[{"Value":"NotIn","Type":"Compare"},{"Value":"[2]","Type":"Value"}]}]}]}`
         
     | 
| 
         @@ -9606,16 +9771,42 @@ module TencentCloud 
     | 
|
| 
       9606 
9771 
     | 
    
         
             
                    # `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
         
     | 
| 
       9607 
9772 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       9608 
9773 
     | 
    
         
             
                    # @type Rule: String
         
     | 
| 
      
 9774 
     | 
    
         
            +
                    # @param NoticeReceivers: 告警通知接收者信息。
         
     | 
| 
      
 9775 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9776 
     | 
    
         
            +
                    # @type NoticeReceivers: Array
         
     | 
| 
      
 9777 
     | 
    
         
            +
                    # @param WebCallbacks: 告警通知模板回调信息,包括企业微信、钉钉、飞书。
         
     | 
| 
      
 9778 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9779 
     | 
    
         
            +
                    # @type WebCallbacks: Array
         
     | 
| 
      
 9780 
     | 
    
         
            +
                    # @param Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
         
     | 
| 
      
 9781 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9782 
     | 
    
         
            +
                    # @type Escalate: Boolean
         
     | 
| 
      
 9783 
     | 
    
         
            +
                    # @param Type: 告警升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
         
     | 
| 
      
 9784 
     | 
    
         
            +
                    # - 无人认领且未恢复:告警没有恢复并且没有人认领则升级
         
     | 
| 
      
 9785 
     | 
    
         
            +
                    # - 未恢复:当前告警持续未恢复则升级
         
     | 
| 
       9609 
9786 
     | 
    
         | 
| 
       9610 
     | 
    
         
            -
                     
     | 
| 
      
 9787 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9788 
     | 
    
         
            +
                    # @type Type: Integer
         
     | 
| 
      
 9789 
     | 
    
         
            +
                    # @param Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
         
     | 
| 
      
 9790 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9791 
     | 
    
         
            +
                    # @type Interval: Integer
         
     | 
| 
      
 9792 
     | 
    
         
            +
                    # @param EscalateNotice: 告警升级后下一个环节的通知渠道配置
         
     | 
| 
      
 9793 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 9794 
     | 
    
         
            +
                    # @type EscalateNotice: :class:`Tencentcloud::Cls.v20201016.models.EscalateNoticeInfo`
         
     | 
| 
      
 9795 
     | 
    
         
            +
             
     | 
| 
      
 9796 
     | 
    
         
            +
                    attr_accessor :Rule, :NoticeReceivers, :WebCallbacks, :Escalate, :Type, :Interval, :EscalateNotice
         
     | 
| 
       9611 
9797 
     | 
    
         | 
| 
       9612 
     | 
    
         
            -
                    def initialize(noticereceivers=nil, webcallbacks=nil,  
     | 
| 
      
 9798 
     | 
    
         
            +
                    def initialize(rule=nil, noticereceivers=nil, webcallbacks=nil, escalate=nil, type=nil, interval=nil, escalatenotice=nil)
         
     | 
| 
      
 9799 
     | 
    
         
            +
                      @Rule = rule
         
     | 
| 
       9613 
9800 
     | 
    
         
             
                      @NoticeReceivers = noticereceivers
         
     | 
| 
       9614 
9801 
     | 
    
         
             
                      @WebCallbacks = webcallbacks
         
     | 
| 
       9615 
     | 
    
         
            -
                      @ 
     | 
| 
      
 9802 
     | 
    
         
            +
                      @Escalate = escalate
         
     | 
| 
      
 9803 
     | 
    
         
            +
                      @Type = type
         
     | 
| 
      
 9804 
     | 
    
         
            +
                      @Interval = interval
         
     | 
| 
      
 9805 
     | 
    
         
            +
                      @EscalateNotice = escalatenotice
         
     | 
| 
       9616 
9806 
     | 
    
         
             
                    end
         
     | 
| 
       9617 
9807 
     | 
    
         | 
| 
       9618 
9808 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
      
 9809 
     | 
    
         
            +
                      @Rule = params['Rule']
         
     | 
| 
       9619 
9810 
     | 
    
         
             
                      unless params['NoticeReceivers'].nil?
         
     | 
| 
       9620 
9811 
     | 
    
         
             
                        @NoticeReceivers = []
         
     | 
| 
       9621 
9812 
     | 
    
         
             
                        params['NoticeReceivers'].each do |i|
         
     | 
| 
         @@ -9632,7 +9823,13 @@ module TencentCloud 
     | 
|
| 
       9632 
9823 
     | 
    
         
             
                          @WebCallbacks << webcallback_tmp
         
     | 
| 
       9633 
9824 
     | 
    
         
             
                        end
         
     | 
| 
       9634 
9825 
     | 
    
         
             
                      end
         
     | 
| 
       9635 
     | 
    
         
            -
                      @ 
     | 
| 
      
 9826 
     | 
    
         
            +
                      @Escalate = params['Escalate']
         
     | 
| 
      
 9827 
     | 
    
         
            +
                      @Type = params['Type']
         
     | 
| 
      
 9828 
     | 
    
         
            +
                      @Interval = params['Interval']
         
     | 
| 
      
 9829 
     | 
    
         
            +
                      unless params['EscalateNotice'].nil?
         
     | 
| 
      
 9830 
     | 
    
         
            +
                        @EscalateNotice = EscalateNoticeInfo.new
         
     | 
| 
      
 9831 
     | 
    
         
            +
                        @EscalateNotice.deserialize(params['EscalateNotice'])
         
     | 
| 
      
 9832 
     | 
    
         
            +
                      end
         
     | 
| 
       9636 
9833 
     | 
    
         
             
                    end
         
     | 
| 
       9637 
9834 
     | 
    
         
             
                  end
         
     | 
| 
       9638 
9835 
     | 
    
         | 
| 
         @@ -11208,63 +11405,79 @@ module TencentCloud 
     | 
|
| 
       11208 
11405 
     | 
    
         | 
| 
       11209 
11406 
     | 
    
         
             
                  # 回调地址
         
     | 
| 
       11210 
11407 
     | 
    
         
             
                  class WebCallback < TencentCloud::Common::AbstractModel
         
     | 
| 
       11211 
     | 
    
         
            -
                    # @param Url: 回调地址。最大支持1024个字节数。
         
     | 
| 
       11212 
     | 
    
         
            -
                    # @type Url: String
         
     | 
| 
       11213 
11408 
     | 
    
         
             
                    # @param CallbackType: 回调的类型。可选值:
         
     | 
| 
       11214 
     | 
    
         
            -
                    # - WeCom
         
     | 
| 
       11215 
11409 
     | 
    
         
             
                    # - Http
         
     | 
| 
      
 11410 
     | 
    
         
            +
                    # - WeCom
         
     | 
| 
       11216 
11411 
     | 
    
         
             
                    # - DingTalk
         
     | 
| 
       11217 
11412 
     | 
    
         
             
                    # - Lark
         
     | 
| 
       11218 
11413 
     | 
    
         
             
                    # @type CallbackType: String
         
     | 
| 
      
 11414 
     | 
    
         
            +
                    # @param Url: 回调地址,最大支持1024个字节。
         
     | 
| 
      
 11415 
     | 
    
         
            +
                    # 也可使用WebCallbackId引用集成配置中的URL,此时该字段请填写为空字符串。
         
     | 
| 
      
 11416 
     | 
    
         
            +
                    # @type Url: String
         
     | 
| 
      
 11417 
     | 
    
         
            +
                    # @param WebCallbackId: 集成配置ID。
         
     | 
| 
      
 11418 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 11419 
     | 
    
         
            +
                    # @type WebCallbackId: String
         
     | 
| 
       11219 
11420 
     | 
    
         
             
                    # @param Method: 回调方法。可选值:
         
     | 
| 
       11220 
11421 
     | 
    
         
             
                    # - POST(默认值)
         
     | 
| 
       11221 
11422 
     | 
    
         
             
                    # - PUT
         
     | 
| 
       11222 
11423 
     | 
    
         | 
| 
       11223 
11424 
     | 
    
         
             
                    # 注意:
         
     | 
| 
       11224 
     | 
    
         
            -
                    # - 参数CallbackType为Http 
     | 
| 
      
 11425 
     | 
    
         
            +
                    # - 参数CallbackType为Http时为必选,其它回调方式无需填写。
         
     | 
| 
       11225 
11426 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       11226 
11427 
     | 
    
         
             
                    # @type Method: String
         
     | 
| 
       11227 
     | 
    
         
            -
                    # @param  
     | 
| 
       11228 
     | 
    
         
            -
                    #  
     | 
| 
      
 11428 
     | 
    
         
            +
                    # @param NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
         
     | 
| 
      
 11429 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 11430 
     | 
    
         
            +
                    # @type NoticeContentId: String
         
     | 
| 
      
 11431 
     | 
    
         
            +
                    # @param RemindType: 提醒类型。
         
     | 
| 
      
 11432 
     | 
    
         
            +
             
     | 
| 
      
 11433 
     | 
    
         
            +
                    # 0:不提醒;1:指定人;2:所有人
         
     | 
| 
      
 11434 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 11435 
     | 
    
         
            +
                    # @type RemindType: Integer
         
     | 
| 
      
 11436 
     | 
    
         
            +
                    # @param Mobiles: 电话列表。
         
     | 
| 
      
 11437 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 11438 
     | 
    
         
            +
                    # @type Mobiles: Array
         
     | 
| 
      
 11439 
     | 
    
         
            +
                    # @param UserIds: 用户ID列表。
         
     | 
| 
      
 11440 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 11441 
     | 
    
         
            +
                    # @type UserIds: Array
         
     | 
| 
      
 11442 
     | 
    
         
            +
                    # @param Headers: 该参数已废弃,请使用NoticeContentId。
         
     | 
| 
       11229 
11443 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       11230 
11444 
     | 
    
         
             
                    # @type Headers: Array
         
     | 
| 
       11231 
     | 
    
         
            -
                    # @param Body:  
     | 
| 
       11232 
     | 
    
         
            -
                    # 注意:该参数已废弃,请使用NoticeContentId。
         
     | 
| 
      
 11445 
     | 
    
         
            +
                    # @param Body: 该参数已废弃,请使用NoticeContentId。
         
     | 
| 
       11233 
11446 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       11234 
11447 
     | 
    
         
             
                    # @type Body: String
         
     | 
| 
       11235 
11448 
     | 
    
         
             
                    # @param Index: 序号。
         
     | 
| 
       11236 
11449 
     | 
    
         
             
                    # - 入参无效。
         
     | 
| 
       11237 
11450 
     | 
    
         
             
                    # - 出参有效。
         
     | 
| 
       11238 
11451 
     | 
    
         
             
                    # @type Index: Integer
         
     | 
| 
       11239 
     | 
    
         
            -
                    # @param NoticeContentId: 通知内容模板ID。
         
     | 
| 
       11240 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       11241 
     | 
    
         
            -
                    # @type NoticeContentId: String
         
     | 
| 
       11242 
     | 
    
         
            -
                    # @param WebCallbackId: 集成配置ID。
         
     | 
| 
       11243 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       11244 
     | 
    
         
            -
                    # @type WebCallbackId: String
         
     | 
| 
       11245 
11452 
     | 
    
         | 
| 
       11246 
     | 
    
         
            -
                    attr_accessor :Url, : 
     | 
| 
      
 11453 
     | 
    
         
            +
                    attr_accessor :CallbackType, :Url, :WebCallbackId, :Method, :NoticeContentId, :RemindType, :Mobiles, :UserIds, :Headers, :Body, :Index
         
     | 
| 
       11247 
11454 
     | 
    
         | 
| 
       11248 
     | 
    
         
            -
                    def initialize(url=nil,  
     | 
| 
       11249 
     | 
    
         
            -
                      @Url = url
         
     | 
| 
      
 11455 
     | 
    
         
            +
                    def initialize(callbacktype=nil, url=nil, webcallbackid=nil, method=nil, noticecontentid=nil, remindtype=nil, mobiles=nil, userids=nil, headers=nil, body=nil, index=nil)
         
     | 
| 
       11250 
11456 
     | 
    
         
             
                      @CallbackType = callbacktype
         
     | 
| 
      
 11457 
     | 
    
         
            +
                      @Url = url
         
     | 
| 
      
 11458 
     | 
    
         
            +
                      @WebCallbackId = webcallbackid
         
     | 
| 
       11251 
11459 
     | 
    
         
             
                      @Method = method
         
     | 
| 
      
 11460 
     | 
    
         
            +
                      @NoticeContentId = noticecontentid
         
     | 
| 
      
 11461 
     | 
    
         
            +
                      @RemindType = remindtype
         
     | 
| 
      
 11462 
     | 
    
         
            +
                      @Mobiles = mobiles
         
     | 
| 
      
 11463 
     | 
    
         
            +
                      @UserIds = userids
         
     | 
| 
       11252 
11464 
     | 
    
         
             
                      @Headers = headers
         
     | 
| 
       11253 
11465 
     | 
    
         
             
                      @Body = body
         
     | 
| 
       11254 
11466 
     | 
    
         
             
                      @Index = index
         
     | 
| 
       11255 
     | 
    
         
            -
                      @NoticeContentId = noticecontentid
         
     | 
| 
       11256 
     | 
    
         
            -
                      @WebCallbackId = webcallbackid
         
     | 
| 
       11257 
11467 
     | 
    
         
             
                    end
         
     | 
| 
       11258 
11468 
     | 
    
         | 
| 
       11259 
11469 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
       11260 
     | 
    
         
            -
                      @Url = params['Url']
         
     | 
| 
       11261 
11470 
     | 
    
         
             
                      @CallbackType = params['CallbackType']
         
     | 
| 
      
 11471 
     | 
    
         
            +
                      @Url = params['Url']
         
     | 
| 
      
 11472 
     | 
    
         
            +
                      @WebCallbackId = params['WebCallbackId']
         
     | 
| 
       11262 
11473 
     | 
    
         
             
                      @Method = params['Method']
         
     | 
| 
      
 11474 
     | 
    
         
            +
                      @NoticeContentId = params['NoticeContentId']
         
     | 
| 
      
 11475 
     | 
    
         
            +
                      @RemindType = params['RemindType']
         
     | 
| 
      
 11476 
     | 
    
         
            +
                      @Mobiles = params['Mobiles']
         
     | 
| 
      
 11477 
     | 
    
         
            +
                      @UserIds = params['UserIds']
         
     | 
| 
       11263 
11478 
     | 
    
         
             
                      @Headers = params['Headers']
         
     | 
| 
       11264 
11479 
     | 
    
         
             
                      @Body = params['Body']
         
     | 
| 
       11265 
11480 
     | 
    
         
             
                      @Index = params['Index']
         
     | 
| 
       11266 
     | 
    
         
            -
                      @NoticeContentId = params['NoticeContentId']
         
     | 
| 
       11267 
     | 
    
         
            -
                      @WebCallbackId = params['WebCallbackId']
         
     | 
| 
       11268 
11481 
     | 
    
         
             
                    end
         
     | 
| 
       11269 
11482 
     | 
    
         
             
                  end
         
     | 
| 
       11270 
11483 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-cls
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.932
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024-10- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-10-29 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |