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.
6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 |
# File 'lib/v20190904/models.rb', line 6575 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状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def AttachWithEdge @AttachWithEdge end |
#BypassStatus ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def BypassStatus @BypassStatus end |
#ConnectId ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def ConnectId @ConnectId end |
#ConnectName ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def ConnectName @ConnectName end |
#ConnectType ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def ConnectType @ConnectType end |
#CrossEdgeStatus ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def CrossEdgeStatus @CrossEdgeStatus end |
#DstInstancesInfo ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def DstInstancesInfo @DstInstancesInfo end |
#Enable ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def Enable @Enable end |
#FwGroupId ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def FwGroupId @FwGroupId end |
#FwGroupName ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def FwGroupName @FwGroupName end |
#FwInsLst ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def FwInsLst @FwInsLst end |
#FwInsRegion ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def FwInsRegion @FwInsRegion end |
#IpsAction ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def IpsAction @IpsAction end |
#IpVersion ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def IpVersion @IpVersion end |
#SrcInstancesInfo ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def SrcInstancesInfo @SrcInstancesInfo end |
#Status ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def Status @Status end |
#SwitchId ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def SwitchId @SwitchId end |
#SwitchMode ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def SwitchMode @SwitchMode end |
#SwitchName ⇒ Object
0:正常状态 1:bypass状态
6573 6574 6575 |
# File 'lib/v20190904/models.rb', line 6573 def SwitchName @SwitchName end |
Instance Method Details
#deserialize(params) ⇒ Object
6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 |
# File 'lib/v20190904/models.rb', line 6597 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 |