
# 获取性能加速资源上统计信息
#### 功能介绍
获取性能加速资源上统计信息
#### URI
GET /v1/{project_id}/eihealth-projects/performance-resources-statistics
表1路径参数 
| 参数         | 是否必选 | 参数类型   | 描述                                                                                                                   |
|:---|:---|:---|:---|
| project_id | 是    | String | 华为云项目ID，您可以从[获取项目ID](https://support.huaweicloud.com/api-eihealth/eihealth_33_0044.html)中获取。 最小长度：**1** 最大长度：**128** |
表2Query参数 
| 参数     | 是否必选 | 参数类型    | 描述                                                                                |
|:---|:---|:---|:---|
| limit  | 否    | Integer | 限制量，单次查询总量，必须由数字组成，默认为100，取值范围\[1,1000\] 最小值：**1** 最大值：**1000** 缺省值：**100**       |
| offset | 否    | Integer | 偏移量，查询起始偏移，必须由数字组成，默认为0，取值范围\[0,100000000\] 最小值：**0** 最大值：**100000000** 缺省值：**0** |
#### 请求参数
表3请求Header参数 
| 参数           | 是否必选 | 参数类型   | 描述                                                                                                                                                                         |
|:---|:---|:---|:---|
| X-Auth-Token | 是    | String | 用户Token。Token认证就是在调用API的时候将Token加到请求消息头，从而通过身份认证，获得操作API的权限，[获取Token](https://support.huaweicloud.com/api-eihealth/eihealth_33_0010.html)接口响应消息头中X-Subject-Token的值即为Token。 |
   
#### 响应参数
**状态码： 200**
表4响应Body参数 
| 参数                    | 参数类型                                                                                                       | 描述       |
|:---|:---|:---|
| count                 | Integer                                                                                                    | 性能加速资源总数 |
| performance_resources | Array of [PerformanceResourcesRsp] objects | 性能加速资源信息 |
   
 表5PerformanceResourcesRsp 
| 参数                | 参数类型    | 描述         |
|:---|:---|:---|
| id                | String  | 性能加速资源id   |
| name              | String  | 性能加速资源名称   |
| running_job_count | Integer | 当前运行中的作业总数 |
| schedulable       | Boolean | 资源是否可调度    |
   
#### 请求示例
无
#### 响应示例
**状态码： 200**
OK
```
{
  "count" : 1,
  "performance_resources" : [ {
    "id" : "0025ec57-9403-4a67-ae5f-ff79ffa847f7",
    "name" : "sfs-9403-4a67",
    "running_job_count" : 1,
    "schedulable" : true
  } ]
}
```
#### 状态码
| 状态码 | 描述 |
|:---|:---|
| 200 | OK |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-eihealth/ErrorCode.html)。
