Class: TencentCloud::Tke::V20220501::CreateNodePoolResponse

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

Overview

CreateNodePool返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodepoolid = nil, requestid = nil) ⇒ CreateNodePoolResponse

Returns a new instance of CreateNodePoolResponse.



354
355
356
357
# File 'lib/v20220501/models.rb', line 354

def initialize(nodepoolid=nil, requestid=nil)
  @NodePoolId = nodepoolid
  @RequestId = requestid
end

Instance Attribute Details

#NodePoolIdObject

Parameters:

  • NodePoolId:

    节点池 ID

  • RequestId:

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



352
353
354
# File 'lib/v20220501/models.rb', line 352

def NodePoolId
  @NodePoolId
end

#RequestIdObject

Parameters:

  • NodePoolId:

    节点池 ID

  • RequestId:

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



352
353
354
# File 'lib/v20220501/models.rb', line 352

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



359
360
361
362
# File 'lib/v20220501/models.rb', line 359

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