Class: TencentCloud::Tke::V20220501::DescribeHealthCheckTemplateResponse

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

Overview

DescribeHealthCheckTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthchecktemplate = nil, requestid = nil) ⇒ DescribeHealthCheckTemplateResponse

Returns a new instance of DescribeHealthCheckTemplateResponse.



966
967
968
969
# File 'lib/v20220501/models.rb', line 966

def initialize(healthchecktemplate=nil, requestid=nil)
  @HealthCheckTemplate = healthchecktemplate
  @RequestId = requestid
end

Instance Attribute Details

#HealthCheckTemplateObject

Parameters:

  • HealthCheckTemplate:

    健康检测策略模板

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



964
965
966
# File 'lib/v20220501/models.rb', line 964

def HealthCheckTemplate
  @HealthCheckTemplate
end

#RequestIdObject

Parameters:

  • HealthCheckTemplate:

    健康检测策略模板

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



964
965
966
# File 'lib/v20220501/models.rb', line 964

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



971
972
973
974
975
976
977
# File 'lib/v20220501/models.rb', line 971

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