Class: TencentCloud::Tke::V20220501::CreateHealthCheckPolicyResponse

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

Overview

CreateHealthCheckPolicy返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthcheckpolicyname = nil, requestid = nil) ⇒ CreateHealthCheckPolicyResponse

Returns a new instance of CreateHealthCheckPolicyResponse.



127
128
129
130
# File 'lib/v20220501/models.rb', line 127

def initialize(healthcheckpolicyname=nil, requestid=nil)
  @HealthCheckPolicyName = healthcheckpolicyname
  @RequestId = requestid
end

Instance Attribute Details

#HealthCheckPolicyNameObject

Parameters:

  • HealthCheckPolicyName:

    健康检测策略名称

  • RequestId:

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



125
126
127
# File 'lib/v20220501/models.rb', line 125

def HealthCheckPolicyName
  @HealthCheckPolicyName
end

#RequestIdObject

Parameters:

  • HealthCheckPolicyName:

    健康检测策略名称

  • RequestId:

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



125
126
127
# File 'lib/v20220501/models.rb', line 125

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



132
133
134
135
# File 'lib/v20220501/models.rb', line 132

def deserialize(params)
  @HealthCheckPolicyName = params['HealthCheckPolicyName']
  @RequestId = params['RequestId']
end