Class: TencentCloud::Bm::V20180423::HostedDeviceOutBandInfo

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

Overview

托管设备带外信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, outbandip = nil, vpnip = nil, vpnport = nil) ⇒ HostedDeviceOutBandInfo

Returns a new instance of HostedDeviceOutBandInfo.



2838
2839
2840
2841
2842
2843
# File 'lib/v20180423/models.rb', line 2838

def initialize(instanceid=nil, outbandip=nil, vpnip=nil, vpnport=nil)
  @InstanceId = instanceid
  @OutBandIp = outbandip
  @VpnIp = vpnip
  @VpnPort = vpnport
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    物理机ID

  • OutBandIp:

    带外IP

  • VpnIp:

    VPN的IP

  • VpnPort:

    VPN的端口



2836
2837
2838
# File 'lib/v20180423/models.rb', line 2836

def InstanceId
  @InstanceId
end

#OutBandIpObject

Parameters:

  • InstanceId:

    物理机ID

  • OutBandIp:

    带外IP

  • VpnIp:

    VPN的IP

  • VpnPort:

    VPN的端口



2836
2837
2838
# File 'lib/v20180423/models.rb', line 2836

def OutBandIp
  @OutBandIp
end

#VpnIpObject

Parameters:

  • InstanceId:

    物理机ID

  • OutBandIp:

    带外IP

  • VpnIp:

    VPN的IP

  • VpnPort:

    VPN的端口



2836
2837
2838
# File 'lib/v20180423/models.rb', line 2836

def VpnIp
  @VpnIp
end

#VpnPortObject

Parameters:

  • InstanceId:

    物理机ID

  • OutBandIp:

    带外IP

  • VpnIp:

    VPN的IP

  • VpnPort:

    VPN的端口



2836
2837
2838
# File 'lib/v20180423/models.rb', line 2836

def VpnPort
  @VpnPort
end

Instance Method Details

#deserialize(params) ⇒ Object



2845
2846
2847
2848
2849
2850
# File 'lib/v20180423/models.rb', line 2845

def deserialize(params)
  @InstanceId = params['InstanceId']
  @OutBandIp = params['OutBandIp']
  @VpnIp = params['VpnIp']
  @VpnPort = params['VpnPort']
end