Class: TencentCloud::Dc::V20180410::BGPStatus

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

Overview

bgp状态信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tencentaddressbgpstate = nil, tencentbackupaddressbgpstate = nil) ⇒ BGPStatus

Returns a new instance of BGPStatus.



219
220
221
222
# File 'lib/v20180410/models.rb', line 219

def initialize(tencentaddressbgpstate=nil, tencentbackupaddressbgpstate=nil)
  @TencentAddressBgpState = tencentaddressbgpstate
  @TencentBackupAddressBgpState = tencentbackupaddressbgpstate
end

Instance Attribute Details

#TencentAddressBgpState ⇒ Object

Parameters:

  • TencentAddressBgpState: —

    腾讯侧主互联IP BGP状态

  • TencentBackupAddressBgpState: —

    腾讯侧备互联IP BGP状态



217
218
219
# File 'lib/v20180410/models.rb', line 217

def TencentAddressBgpState
  @TencentAddressBgpState
end

#TencentBackupAddressBgpState ⇒ Object

Parameters:

  • TencentAddressBgpState: —

    腾讯侧主互联IP BGP状态

  • TencentBackupAddressBgpState: —

    腾讯侧备互联IP BGP状态



217
218
219
# File 'lib/v20180410/models.rb', line 217

def TencentBackupAddressBgpState
  @TencentBackupAddressBgpState
end

Instance Method Details

#deserialize(params) ⇒ Object



224
225
226
227
# File 'lib/v20180410/models.rb', line 224

def deserialize(params)
  @TencentAddressBgpState = params['TencentAddressBgpState']
  @TencentBackupAddressBgpState = params['TencentBackupAddressBgpState']
end