Class: TencentCloud::Tke::V20220501::ModifyHealthCheckPolicyRequest

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

Overview

ModifyHealthCheckPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, healthcheckpolicy = nil) ⇒ ModifyHealthCheckPolicyRequest

Returns a new instance of ModifyHealthCheckPolicyRequest.



1479
1480
1481
1482
# File 'lib/v20220501/models.rb', line 1479

def initialize(clusterid=nil, healthcheckpolicy=nil)
  @ClusterId = clusterid
  @HealthCheckPolicy = healthcheckpolicy
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 ID

  • HealthCheckPolicy:

    健康检测策略



1477
1478
1479
# File 'lib/v20220501/models.rb', line 1477

def ClusterId
  @ClusterId
end

#HealthCheckPolicyObject

Parameters:

  • ClusterId:

    集群 ID

  • HealthCheckPolicy:

    健康检测策略



1477
1478
1479
# File 'lib/v20220501/models.rb', line 1477

def HealthCheckPolicy
  @HealthCheckPolicy
end

Instance Method Details

#deserialize(params) ⇒ Object



1484
1485
1486
1487
1488
1489
1490
# File 'lib/v20220501/models.rb', line 1484

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['HealthCheckPolicy'].nil?
    @HealthCheckPolicy = HealthCheckPolicy.new
    @HealthCheckPolicy.deserialize(params['HealthCheckPolicy'])
  end
end