Class: TencentCloud::Dc::V20180410::DirectConnectTunnelRoute

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

Overview

专用通道路由

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routeid = nil, destinationcidrblock = nil, routetype = nil, status = nil, aspath = nil, nexthop = nil, updatetime = nil, applyontunnelenable = nil) ⇒ DirectConnectTunnelRoute

Returns a new instance of DirectConnectTunnelRoute.



1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
# File 'lib/v20180410/models.rb', line 1859

def initialize(routeid=nil, destinationcidrblock=nil, routetype=nil, status=nil, aspath=nil, nexthop=nil, updatetime=nil, applyontunnelenable=nil)
  @RouteId = routeid
  @DestinationCidrBlock = destinationcidrblock
  @RouteType = routetype
  @Status = status
  @ASPath = aspath
  @NextHop = nexthop
  @UpdateTime = updatetime
  @ApplyOnTunnelEnable = applyontunnelenable
end

Instance Attribute Details

#ApplyOnTunnelEnable ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def ApplyOnTunnelEnable
  @ApplyOnTunnelEnable
end

#ASPath ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def ASPath
  @ASPath
end

#DestinationCidrBlock ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def DestinationCidrBlock
  @DestinationCidrBlock
end

#NextHop ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def NextHop
  @NextHop
end

#RouteId ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def RouteId
  @RouteId
end

#RouteType ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def RouteType
  @RouteType
end

#Status ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def Status
  @Status
end

#UpdateTime ⇒ Object

Parameters:

  • RouteId: —

    专用通道路由ID

  • DestinationCidrBlock: —

    网段CIDR

  • RouteType: —

    路由类型:BGP/STATIC路由

  • Status: —

    ENABLE:路由启用,DISABLE:路由禁用

  • ASPath: —

    ASPath信息

  • NextHop: —

    路由下一跳IP

  • UpdateTime: —

    路由更新时间

  • ApplyOnTunnelEnable: —

    是否配置在通道上



1857
1858
1859
# File 'lib/v20180410/models.rb', line 1857

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
# File 'lib/v20180410/models.rb', line 1870

def deserialize(params)
  @RouteId = params['RouteId']
  @DestinationCidrBlock = params['DestinationCidrBlock']
  @RouteType = params['RouteType']
  @Status = params['Status']
  @ASPath = params['ASPath']
  @NextHop = params['NextHop']
  @UpdateTime = params['UpdateTime']
  @ApplyOnTunnelEnable = params['ApplyOnTunnelEnable']
end