Class: TencentCloud::Cfw::V20190904::ClusterSwitchDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ClusterSwitchDetail
- Defined in:
- lib/v20190904/models.rb
Overview
集群模式防火墙开关数据详情
Instance Attribute Summary collapse
-
#AssetType ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AttachIns ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Enable ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Endpoints ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FwType ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Idpsaction ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InsObj ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IpVersion ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IsPeer ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NonCluster ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ObjName ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PeerAppid ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PeerStatus ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RoutingMode ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SwitchMode ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TransEnable ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(insobj = nil, objname = nil, fwtype = nil, assettype = nil, region = nil, status = nil, switchmode = nil, noncluster = nil, ipversion = nil, attachins = nil, endpoints = nil, idpsaction = nil, transenable = nil, enable = nil, routingmode = nil, ispeer = nil, peerappid = nil, peerstatus = nil) ⇒ ClusterSwitchDetail
constructor
A new instance of ClusterSwitchDetail.
Constructor Details
#initialize(insobj = nil, objname = nil, fwtype = nil, assettype = nil, region = nil, status = nil, switchmode = nil, noncluster = nil, ipversion = nil, attachins = nil, endpoints = nil, idpsaction = nil, transenable = nil, enable = nil, routingmode = nil, ispeer = nil, peerappid = nil, peerstatus = nil) ⇒ ClusterSwitchDetail
Returns a new instance of ClusterSwitchDetail.
887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'lib/v20190904/models.rb', line 887 def initialize(insobj=nil, objname=nil, fwtype=nil, assettype=nil, region=nil, status=nil, switchmode=nil, noncluster=nil, ipversion=nil, attachins=nil, endpoints=nil, idpsaction=nil, transenable=nil, enable=nil, routingmode=nil, ispeer=nil, peerappid=nil, peerstatus=nil) @InsObj = insobj @ObjName = objname @FwType = fwtype @AssetType = assettype @Region = region @Status = status @SwitchMode = switchmode @NonCluster = noncluster @IpVersion = ipversion @AttachIns = attachins @Endpoints = endpoints @Idpsaction = idpsaction @TransEnable = transenable @Enable = enable @RoutingMode = routingmode @IsPeer = ispeer @PeerAppid = peerappid @PeerStatus = peerstatus end |
Instance Attribute Details
#AssetType ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def AssetType @AssetType end |
#AttachIns ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def AttachIns @AttachIns end |
#Enable ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def Enable @Enable end |
#Endpoints ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def Endpoints @Endpoints end |
#FwType ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def FwType @FwType end |
#Idpsaction ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def Idpsaction @Idpsaction end |
#InsObj ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def InsObj @InsObj end |
#IpVersion ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def IpVersion @IpVersion end |
#IsPeer ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def IsPeer @IsPeer end |
#NonCluster ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def NonCluster @NonCluster end |
#ObjName ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def ObjName @ObjName end |
#PeerAppid ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def PeerAppid @PeerAppid end |
#PeerStatus ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def PeerStatus @PeerStatus end |
#Region ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def Region @Region end |
#RoutingMode ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def RoutingMode @RoutingMode end |
#Status ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def Status @Status end |
#SwitchMode ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def SwitchMode @SwitchMode end |
#TransEnable ⇒ Object
0 : 关闭 1 : 开启 2 : 开启中 3 : 关闭中 4 : 异常 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
885 886 887 |
# File 'lib/v20190904/models.rb', line 885 def TransEnable @TransEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'lib/v20190904/models.rb', line 908 def deserialize(params) @InsObj = params['InsObj'] @ObjName = params['ObjName'] @FwType = params['FwType'] @AssetType = params['AssetType'] @Region = params['Region'] @Status = params['Status'] @SwitchMode = params['SwitchMode'] @NonCluster = params['NonCluster'] @IpVersion = params['IpVersion'] unless params['AttachIns'].nil? @AttachIns = [] params['AttachIns'].each do |i| attachinsinfo_tmp = AttachInsInfo.new attachinsinfo_tmp.deserialize(i) @AttachIns << attachinsinfo_tmp end end unless params['Endpoints'].nil? @Endpoints = [] params['Endpoints'].each do |i| endpointinfo_tmp = EndpointInfo.new endpointinfo_tmp.deserialize(i) @Endpoints << endpointinfo_tmp end end @Idpsaction = params['Idpsaction'] @TransEnable = params['TransEnable'] @Enable = params['Enable'] @RoutingMode = params['RoutingMode'] @IsPeer = params['IsPeer'] @PeerAppid = params['PeerAppid'] @PeerStatus = params['PeerStatus'] end |