Class: TencentCloud::Cls::V20201016::MonitorTime
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::MonitorTime
- Defined in:
- lib/v20201016/models.rb
Overview
告警策略中监控任务的执行时间点
Instance Attribute Summary collapse
-
#CronExpression ⇒ Object
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。.
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
-
#Time ⇒ Object
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。.
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
-
#Type ⇒ Object
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。.
- Period:固定频率 - Fixed:固定时间 - Cron:Cron表达式 当type为
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, time = nil, cronexpression = nil) ⇒ MonitorTime
constructor
A new instance of MonitorTime.
Constructor Details
#initialize(type = nil, time = nil, cronexpression = nil) ⇒ MonitorTime
Returns a new instance of MonitorTime.
15551 15552 15553 15554 15555 |
# File 'lib/v20201016/models.rb', line 15551 def initialize(type=nil, time=nil, cronexpression=nil) @Type = type @Time = time @CronExpression = cronexpression end |
Instance Attribute Details
#CronExpression ⇒ Object
- Period:固定频率
- Fixed:固定时间
- Cron:Cron表达式
当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。
15549 15550 15551 |
# File 'lib/v20201016/models.rb', line 15549 def CronExpression @CronExpression end |
#Time ⇒ Object
- Period:固定频率
- Fixed:固定时间
- Cron:Cron表达式
当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。
15549 15550 15551 |
# File 'lib/v20201016/models.rb', line 15549 def Time @Time end |
#Type ⇒ Object
- Period:固定频率
- Fixed:固定时间
- Cron:Cron表达式
当type为
Period,Fixed时,time字段生效。 当type为Cron时,CronExpression字段生效。
15549 15550 15551 |
# File 'lib/v20201016/models.rb', line 15549 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
15557 15558 15559 15560 15561 |
# File 'lib/v20201016/models.rb', line 15557 def deserialize(params) @Type = params['Type'] @Time = params['Time'] @CronExpression = params['CronExpression'] end |