Class: TencentCloud::Cfw::V20190904::CreateVpcFwGroupRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateVpcFwGroupRequest
- Defined in:
- lib/v20190904/models.rb
Overview
CreateVpcFwGroup请求参数结构体
Instance Attribute Summary collapse
-
#CcnId ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#CrossUserMode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#FwCidrInfo ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#FwVpcCidr ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#Mode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#Name ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#SwitchMode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
-
#VpcFwInstances ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, mode = nil, vpcfwinstances = nil, switchmode = nil, fwvpccidr = nil, ccnid = nil, fwcidrinfo = nil, crossusermode = nil) ⇒ CreateVpcFwGroupRequest
constructor
A new instance of CreateVpcFwGroupRequest.
Constructor Details
#initialize(name = nil, mode = nil, vpcfwinstances = nil, switchmode = nil, fwvpccidr = nil, ccnid = nil, fwcidrinfo = nil, crossusermode = nil) ⇒ CreateVpcFwGroupRequest
Returns a new instance of CreateVpcFwGroupRequest.
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 |
# File 'lib/v20190904/models.rb', line 1999 def initialize(name=nil, mode=nil, vpcfwinstances=nil, switchmode=nil, fwvpccidr=nil, ccnid=nil, fwcidrinfo=nil, crossusermode=nil) @Name = name @Mode = mode @VpcFwInstances = vpcfwinstances @SwitchMode = switchmode @FwVpcCidr = fwvpccidr @CcnId = ccnid @FwCidrInfo = fwcidrinfo @CrossUserMode = crossusermode end |
Instance Attribute Details
#CcnId ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def CcnId @CcnId end |
#CrossUserMode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def CrossUserMode @CrossUserMode end |
#FwCidrInfo ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def FwCidrInfo @FwCidrInfo end |
#FwVpcCidr ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def FwVpcCidr @FwVpcCidr end |
#Mode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def Mode @Mode end |
#Name ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def Name @Name end |
#SwitchMode ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def SwitchMode @SwitchMode end |
#VpcFwInstances ⇒ Object
1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由 10.10.10.0/24 用户输入的防火墙网段
1997 1998 1999 |
# File 'lib/v20190904/models.rb', line 1997 def VpcFwInstances @VpcFwInstances end |
Instance Method Details
#deserialize(params) ⇒ Object
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 |
# File 'lib/v20190904/models.rb', line 2010 def deserialize(params) @Name = params['Name'] @Mode = params['Mode'] unless params['VpcFwInstances'].nil? @VpcFwInstances = [] params['VpcFwInstances'].each do |i| vpcfwinstance_tmp = VpcFwInstance.new vpcfwinstance_tmp.deserialize(i) @VpcFwInstances << vpcfwinstance_tmp end end @SwitchMode = params['SwitchMode'] @FwVpcCidr = params['FwVpcCidr'] @CcnId = params['CcnId'] unless params['FwCidrInfo'].nil? @FwCidrInfo = FwCidrInfo.new @FwCidrInfo.deserialize(params['FwCidrInfo']) end @CrossUserMode = params['CrossUserMode'] end |