Class: TencentCloud::Cfw::V20190904::FwGroupSwitch

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

Overview

多种VPC墙模式开关结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switchmode = nil, switchid = nil) ⇒ FwGroupSwitch

Returns a new instance of FwGroupSwitch.



5714
5715
5716
5717
# File 'lib/v20190904/models.rb', line 5714

def initialize(switchmode=nil, switchid=nil)
  @SwitchMode = switchmode
  @SwitchId = switchid
end

Instance Attribute Details

#SwitchIdObject

支持三种类型

  1. 边开关(单点互通)

  2. 点开关(多点互通)

  3. 全开关(全互通)

Parameters:

  • SwitchMode:

    防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由

  • SwitchId:

    防火墙开关ID



5712
5713
5714
# File 'lib/v20190904/models.rb', line 5712

def SwitchId
  @SwitchId
end

#SwitchModeObject

支持三种类型

  1. 边开关(单点互通)

  2. 点开关(多点互通)

  3. 全开关(全互通)

Parameters:

  • SwitchMode:

    防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由

  • SwitchId:

    防火墙开关ID



5712
5713
5714
# File 'lib/v20190904/models.rb', line 5712

def SwitchMode
  @SwitchMode
end

Instance Method Details

#deserialize(params) ⇒ Object



5719
5720
5721
5722
# File 'lib/v20190904/models.rb', line 5719

def deserialize(params)
  @SwitchMode = params['SwitchMode']
  @SwitchId = params['SwitchId']
end