Class: TencentCloud::Cdb::V20170320::DeviceNetInfo

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

Overview

实例所在物理机网络监控信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conn = nil, packagein = nil, packageout = nil, flowin = nil, flowout = nil) ⇒ DeviceNetInfo

Returns a new instance of DeviceNetInfo.



8839
8840
8841
8842
8843
8844
8845
# File 'lib/v20170320/models.rb', line 8839

def initialize(conn=nil, packagein=nil, packageout=nil, flowin=nil, flowout=nil)
  @Conn = conn
  @PackageIn = packagein
  @PackageOut = packageout
  @FlowIn = flowin
  @FlowOut = flowout
end

Instance Attribute Details

#ConnObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

    网卡入包量,单位:个/秒

  • PackageOut:

    网卡出包量,单位:个/秒

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8837
8838
8839
# File 'lib/v20170320/models.rb', line 8837

def Conn
  @Conn
end

#FlowInObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

    网卡入包量,单位:个/秒

  • PackageOut:

    网卡出包量,单位:个/秒

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8837
8838
8839
# File 'lib/v20170320/models.rb', line 8837

def FlowIn
  @FlowIn
end

#FlowOutObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

    网卡入包量,单位:个/秒

  • PackageOut:

    网卡出包量,单位:个/秒

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8837
8838
8839
# File 'lib/v20170320/models.rb', line 8837

def FlowOut
  @FlowOut
end

#PackageInObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

    网卡入包量,单位:个/秒

  • PackageOut:

    网卡出包量,单位:个/秒

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8837
8838
8839
# File 'lib/v20170320/models.rb', line 8837

def PackageIn
  @PackageIn
end

#PackageOutObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

    网卡入包量,单位:个/秒

  • PackageOut:

    网卡出包量,单位:个/秒

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8837
8838
8839
# File 'lib/v20170320/models.rb', line 8837

def PackageOut
  @PackageOut
end

Instance Method Details

#deserialize(params) ⇒ Object



8847
8848
8849
8850
8851
8852
8853
# File 'lib/v20170320/models.rb', line 8847

def deserialize(params)
  @Conn = params['Conn']
  @PackageIn = params['PackageIn']
  @PackageOut = params['PackageOut']
  @FlowIn = params['FlowIn']
  @FlowOut = params['FlowOut']
end