Class: TencentCloud::Tse::V20201207::KongTarget
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KongTarget
- Defined in:
- lib/v20201207/models.rb
Overview
Kong Upstream中的Target
Instance Attribute Summary collapse
- #CreatedTime ⇒ Object
- #CvmInstanceId ⇒ Object
- #CvmInstanceName ⇒ Object
- #Health ⇒ Object
- #Host ⇒ Object
- #Port ⇒ Object
- #Source ⇒ Object
- #Tags ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(host = nil, port = nil, weight = nil, health = nil, createdtime = nil, source = nil, cvminstanceid = nil, cvminstancename = nil, tags = nil) ⇒ KongTarget
constructor
A new instance of KongTarget.
Constructor Details
#initialize(host = nil, port = nil, weight = nil, health = nil, createdtime = nil, source = nil, cvminstanceid = nil, cvminstancename = nil, tags = nil) ⇒ KongTarget
Returns a new instance of KongTarget.
9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 |
# File 'lib/v20201207/models.rb', line 9118 def initialize(host=nil, port=nil, weight=nil, health=nil, createdtime=nil, source=nil, cvminstanceid=nil, cvminstancename=nil, =nil) @Host = host @Port = port @Weight = weight @Health = health @CreatedTime = createdtime @Source = source @CvmInstanceId = cvminstanceid @CvmInstanceName = cvminstancename @Tags = end |
Instance Attribute Details
#CreatedTime ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def CreatedTime @CreatedTime end |
#CvmInstanceId ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def CvmInstanceId @CvmInstanceId end |
#CvmInstanceName ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def CvmInstanceName @CvmInstanceName end |
#Health ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Health @Health end |
#Host ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Host @Host end |
#Port ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Port @Port end |
#Source ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Source @Source end |
#Tags ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Tags @Tags end |
#Weight ⇒ Object
9116 9117 9118 |
# File 'lib/v20201207/models.rb', line 9116 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 |
# File 'lib/v20201207/models.rb', line 9130 def deserialize(params) @Host = params['Host'] @Port = params['Port'] @Weight = params['Weight'] @Health = params['Health'] @CreatedTime = params['CreatedTime'] @Source = params['Source'] @CvmInstanceId = params['CvmInstanceId'] @CvmInstanceName = params['CvmInstanceName'] @Tags = params['Tags'] end |