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.



780
781
782
783
784
785
786
787
788
789
# File 'lib/v20190904/models.rb', line 780

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

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: 正常模式



778
779
780
# File 'lib/v20190904/models.rb', line 778

def TrafficMode
  @TrafficMode
end

Instance Method Details

#deserialize(params) ⇒ Object



791
792
793
794
795
796
797
798
799
800
# File 'lib/v20190904/models.rb', line 791

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