Class: TencentCloud::Gaap::V20180529::CreateTCPListenersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::CreateTCPListenersRequest
- Defined in:
- lib/v20180529/models.rb
Overview
CreateTCPListeners请求参数结构体
Instance Attribute Summary collapse
- #ClientIPMethod ⇒ Object
- #ConnectTimeout ⇒ Object
- #DelayLoop ⇒ Object
- #FailoverSwitch ⇒ Object
- #GroupId ⇒ Object
- #HealthCheck ⇒ Object
- #HealthyThreshold ⇒ Object
- #ListenerName ⇒ Object
- #Ports ⇒ Object
- #ProxyId ⇒ Object
- #RealServerPorts ⇒ Object
- #RealServerType ⇒ Object
- #Scheduler ⇒ Object
- #UnhealthyThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenername = nil, ports = nil, scheduler = nil, healthcheck = nil, realservertype = nil, proxyid = nil, groupid = nil, delayloop = nil, connecttimeout = nil, realserverports = nil, clientipmethod = nil, failoverswitch = nil, healthythreshold = nil, unhealthythreshold = nil) ⇒ CreateTCPListenersRequest
constructor
A new instance of CreateTCPListenersRequest.
Constructor Details
#initialize(listenername = nil, ports = nil, scheduler = nil, healthcheck = nil, realservertype = nil, proxyid = nil, groupid = nil, delayloop = nil, connecttimeout = nil, realserverports = nil, clientipmethod = nil, failoverswitch = nil, healthythreshold = nil, unhealthythreshold = nil) ⇒ CreateTCPListenersRequest
Returns a new instance of CreateTCPListenersRequest.
1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 |
# File 'lib/v20180529/models.rb', line 1634 def initialize(listenername=nil, ports=nil, scheduler=nil, healthcheck=nil, realservertype=nil, proxyid=nil, groupid=nil, delayloop=nil, connecttimeout=nil, realserverports=nil, clientipmethod=nil, failoverswitch=nil, healthythreshold=nil, unhealthythreshold=nil) @ListenerName = listenername @Ports = ports @Scheduler = scheduler @HealthCheck = healthcheck @RealServerType = realservertype @ProxyId = proxyid @GroupId = groupid @DelayLoop = delayloop @ConnectTimeout = connecttimeout @RealServerPorts = realserverports @ClientIPMethod = clientipmethod @FailoverSwitch = failoverswitch @HealthyThreshold = healthythreshold @UnhealthyThreshold = unhealthythreshold end |
Instance Attribute Details
#ClientIPMethod ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def ClientIPMethod @ClientIPMethod end |
#ConnectTimeout ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def ConnectTimeout @ConnectTimeout end |
#DelayLoop ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def DelayLoop @DelayLoop end |
#FailoverSwitch ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def FailoverSwitch @FailoverSwitch end |
#GroupId ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def GroupId @GroupId end |
#HealthCheck ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def HealthCheck @HealthCheck end |
#HealthyThreshold ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def HealthyThreshold @HealthyThreshold end |
#ListenerName ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def ListenerName @ListenerName end |
#Ports ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def Ports @Ports end |
#ProxyId ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def ProxyId @ProxyId end |
#RealServerPorts ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def RealServerPorts @RealServerPorts end |
#RealServerType ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def RealServerType @RealServerType end |
#Scheduler ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def Scheduler @Scheduler end |
#UnhealthyThreshold ⇒ Object
1632 1633 1634 |
# File 'lib/v20180529/models.rb', line 1632 def UnhealthyThreshold @UnhealthyThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 |
# File 'lib/v20180529/models.rb', line 1651 def deserialize(params) @ListenerName = params['ListenerName'] @Ports = params['Ports'] @Scheduler = params['Scheduler'] @HealthCheck = params['HealthCheck'] @RealServerType = params['RealServerType'] @ProxyId = params['ProxyId'] @GroupId = params['GroupId'] @DelayLoop = params['DelayLoop'] @ConnectTimeout = params['ConnectTimeout'] @RealServerPorts = params['RealServerPorts'] @ClientIPMethod = params['ClientIPMethod'] @FailoverSwitch = params['FailoverSwitch'] @HealthyThreshold = params['HealthyThreshold'] @UnhealthyThreshold = params['UnhealthyThreshold'] end |