Class: TencentCloud::Tke::V20180525::DescribePrometheusAgentInstancesResponse

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

Overview

DescribePrometheusAgentInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instances = nil, requestid = nil) ⇒ DescribePrometheusAgentInstancesResponse

Returns a new instance of DescribePrometheusAgentInstancesResponse.



8541
8542
8543
8544
# File 'lib/v20180525/models.rb', line 8541

def initialize(instances=nil, requestid=nil)
  @Instances = instances
  @RequestId = requestid
end

Instance Attribute Details

#InstancesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Instances:

    关联该集群的实例列表

  • RequestId:

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



8539
8540
8541
# File 'lib/v20180525/models.rb', line 8539

def Instances
  @Instances
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Instances:

    关联该集群的实例列表

  • RequestId:

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



8539
8540
8541
# File 'lib/v20180525/models.rb', line 8539

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8546
8547
8548
8549
# File 'lib/v20180525/models.rb', line 8546

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