Class: TencentCloud::Tke::V20180525::DeletePrometheusClusterAgentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DeletePrometheusClusterAgentRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DeletePrometheusClusterAgent请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agents = nil, instanceid = nil, force = nil) ⇒ DeletePrometheusClusterAgentRequest
constructor
A new instance of DeletePrometheusClusterAgentRequest.
Constructor Details
#initialize(agents = nil, instanceid = nil, force = nil) ⇒ DeletePrometheusClusterAgentRequest
Returns a new instance of DeletePrometheusClusterAgentRequest.
4742 4743 4744 4745 4746 |
# File 'lib/v20180525/models.rb', line 4742 def initialize(agents=nil, instanceid=nil, force=nil) @Agents = agents @InstanceId = instanceid @Force = force end |
Instance Attribute Details
#Agents ⇒ Object
4740 4741 4742 |
# File 'lib/v20180525/models.rb', line 4740 def Agents @Agents end |
#Force ⇒ Object
4740 4741 4742 |
# File 'lib/v20180525/models.rb', line 4740 def Force @Force end |
#InstanceId ⇒ Object
4740 4741 4742 |
# File 'lib/v20180525/models.rb', line 4740 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 |
# File 'lib/v20180525/models.rb', line 4748 def deserialize(params) unless params['Agents'].nil? @Agents = [] params['Agents'].each do |i| prometheusagentinfo_tmp = PrometheusAgentInfo.new prometheusagentinfo_tmp.deserialize(i) @Agents << prometheusagentinfo_tmp end end @InstanceId = params['InstanceId'] @Force = params['Force'] end |