Class: TencentCloud::Cfw::V20190904::CfwInsStatus

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

Overview

防火墙实例运行状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cfwinsid = nil, fwtype = nil, region = nil, status = nil, eventtime = nil, recovertime = nil, cfwinsname = nil, trafficmode = nil) ⇒ CfwInsStatus

Returns a new instance of CfwInsStatus.



638
639
640
641
642
643
644
645
646
647
# File 'lib/v20190904/models.rb', line 638

def initialize(cfwinsid=nil, fwtype=nil, region=nil, status=nil, eventtime=nil, recovertime=nil, cfwinsname=nil, trafficmode=nil)
  @CfwInsId = cfwinsid
  @FwType = fwtype
  @Region = region
  @Status = status
  @EventTime = eventtime
  @RecoverTime = recovertime
  @CfwInsName = cfwinsname
  @TrafficMode = trafficmode
end

Instance Attribute Details

#CfwInsIdObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def CfwInsId
  @CfwInsId
end

#CfwInsNameObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def CfwInsName
  @CfwInsName
end

#EventTimeObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def EventTime
  @EventTime
end

#FwTypeObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def FwType
  @FwType
end

#RecoverTimeObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def RecoverTime
  @RecoverTime
end

#RegionObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def Region
  @Region
end

#StatusObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def Status
  @Status
end

#TrafficModeObject

OnlyRoute: 透明模式

Parameters:

  • CfwInsId:

    防火墙实例id

  • FwType:

    防火墙类型,nat:nat防火墙;ew:vpc间防火墙

  • Region:

    实例所属地域

  • Status:

    实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中

  • EventTime:

    事件时间

  • RecoverTime:

    恢复时间

  • CfwInsName:

    实例名称

  • TrafficMode:

    Normal: 正常模式



636
637
638
# File 'lib/v20190904/models.rb', line 636

def TrafficMode
  @TrafficMode
end

Instance Method Details

#deserialize(params) ⇒ Object



649
650
651
652
653
654
655
656
657
658
# File 'lib/v20190904/models.rb', line 649

def deserialize(params)
  @CfwInsId = params['CfwInsId']
  @FwType = params['FwType']
  @Region = params['Region']
  @Status = params['Status']
  @EventTime = params['EventTime']
  @RecoverTime = params['RecoverTime']
  @CfwInsName = params['CfwInsName']
  @TrafficMode = params['TrafficMode']
end