Class: TencentCloud::Cdn::V20180606::ScdnDdosConfig

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

Overview

ddos配置类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ ScdnDdosConfig

Returns a new instance of ScdnDdosConfig.



12059
12060
12061
# File 'lib/v20180606/models.rb', line 12059

def initialize(switch=nil)
  @Switch = switch
end

Instance Attribute Details

#SwitchObject

on:开启 off:关闭

Parameters:

  • Switch:

    Scdn ddos配置开关,取值有:



12057
12058
12059
# File 'lib/v20180606/models.rb', line 12057

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



12063
12064
12065
# File 'lib/v20180606/models.rb', line 12063

def deserialize(params)
  @Switch = params['Switch']
end