Class: TencentCloud::Cfw::V20190904::VpcFwGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::VpcFwGroupInfo
- Defined in:
- lib/v20190904/models.rb
Overview
VPC防火墙(组)及防火墙实例详情信息
Instance Attribute Summary collapse
-
#CcnId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#CdcId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#CdcName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#CrossUserMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#FwGroupId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#FwGroupName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#FwInstanceLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#FwSwitchNum ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#FwVpcCidr ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#Mode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#NeedSwitchCcnOverlap ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#RegionLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#Status ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
-
#SwitchMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fwgroupid = nil, fwgroupname = nil, fwswitchnum = nil, regionlst = nil, mode = nil, switchmode = nil, fwinstancelst = nil, status = nil, fwvpccidr = nil, cdcid = nil, cdcname = nil, crossusermode = nil, needswitchccnoverlap = nil, ccnid = nil) ⇒ VpcFwGroupInfo
constructor
A new instance of VpcFwGroupInfo.
Constructor Details
#initialize(fwgroupid = nil, fwgroupname = nil, fwswitchnum = nil, regionlst = nil, mode = nil, switchmode = nil, fwinstancelst = nil, status = nil, fwvpccidr = nil, cdcid = nil, cdcname = nil, crossusermode = nil, needswitchccnoverlap = nil, ccnid = nil) ⇒ VpcFwGroupInfo
Returns a new instance of VpcFwGroupInfo.
10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 |
# File 'lib/v20190904/models.rb', line 10122 def initialize(fwgroupid=nil, fwgroupname=nil, fwswitchnum=nil, regionlst=nil, mode=nil, switchmode=nil, fwinstancelst=nil, status=nil, fwvpccidr=nil, cdcid=nil, cdcname=nil, crossusermode=nil, needswitchccnoverlap=nil, ccnid=nil) @FwGroupId = fwgroupid @FwGroupName = fwgroupname @FwSwitchNum = fwswitchnum @RegionLst = regionlst @Mode = mode @SwitchMode = switchmode @FwInstanceLst = fwinstancelst @Status = status @FwVpcCidr = fwvpccidr @CdcId = cdcid @CdcName = cdcname @CrossUserMode = crossusermode @NeedSwitchCcnOverlap = needswitchccnoverlap @CcnId = ccnid end |
Instance Attribute Details
#CcnId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def CcnId @CcnId end |
#CdcId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def CdcId @CdcId end |
#CdcName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def CdcName @CdcName end |
#CrossUserMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def CrossUserMode @CrossUserMode end |
#FwGroupId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def FwGroupName @FwGroupName end |
#FwInstanceLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def FwInstanceLst @FwInstanceLst end |
#FwSwitchNum ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def FwSwitchNum @FwSwitchNum end |
#FwVpcCidr ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def FwVpcCidr @FwVpcCidr end |
#Mode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def Mode @Mode end |
#NeedSwitchCcnOverlap ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def NeedSwitchCcnOverlap @NeedSwitchCcnOverlap end |
#RegionLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def RegionLst @RegionLst end |
#Status ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def Status @Status end |
#SwitchMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
10120 10121 10122 |
# File 'lib/v20190904/models.rb', line 10120 def SwitchMode @SwitchMode end |
Instance Method Details
#deserialize(params) ⇒ Object
10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 |
# File 'lib/v20190904/models.rb', line 10139 def deserialize(params) @FwGroupId = params['FwGroupId'] @FwGroupName = params['FwGroupName'] @FwSwitchNum = params['FwSwitchNum'] @RegionLst = params['RegionLst'] @Mode = params['Mode'] @SwitchMode = params['SwitchMode'] unless params['FwInstanceLst'].nil? @FwInstanceLst = [] params['FwInstanceLst'].each do |i| vpcfwinstanceinfo_tmp = VpcFwInstanceInfo.new vpcfwinstanceinfo_tmp.deserialize(i) @FwInstanceLst << vpcfwinstanceinfo_tmp end end @Status = params['Status'] @FwVpcCidr = params['FwVpcCidr'] @CdcId = params['CdcId'] @CdcName = params['CdcName'] @CrossUserMode = params['CrossUserMode'] @NeedSwitchCcnOverlap = params['NeedSwitchCcnOverlap'] @CcnId = params['CcnId'] end |