Class: TencentCloud::Dayu::V20180709::CreateBasicDDoSAlarmThresholdResponse

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

Overview

CreateBasicDDoSAlarmThreshold返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarmthreshold = nil, alarmtype = nil, requestid = nil) ⇒ CreateBasicDDoSAlarmThresholdResponse

Returns a new instance of CreateBasicDDoSAlarmThresholdResponse.



369
370
371
372
373
# File 'lib/v20180709/models.rb', line 369

def initialize(alarmthreshold=nil, alarmtype=nil, requestid=nil)
  @AlarmThreshold = alarmthreshold
  @AlarmType = alarmtype
  @RequestId = requestid
end

Instance Attribute Details

#AlarmThresholdObject

Parameters:

  • AlarmThreshold:

    当存在告警阈值配置时,返回告警阈值大于0,当不存在告警配置时,返回告警阈值为0;

  • AlarmType:

    告警阈值类型,1-入流量,2-清洗流量;当AlarmThreshold大于0时有效;

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



367
368
369
# File 'lib/v20180709/models.rb', line 367

def AlarmThreshold
  @AlarmThreshold
end

#AlarmTypeObject

Parameters:

  • AlarmThreshold:

    当存在告警阈值配置时,返回告警阈值大于0,当不存在告警配置时,返回告警阈值为0;

  • AlarmType:

    告警阈值类型,1-入流量,2-清洗流量;当AlarmThreshold大于0时有效;

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



367
368
369
# File 'lib/v20180709/models.rb', line 367

def AlarmType
  @AlarmType
end

#RequestIdObject

Parameters:

  • AlarmThreshold:

    当存在告警阈值配置时,返回告警阈值大于0,当不存在告警配置时,返回告警阈值为0;

  • AlarmType:

    告警阈值类型,1-入流量,2-清洗流量;当AlarmThreshold大于0时有效;

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



367
368
369
# File 'lib/v20180709/models.rb', line 367

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



375
376
377
378
379
# File 'lib/v20180709/models.rb', line 375

def deserialize(params)
  @AlarmThreshold = params['AlarmThreshold']
  @AlarmType = params['AlarmType']
  @RequestId = params['RequestId']
end