Class: TencentCloud::Tke::V20220501::DescribeHealthCheckPoliciesRequest

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

Overview

DescribeHealthCheckPolicies请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, filters = nil, limit = nil, offset = nil) ⇒ DescribeHealthCheckPoliciesRequest

Returns a new instance of DescribeHealthCheckPoliciesRequest.



594
595
596
597
598
599
# File 'lib/v20220501/models.rb', line 594

def initialize(clusterid=nil, filters=nil, limit=nil, offset=nil)
  @ClusterId = clusterid
  @Filters = filters
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 ID

  • Filters:

    · HealthCheckPolicyName 按照【健康检测策略名称】进行过滤。 类型:String 必选:否

  • Limit:

    最大输出条数,默认20,最大为100

  • Offset:

    偏移量,默认0



592
593
594
# File 'lib/v20220501/models.rb', line 592

def ClusterId
  @ClusterId
end

#FiltersObject

Parameters:

  • ClusterId:

    集群 ID

  • Filters:

    · HealthCheckPolicyName 按照【健康检测策略名称】进行过滤。 类型:String 必选:否

  • Limit:

    最大输出条数,默认20,最大为100

  • Offset:

    偏移量,默认0



592
593
594
# File 'lib/v20220501/models.rb', line 592

def Filters
  @Filters
end

#LimitObject

Parameters:

  • ClusterId:

    集群 ID

  • Filters:

    · HealthCheckPolicyName 按照【健康检测策略名称】进行过滤。 类型:String 必选:否

  • Limit:

    最大输出条数,默认20,最大为100

  • Offset:

    偏移量,默认0



592
593
594
# File 'lib/v20220501/models.rb', line 592

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • ClusterId:

    集群 ID

  • Filters:

    · HealthCheckPolicyName 按照【健康检测策略名称】进行过滤。 类型:String 必选:否

  • Limit:

    最大输出条数,默认20,最大为100

  • Offset:

    偏移量,默认0



592
593
594
# File 'lib/v20220501/models.rb', line 592

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



601
602
603
604
605
606
607
608
609
610
611
612
613
# File 'lib/v20220501/models.rb', line 601

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  @Limit = params['Limit']
  @Offset = params['Offset']
end