Class: TencentCloud::Cfw::V20190904::VpcFwInstanceInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190904/models.rb

Overview

VPC防火墙实例卡片信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fwinsname = nil, fwinsid = nil, fwmode = nil, joininsnum = nil, fwswitchnum = nil, status = nil, time = nil, ccnid = nil, ccnname = nil, peerconnectionid = nil, peerconnectionname = nil, fwcvmlst = nil, joininslst = nil, fwgateway = nil, fwgroupid = nil, ruleused = nil, rulemax = nil, width = nil, uservpcwidth = nil, joininsidlst = nil, flowmax = nil, engineversion = nil, updateenable = nil, trafficmode = nil, reservetime = nil, reserveversion = nil, reserveversionstate = nil, elasticswitch = nil, elasticbandwidth = nil, isfirstafterpay = nil) ⇒ VpcFwInstanceInfo



9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
# File 'lib/v20190904/models.rb', line 9972

def initialize(fwinsname=nil, fwinsid=nil, fwmode=nil, joininsnum=nil, fwswitchnum=nil, status=nil, time=nil, ccnid=nil, ccnname=nil, peerconnectionid=nil, peerconnectionname=nil, fwcvmlst=nil, joininslst=nil, fwgateway=nil, fwgroupid=nil, ruleused=nil, rulemax=nil, width=nil, uservpcwidth=nil, joininsidlst=nil, flowmax=nil, engineversion=nil, updateenable=nil, trafficmode=nil, reservetime=nil, reserveversion=nil, reserveversionstate=nil, elasticswitch=nil, elasticbandwidth=nil, isfirstafterpay=nil)
  @FwInsName = fwinsname
  @FwInsId = fwinsid
  @FwMode = fwmode
  @JoinInsNum = joininsnum
  @FwSwitchNum = fwswitchnum
  @Status = status
  @Time = time
  @CcnId = ccnid
  @CcnName = ccnname
  @PeerConnectionId = peerconnectionid
  @PeerConnectionName = peerconnectionname
  @FwCvmLst = fwcvmlst
  @JoinInsLst = joininslst
  @FwGateway = fwgateway
  @FwGroupId = fwgroupid
  @RuleUsed = ruleused
  @RuleMax = rulemax
  @Width = width
  @UserVpcWidth = uservpcwidth
  @JoinInsIdLst = joininsidlst
  @FlowMax = flowmax
  @EngineVersion = engineversion
  @UpdateEnable = updateenable
  @TrafficMode = trafficmode
  @ReserveTime = reservetime
  @ReserveVersion = reserveversion
  @ReserveVersionState = reserveversionstate
  @ElasticSwitch = elasticswitch
  @ElasticBandwidth = elasticbandwidth
  @IsFirstAfterPay = isfirstafterpay
end

Instance Attribute Details

#CcnIdObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def CcnId
  @CcnId
end

#CcnNameObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def CcnName
  @CcnName
end

#ElasticBandwidthObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def ElasticBandwidth
  @ElasticBandwidth
end

#ElasticSwitchObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def ElasticSwitch
  @ElasticSwitch
end

#EngineVersionObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def EngineVersion
  @EngineVersion
end

#FlowMaxObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FlowMax
  @FlowMax
end

#FwCvmLstObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwCvmLst
  @FwCvmLst
end

#FwGatewayObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwGateway
  @FwGateway
end

#FwGroupIdObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwGroupId
  @FwGroupId
end

#FwInsIdObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwInsId
  @FwInsId
end

#FwInsNameObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwInsName
  @FwInsName
end

#FwModeObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwMode
  @FwMode
end

#FwSwitchNumObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def FwSwitchNum
  @FwSwitchNum
end

#IsFirstAfterPayObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def IsFirstAfterPay
  @IsFirstAfterPay
end

#JoinInsIdLstObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def JoinInsIdLst
  @JoinInsIdLst
end

#JoinInsLstObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def JoinInsLst
  @JoinInsLst
end

#JoinInsNumObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def JoinInsNum
  @JoinInsNum
end

#PeerConnectionIdObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def PeerConnectionId
  @PeerConnectionId
end

#PeerConnectionNameObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def PeerConnectionName
  @PeerConnectionName
end

#ReserveTimeObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def ReserveTime
  @ReserveTime
end

#ReserveVersionObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def ReserveVersion
  @ReserveVersion
end

#ReserveVersionStateObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def ReserveVersionState
  @ReserveVersionState
end

#RuleMaxObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def RuleMax
  @RuleMax
end

#RuleUsedObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def RuleUsed
  @RuleUsed
end

#StatusObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def Status
  @Status
end

#TimeObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def Time
  @Time
end

#TrafficModeObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def TrafficMode
  @TrafficMode
end

#UpdateEnableObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def UpdateEnable
  @UpdateEnable
end

#UserVpcWidthObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def UserVpcWidth
  @UserVpcWidth
end

#WidthObject

1 是0 不是



9970
9971
9972
# File 'lib/v20190904/models.rb', line 9970

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
# File 'lib/v20190904/models.rb', line 10005

def deserialize(params)
  @FwInsName = params['FwInsName']
  @FwInsId = params['FwInsId']
  @FwMode = params['FwMode']
  @JoinInsNum = params['JoinInsNum']
  @FwSwitchNum = params['FwSwitchNum']
  @Status = params['Status']
  @Time = params['Time']
  @CcnId = params['CcnId']
  @CcnName = params['CcnName']
  @PeerConnectionId = params['PeerConnectionId']
  @PeerConnectionName = params['PeerConnectionName']
  unless params['FwCvmLst'].nil?
    @FwCvmLst = []
    params['FwCvmLst'].each do |i|
      vpcfwcvminsinfo_tmp = VpcFwCvmInsInfo.new
      vpcfwcvminsinfo_tmp.deserialize(i)
      @FwCvmLst << vpcfwcvminsinfo_tmp
    end
  end
  unless params['JoinInsLst'].nil?
    @JoinInsLst = []
    params['JoinInsLst'].each do |i|
      vpcfwjoininstancetype_tmp = VpcFwJoinInstanceType.new
      vpcfwjoininstancetype_tmp.deserialize(i)
      @JoinInsLst << vpcfwjoininstancetype_tmp
    end
  end
  unless params['FwGateway'].nil?
    @FwGateway = []
    params['FwGateway'].each do |i|
      fwgateway_tmp = FwGateway.new
      fwgateway_tmp.deserialize(i)
      @FwGateway << fwgateway_tmp
    end
  end
  @FwGroupId = params['FwGroupId']
  @RuleUsed = params['RuleUsed']
  @RuleMax = params['RuleMax']
  @Width = params['Width']
  @UserVpcWidth = params['UserVpcWidth']
  @JoinInsIdLst = params['JoinInsIdLst']
  @FlowMax = params['FlowMax']
  @EngineVersion = params['EngineVersion']
  @UpdateEnable = params['UpdateEnable']
  @TrafficMode = params['TrafficMode']
  @ReserveTime = params['ReserveTime']
  @ReserveVersion = params['ReserveVersion']
  @ReserveVersionState = params['ReserveVersionState']
  @ElasticSwitch = params['ElasticSwitch']
  @ElasticBandwidth = params['ElasticBandwidth']
  @IsFirstAfterPay = params['IsFirstAfterPay']
end