Class: TencentCloud::Tke::V20220501::DescribeHealthCheckPolicyBindingsRequest

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

Overview

DescribeHealthCheckPolicyBindings请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, filter = nil, limit = nil, offset = nil) ⇒ DescribeHealthCheckPolicyBindingsRequest

Returns a new instance of DescribeHealthCheckPolicyBindingsRequest.



665
666
667
668
669
670
# File 'lib/v20220501/models.rb', line 665

def initialize(clusterid=nil, filter=nil, limit=nil, offset=nil)
  @ClusterId = clusterid
  @Filter = filter
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 ID

  • Filter:

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

  • Limit:

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

  • Offset:

    偏移量,默认0



663
664
665
# File 'lib/v20220501/models.rb', line 663

def ClusterId
  @ClusterId
end

#FilterObject

Parameters:

  • ClusterId:

    集群 ID

  • Filter:

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

  • Limit:

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

  • Offset:

    偏移量,默认0



663
664
665
# File 'lib/v20220501/models.rb', line 663

def Filter
  @Filter
end

#LimitObject

Parameters:

  • ClusterId:

    集群 ID

  • Filter:

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

  • Limit:

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

  • Offset:

    偏移量,默认0



663
664
665
# File 'lib/v20220501/models.rb', line 663

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • ClusterId:

    集群 ID

  • Filter:

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

  • Limit:

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

  • Offset:

    偏移量,默认0



663
664
665
# File 'lib/v20220501/models.rb', line 663

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'lib/v20220501/models.rb', line 672

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