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.
9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 |
# File 'lib/v20190904/models.rb', line 9832 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
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def CcnId @CcnId end |
#CdcId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def CdcId @CdcId end |
#CdcName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def CdcName @CdcName end |
#CrossUserMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def CrossUserMode @CrossUserMode end |
#FwGroupId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def FwGroupName @FwGroupName end |
#FwInstanceLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def FwInstanceLst @FwInstanceLst end |
#FwSwitchNum ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def FwSwitchNum @FwSwitchNum end |
#FwVpcCidr ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def FwVpcCidr @FwVpcCidr end |
#Mode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def Mode @Mode end |
#NeedSwitchCcnOverlap ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def NeedSwitchCcnOverlap @NeedSwitchCcnOverlap end |
#RegionLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def RegionLst @RegionLst end |
#Status ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def Status @Status end |
#SwitchMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
9830 9831 9832 |
# File 'lib/v20190904/models.rb', line 9830 def SwitchMode @SwitchMode end |
Instance Method Details
#deserialize(params) ⇒ Object
9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 |
# File 'lib/v20190904/models.rb', line 9849 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 |