Class: TencentCloud::Tke::V20220501::HealthCheckPolicyBinding

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

Overview

健康检测策略和节点池的绑定关系

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, createdat = nil, nodepools = nil) ⇒ HealthCheckPolicyBinding

Returns a new instance of HealthCheckPolicyBinding.



985
986
987
988
989
# File 'lib/v20220501/models.rb', line 985

def initialize(name=nil, createdat=nil, nodepools=nil)
  @Name = name
  @CreatedAt = createdat
  @NodePools = nodepools
end

Instance Attribute Details

#CreatedAtObject

Parameters:

  • Name:

    健康检测策略名称

  • CreatedAt:

    规则创建时间

  • NodePools:

    关联节点池数组



983
984
985
# File 'lib/v20220501/models.rb', line 983

def CreatedAt
  @CreatedAt
end

#NameObject

Parameters:

  • Name:

    健康检测策略名称

  • CreatedAt:

    规则创建时间

  • NodePools:

    关联节点池数组



983
984
985
# File 'lib/v20220501/models.rb', line 983

def Name
  @Name
end

#NodePoolsObject

Parameters:

  • Name:

    健康检测策略名称

  • CreatedAt:

    规则创建时间

  • NodePools:

    关联节点池数组



983
984
985
# File 'lib/v20220501/models.rb', line 983

def NodePools
  @NodePools
end

Instance Method Details

#deserialize(params) ⇒ Object



991
992
993
994
995
# File 'lib/v20220501/models.rb', line 991

def deserialize(params)
  @Name = params['Name']
  @CreatedAt = params['CreatedAt']
  @NodePools = params['NodePools']
end