Class: TencentCloud::Monitor::V20180724::DescribePolicyGroupInfoReceiverInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180724/models.rb

Overview

查询策略输出的告警接收人信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(receivergrouplist = nil, receiveruserlist = nil, starttime = nil, endtime = nil, receivertype = nil, notifyway = nil, uidlist = nil, roundnumber = nil, roundinterval = nil, personinterval = nil, needsendnotice = nil, sendfor = nil, recovernotify = nil, receivelanguage = nil) ⇒ DescribePolicyGroupInfoReceiverInfo

Returns a new instance of DescribePolicyGroupInfoReceiverInfo.



7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
# File 'lib/v20180724/models.rb', line 7088

def initialize(receivergrouplist=nil, receiveruserlist=nil, starttime=nil, endtime=nil, receivertype=nil, notifyway=nil, uidlist=nil, roundnumber=nil, roundinterval=nil, personinterval=nil, needsendnotice=nil, sendfor=nil, recovernotify=nil, receivelanguage=nil)
  @ReceiverGroupList = receivergrouplist
  @ReceiverUserList = receiveruserlist
  @StartTime = starttime
  @EndTime = endtime
  @ReceiverType = receivertype
  @NotifyWay = notifyway
  @UidList = uidlist
  @RoundNumber = roundnumber
  @RoundInterval = roundinterval
  @PersonInterval = personinterval
  @NeedSendNotice = needsendnotice
  @SendFor = sendfor
  @RecoverNotify = recovernotify
  @ReceiveLanguage = receivelanguage
end

Instance Attribute Details

#EndTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def EndTime
  @EndTime
end

#NeedSendNoticeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def NeedSendNotice
  @NeedSendNotice
end

#NotifyWayObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def NotifyWay
  @NotifyWay
end

#PersonIntervalObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def PersonInterval
  @PersonInterval
end

#ReceiveLanguageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def ReceiveLanguage
  @ReceiveLanguage
end

#ReceiverGroupListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def ReceiverGroupList
  @ReceiverGroupList
end

#ReceiverTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def ReceiverType
  @ReceiverType
end

#ReceiverUserListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def ReceiverUserList
  @ReceiverUserList
end

#RecoverNotifyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def RecoverNotify
  @RecoverNotify
end

#RoundIntervalObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def RoundInterval
  @RoundInterval
end

#RoundNumberObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def RoundNumber
  @RoundNumber
end

#SendForObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def SendFor
  @SendFor
end

#StartTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def StartTime
  @StartTime
end

#UidListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ReceiverGroupList:

    告警接收组id列表

  • ReceiverUserList:

    告警接收人id列表

  • StartTime:

    告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"

  • EndTime:

    告警时间段结束时间。含义同StartTime

  • ReceiverType:

    接收类型。“group”(接收组)或“user”(接收人)

  • NotifyWay:

    告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"

  • UidList:

    电话告警接收者uid

  • RoundNumber:

    电话告警轮数

  • RoundInterval:

    电话告警每轮间隔(秒)

  • PersonInterval:

    电话告警对个人间隔(秒)

  • NeedSendNotice:

    是否需要电话告警触达提示。0不需要,1需要

  • SendFor:

    电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)

  • RecoverNotify:

    恢复通知方式。可选"SMS"

  • ReceiveLanguage:

    告警发送语言



7086
7087
7088
# File 'lib/v20180724/models.rb', line 7086

def UidList
  @UidList
end

Instance Method Details

#deserialize(params) ⇒ Object



7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
# File 'lib/v20180724/models.rb', line 7105

def deserialize(params)
  @ReceiverGroupList = params['ReceiverGroupList']
  @ReceiverUserList = params['ReceiverUserList']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ReceiverType = params['ReceiverType']
  @NotifyWay = params['NotifyWay']
  @UidList = params['UidList']
  @RoundNumber = params['RoundNumber']
  @RoundInterval = params['RoundInterval']
  @PersonInterval = params['PersonInterval']
  @NeedSendNotice = params['NeedSendNotice']
  @SendFor = params['SendFor']
  @RecoverNotify = params['RecoverNotify']
  @ReceiveLanguage = params['ReceiveLanguage']
end