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.
11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 |
# File 'lib/v20190904/models.rb', line 11037 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
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def CcnId @CcnId end |
#CdcId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def CdcId @CdcId end |
#CdcName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def CdcName @CdcName end |
#CrossUserMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def CrossUserMode @CrossUserMode end |
#FwGroupId ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def FwGroupName @FwGroupName end |
#FwInstanceLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def FwInstanceLst @FwInstanceLst end |
#FwSwitchNum ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def FwSwitchNum @FwSwitchNum end |
#FwVpcCidr ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def FwVpcCidr @FwVpcCidr end |
#Mode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def Mode @Mode end |
#NeedSwitchCcnOverlap ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def NeedSwitchCcnOverlap @NeedSwitchCcnOverlap end |
#RegionLst ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def RegionLst @RegionLst end |
#Status ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def Status @Status end |
#SwitchMode ⇒ Object
如果为网段,则为用户自定义 192.168.0.0/20
11035 11036 11037 |
# File 'lib/v20190904/models.rb', line 11035 def SwitchMode @SwitchMode end |
Instance Method Details
#deserialize(params) ⇒ Object
11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 |
# File 'lib/v20190904/models.rb', line 11054 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 |