Class: TencentCloud::Cfw::V20190904::FwGroupSwitchShow
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::FwGroupSwitchShow
- Defined in:
- lib/v20190904/models.rb
Overview
VPC防火墙(组)四种开关展示
Instance Attribute Summary collapse
-
#AttachWithEdge ⇒ Object
0:正常状态 1:bypass状态.
-
#BypassStatus ⇒ Object
0:正常状态 1:bypass状态.
-
#ConnectId ⇒ Object
0:正常状态 1:bypass状态.
-
#ConnectName ⇒ Object
0:正常状态 1:bypass状态.
-
#ConnectType ⇒ Object
0:正常状态 1:bypass状态.
-
#CrossEdgeStatus ⇒ Object
0:正常状态 1:bypass状态.
-
#DstInstancesInfo ⇒ Object
0:正常状态 1:bypass状态.
-
#Enable ⇒ Object
0:正常状态 1:bypass状态.
-
#FwGroupId ⇒ Object
0:正常状态 1:bypass状态.
-
#FwGroupName ⇒ Object
0:正常状态 1:bypass状态.
-
#FwInsLst ⇒ Object
0:正常状态 1:bypass状态.
-
#FwInsRegion ⇒ Object
0:正常状态 1:bypass状态.
-
#IpsAction ⇒ Object
0:正常状态 1:bypass状态.
-
#IpVersion ⇒ Object
0:正常状态 1:bypass状态.
-
#SrcInstancesInfo ⇒ Object
0:正常状态 1:bypass状态.
-
#Status ⇒ Object
0:正常状态 1:bypass状态.
-
#SwitchId ⇒ Object
0:正常状态 1:bypass状态.
-
#SwitchMode ⇒ Object
0:正常状态 1:bypass状态.
-
#SwitchName ⇒ Object
0:正常状态 1:bypass状态.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switchid = nil, switchname = nil, switchmode = nil, connecttype = nil, connectid = nil, connectname = nil, srcinstancesinfo = nil, dstinstancesinfo = nil, fwgroupid = nil, fwgroupname = nil, enable = nil, status = nil, attachwithedge = nil, crossedgestatus = nil, fwinsregion = nil, ipsaction = nil, fwinslst = nil, bypassstatus = nil, ipversion = nil) ⇒ FwGroupSwitchShow
constructor
A new instance of FwGroupSwitchShow.
Constructor Details
#initialize(switchid = nil, switchname = nil, switchmode = nil, connecttype = nil, connectid = nil, connectname = nil, srcinstancesinfo = nil, dstinstancesinfo = nil, fwgroupid = nil, fwgroupname = nil, enable = nil, status = nil, attachwithedge = nil, crossedgestatus = nil, fwinsregion = nil, ipsaction = nil, fwinslst = nil, bypassstatus = nil, ipversion = nil) ⇒ FwGroupSwitchShow
Returns a new instance of FwGroupSwitchShow.
5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 |
# File 'lib/v20190904/models.rb', line 5949 def initialize(switchid=nil, switchname=nil, switchmode=nil, connecttype=nil, connectid=nil, connectname=nil, srcinstancesinfo=nil, dstinstancesinfo=nil, fwgroupid=nil, fwgroupname=nil, enable=nil, status=nil, attachwithedge=nil, crossedgestatus=nil, fwinsregion=nil, ipsaction=nil, fwinslst=nil, bypassstatus=nil, ipversion=nil) @SwitchId = switchid @SwitchName = switchname @SwitchMode = switchmode @ConnectType = connecttype @ConnectId = connectid @ConnectName = connectname @SrcInstancesInfo = srcinstancesinfo @DstInstancesInfo = dstinstancesinfo @FwGroupId = fwgroupid @FwGroupName = fwgroupname @Enable = enable @Status = status @AttachWithEdge = attachwithedge @CrossEdgeStatus = crossedgestatus @FwInsRegion = fwinsregion @IpsAction = ipsaction @FwInsLst = fwinslst @BypassStatus = bypassstatus @IpVersion = ipversion end |
Instance Attribute Details
#AttachWithEdge ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def AttachWithEdge @AttachWithEdge end |
#BypassStatus ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def BypassStatus @BypassStatus end |
#ConnectId ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def ConnectId @ConnectId end |
#ConnectName ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def ConnectName @ConnectName end |
#ConnectType ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def ConnectType @ConnectType end |
#CrossEdgeStatus ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def CrossEdgeStatus @CrossEdgeStatus end |
#DstInstancesInfo ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def DstInstancesInfo @DstInstancesInfo end |
#Enable ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def Enable @Enable end |
#FwGroupId ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def FwGroupName @FwGroupName end |
#FwInsLst ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def FwInsLst @FwInsLst end |
#FwInsRegion ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def FwInsRegion @FwInsRegion end |
#IpsAction ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def IpsAction @IpsAction end |
#IpVersion ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def IpVersion @IpVersion end |
#SrcInstancesInfo ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def SrcInstancesInfo @SrcInstancesInfo end |
#Status ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def Status @Status end |
#SwitchId ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def SwitchId @SwitchId end |
#SwitchMode ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def SwitchMode @SwitchMode end |
#SwitchName ⇒ Object
0:正常状态1:bypass状态
5947 5948 5949 |
# File 'lib/v20190904/models.rb', line 5947 def SwitchName @SwitchName end |
Instance Method Details
#deserialize(params) ⇒ Object
5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 |
# File 'lib/v20190904/models.rb', line 5971 def deserialize(params) @SwitchId = params['SwitchId'] @SwitchName = params['SwitchName'] @SwitchMode = params['SwitchMode'] @ConnectType = params['ConnectType'] @ConnectId = params['ConnectId'] @ConnectName = params['ConnectName'] unless params['SrcInstancesInfo'].nil? @SrcInstancesInfo = [] params['SrcInstancesInfo'].each do |i| netinstancesinfo_tmp = NetInstancesInfo.new netinstancesinfo_tmp.deserialize(i) @SrcInstancesInfo << netinstancesinfo_tmp end end unless params['DstInstancesInfo'].nil? @DstInstancesInfo = [] params['DstInstancesInfo'].each do |i| netinstancesinfo_tmp = NetInstancesInfo.new netinstancesinfo_tmp.deserialize(i) @DstInstancesInfo << netinstancesinfo_tmp end end @FwGroupId = params['FwGroupId'] @FwGroupName = params['FwGroupName'] @Enable = params['Enable'] @Status = params['Status'] @AttachWithEdge = params['AttachWithEdge'] @CrossEdgeStatus = params['CrossEdgeStatus'] @FwInsRegion = params['FwInsRegion'] @IpsAction = params['IpsAction'] unless params['FwInsLst'].nil? @FwInsLst = [] params['FwInsLst'].each do |i| vpcfwinstanceshow_tmp = VpcFwInstanceShow.new vpcfwinstanceshow_tmp.deserialize(i) @FwInsLst << vpcfwinstanceshow_tmp end end @BypassStatus = params['BypassStatus'] @IpVersion = params['IpVersion'] end |