Class: TencentCloud::Tke::V20180525::DeletePrometheusClusterAgentRequest

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

Overview

DeletePrometheusClusterAgent请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AgentsObject

Parameters:

  • Agents:

    agent列表

  • InstanceId:

    实例id

  • Force:

    在7天可回收期间,强制解除绑定



4740
4741
4742
# File 'lib/v20180525/models.rb', line 4740

def Agents
  @Agents
end

#ForceObject

Parameters:

  • Agents:

    agent列表

  • InstanceId:

    实例id

  • Force:

    在7天可回收期间,强制解除绑定



4740
4741
4742
# File 'lib/v20180525/models.rb', line 4740

def Force
  @Force
end

#InstanceIdObject

Parameters:

  • Agents:

    agent列表

  • InstanceId:

    实例id

  • Force:

    在7天可回收期间,强制解除绑定



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