Class: TencentCloud::Trabbit::V20230418::RabbitMQConnection

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

Overview

RabbitMQ连接详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connectionname = nil, peerhost = nil, state = nil, user = nil, ssl = nil, protocol = nil, channels = nil, incomingbytes = nil, outgoingbytes = nil, heartbeat = nil, maxchannel = nil, idlesince = nil) ⇒ RabbitMQConnection

Returns a new instance of RabbitMQConnection.



2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
# File 'lib/v20230418/models.rb', line 2287

def initialize(connectionname=nil, peerhost=nil, state=nil, user=nil, ssl=nil, protocol=nil, channels=nil, incomingbytes=nil, outgoingbytes=nil, heartbeat=nil, maxchannel=nil, idlesince=nil)
  @ConnectionName = connectionname
  @PeerHost = peerhost
  @State = state
  @User = user
  @SSL = ssl
  @Protocol = protocol
  @Channels = channels
  @IncomingBytes = incomingbytes
  @OutgoingBytes = outgoingbytes
  @Heartbeat = heartbeat
  @MaxChannel = maxchannel
  @IdleSince = idlesince
end

Instance Attribute Details

#ChannelsObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def Channels
  @Channels
end

#ConnectionNameObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def ConnectionName
  @ConnectionName
end

#HeartbeatObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def Heartbeat
  @Heartbeat
end

#IdleSinceObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def IdleSince
  @IdleSince
end

#IncomingBytesObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def IncomingBytes
  @IncomingBytes
end

#MaxChannelObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def MaxChannel
  @MaxChannel
end

#OutgoingBytesObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def OutgoingBytes
  @OutgoingBytes
end

#PeerHostObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def PeerHost
  @PeerHost
end

#ProtocolObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def Protocol
  @Protocol
end

#SSLObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def SSL
  @SSL
end

#StateObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def State
  @State
end

#UserObject

Parameters:

  • ConnectionName:

    连接名称

  • PeerHost:

    客户端ip

  • State:

    连接状态,包括 starting、tuning、opening、running、flow、blocking、blocked、closing 和 closed

  • User:

    连接使用用户

  • SSL:

    是否开启ssl

  • Protocol:

    连接协议

  • Channels:

    连接下的channel数

  • IncomingBytes:

    入流量大小,单位 bytes

  • OutgoingBytes:

    出流量大小,单位bytes

  • Heartbeat:

    心跳间隔时间,默认60s

  • MaxChannel:

    一个链接最大的channel数,默认1024

  • IdleSince:

    空闲时间点



2285
2286
2287
# File 'lib/v20230418/models.rb', line 2285

def User
  @User
end

Instance Method Details

#deserialize(params) ⇒ Object



2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
# File 'lib/v20230418/models.rb', line 2302

def deserialize(params)
  @ConnectionName = params['ConnectionName']
  @PeerHost = params['PeerHost']
  @State = params['State']
  @User = params['User']
  @SSL = params['SSL']
  @Protocol = params['Protocol']
  @Channels = params['Channels']
  @IncomingBytes = params['IncomingBytes']
  @OutgoingBytes = params['OutgoingBytes']
  @Heartbeat = params['Heartbeat']
  @MaxChannel = params['MaxChannel']
  @IdleSince = params['IdleSince']
end