Class: TencentCloud::Dayu::V20180709::ModifyDDoSThresholdRequest

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

Overview

ModifyDDoSThreshold请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, threshold = nil) ⇒ ModifyDDoSThresholdRequest

Returns a new instance of ModifyDDoSThresholdRequest.



7900
7901
7902
7903
7904
# File 'lib/v20180709/models.rb', line 7900

def initialize(business=nil, id=nil, threshold=nil)
  @Business = business
  @Id = id
  @Threshold = threshold
end

Instance Attribute Details

#BusinessObject

当设置值为0时,表示采用默认值;

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • Threshold:

    DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000];



7898
7899
7900
# File 'lib/v20180709/models.rb', line 7898

def Business
  @Business
end

#IdObject

当设置值为0时,表示采用默认值;

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • Threshold:

    DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000];



7898
7899
7900
# File 'lib/v20180709/models.rb', line 7898

def Id
  @Id
end

#ThresholdObject

当设置值为0时,表示采用默认值;

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • Threshold:

    DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000];



7898
7899
7900
# File 'lib/v20180709/models.rb', line 7898

def Threshold
  @Threshold
end

Instance Method Details

#deserialize(params) ⇒ Object



7906
7907
7908
7909
7910
# File 'lib/v20180709/models.rb', line 7906

def deserialize(params)
  @Business = params['Business']
  @Id = params['Id']
  @Threshold = params['Threshold']
end