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.
9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 |
# File 'lib/v20201207/models.rb', line 9136 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
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def CreatedTime @CreatedTime end |
#CvmInstanceId ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def CvmInstanceId @CvmInstanceId end |
#CvmInstanceName ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def CvmInstanceName @CvmInstanceName end |
#Health ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Health @Health end |
#Host ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Host @Host end |
#Port ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Port @Port end |
#Source ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Source @Source end |
#Tags ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Tags @Tags end |
#Weight ⇒ Object
9134 9135 9136 |
# File 'lib/v20201207/models.rb', line 9134 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 |
# File 'lib/v20201207/models.rb', line 9148 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 |