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.
5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 |
# File 'lib/v20190904/models.rb', line 5770 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状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def AttachWithEdge @AttachWithEdge end |
#BypassStatus ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def BypassStatus @BypassStatus end |
#ConnectId ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def ConnectId @ConnectId end |
#ConnectName ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def ConnectName @ConnectName end |
#ConnectType ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def ConnectType @ConnectType end |
#CrossEdgeStatus ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def CrossEdgeStatus @CrossEdgeStatus end |
#DstInstancesInfo ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def DstInstancesInfo @DstInstancesInfo end |
#Enable ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def Enable @Enable end |
#FwGroupId ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def FwGroupName @FwGroupName end |
#FwInsLst ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def FwInsLst @FwInsLst end |
#FwInsRegion ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def FwInsRegion @FwInsRegion end |
#IpsAction ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def IpsAction @IpsAction end |
#IpVersion ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def IpVersion @IpVersion end |
#SrcInstancesInfo ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def SrcInstancesInfo @SrcInstancesInfo end |
#Status ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def Status @Status end |
#SwitchId ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def SwitchId @SwitchId end |
#SwitchMode ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def SwitchMode @SwitchMode end |
#SwitchName ⇒ Object
0:正常状态1:bypass状态
5768 5769 5770 |
# File 'lib/v20190904/models.rb', line 5768 def SwitchName @SwitchName end |
Instance Method Details
#deserialize(params) ⇒ Object
5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 |
# File 'lib/v20190904/models.rb', line 5792 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 |