Class: TencentCloud::Dayu::V20180709::ModifyCCAlarmThresholdRequest

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

Overview

ModifyCCAlarmThreshold请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, rsid = nil, alarmthreshold = nil, iplist = nil) ⇒ ModifyCCAlarmThresholdRequest

Returns a new instance of ModifyCCAlarmThresholdRequest.



6667
6668
6669
6670
6671
6672
# File 'lib/v20180709/models.rb', line 6667

def initialize(business=nil, rsid=nil, alarmthreshold=nil, iplist=nil)
  @Business = business
  @RsId = rsid
  @AlarmThreshold = alarmthreshold
  @IpList = iplist
end

Instance Attribute Details

#AlarmThresholdObject

Parameters:

  • Business:

    大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版)

  • RsId:

    资源ID,字符串类型

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值),后台设置默认值为1000

  • IpList:

    资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据



6665
6666
6667
# File 'lib/v20180709/models.rb', line 6665

def AlarmThreshold
  @AlarmThreshold
end

#BusinessObject

Parameters:

  • Business:

    大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版)

  • RsId:

    资源ID,字符串类型

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值),后台设置默认值为1000

  • IpList:

    资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据



6665
6666
6667
# File 'lib/v20180709/models.rb', line 6665

def Business
  @Business
end

#IpListObject

Parameters:

  • Business:

    大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版)

  • RsId:

    资源ID,字符串类型

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值),后台设置默认值为1000

  • IpList:

    资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据



6665
6666
6667
# File 'lib/v20180709/models.rb', line 6665

def IpList
  @IpList
end

#RsIdObject

Parameters:

  • Business:

    大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版)

  • RsId:

    资源ID,字符串类型

  • AlarmThreshold:

    告警阈值,大于0(目前排定的值),后台设置默认值为1000

  • IpList:

    资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据



6665
6666
6667
# File 'lib/v20180709/models.rb', line 6665

def RsId
  @RsId
end

Instance Method Details

#deserialize(params) ⇒ Object



6674
6675
6676
6677
6678
6679
# File 'lib/v20180709/models.rb', line 6674

def deserialize(params)
  @Business = params['Business']
  @RsId = params['RsId']
  @AlarmThreshold = params['AlarmThreshold']
  @IpList = params['IpList']
end