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.
1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/v20190904/models.rb', line 1703 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 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def CcnId @CcnId end |
#CrossUserMode ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def CrossUserMode @CrossUserMode end |
#FwCidrInfo ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def FwCidrInfo @FwCidrInfo end |
#FwVpcCidr ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def FwVpcCidr @FwVpcCidr end |
#Mode ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def Mode @Mode end |
#Name ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def Name @Name end |
#SwitchMode ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def SwitchMode @SwitchMode end |
#VpcFwInstances ⇒ Object
1: 单点互通2: 多点互通3: 全互通4: 自定义路由10.10.10.0/24 用户输入的防火墙网段
1701 1702 1703 |
# File 'lib/v20190904/models.rb', line 1701 def VpcFwInstances @VpcFwInstances end |
Instance Method Details
#deserialize(params) ⇒ Object
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 |
# File 'lib/v20190904/models.rb', line 1714 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 |