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.



8790
8791
8792
8793
8794
8795
8796
# File 'lib/v20170320/models.rb', line 8790

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



8788
8789
8790
# File 'lib/v20170320/models.rb', line 8788

def Conn
  @Conn
end

#FlowInObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

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

  • PackageOut:

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

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8788
8789
8790
# File 'lib/v20170320/models.rb', line 8788

def FlowIn
  @FlowIn
end

#FlowOutObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

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

  • PackageOut:

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

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8788
8789
8790
# File 'lib/v20170320/models.rb', line 8788

def FlowOut
  @FlowOut
end

#PackageInObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

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

  • PackageOut:

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

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8788
8789
8790
# File 'lib/v20170320/models.rb', line 8788

def PackageIn
  @PackageIn
end

#PackageOutObject

Parameters:

  • Conn:

    tcp连接数

  • PackageIn:

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

  • PackageOut:

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

  • FlowIn:

    入流量,单位:kbps

  • FlowOut:

    出流量,单位:kbps



8788
8789
8790
# File 'lib/v20170320/models.rb', line 8788

def PackageOut
  @PackageOut
end

Instance Method Details

#deserialize(params) ⇒ Object



8798
8799
8800
8801
8802
8803
8804
# File 'lib/v20170320/models.rb', line 8798

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