Class: TencentCloud::Dc::V20180410::BFDInfo

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

Overview

BFD配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enablebfdmultihop = nil, probefailedtimes = nil, interval = nil) ⇒ BFDInfo

Returns a new instance of BFDInfo.



197
198
199
200
201
# File 'lib/v20180410/models.rb', line 197

def initialize(enablebfdmultihop=nil, probefailedtimes=nil, interval=nil)
  @EnableBfdMultiHop = enablebfdmultihop
  @ProbeFailedTimes = probefailedtimes
  @Interval = interval
end

Instance Attribute Details

#EnableBfdMultiHop ⇒ Object

Parameters:

  • EnableBfdMultiHop: —

    使能BFD多跳,0:未开启,2-255:BFD跳数

  • ProbeFailedTimes: —

    健康检查次数

  • Interval: —

    健康检查间隔



195
196
197
# File 'lib/v20180410/models.rb', line 195

def EnableBfdMultiHop
  @EnableBfdMultiHop
end

#Interval ⇒ Object

Parameters:

  • EnableBfdMultiHop: —

    使能BFD多跳,0:未开启,2-255:BFD跳数

  • ProbeFailedTimes: —

    健康检查次数

  • Interval: —

    健康检查间隔



195
196
197
# File 'lib/v20180410/models.rb', line 195

def Interval
  @Interval
end

#ProbeFailedTimes ⇒ Object

Parameters:

  • EnableBfdMultiHop: —

    使能BFD多跳,0:未开启,2-255:BFD跳数

  • ProbeFailedTimes: —

    健康检查次数

  • Interval: —

    健康检查间隔



195
196
197
# File 'lib/v20180410/models.rb', line 195

def ProbeFailedTimes
  @ProbeFailedTimes
end

Instance Method Details

#deserialize(params) ⇒ Object



203
204
205
206
207
# File 'lib/v20180410/models.rb', line 203

def deserialize(params)
  @EnableBfdMultiHop = params['EnableBfdMultiHop']
  @ProbeFailedTimes = params['ProbeFailedTimes']
  @Interval = params['Interval']
end