Skip to main content

Get a list of team resource statistics

Basic Information

This interface is mainly used to obtain a list of team resource statistics

请求路径
POST /openapi/v1/teams/resource
Body 请求体示例
[
{
"tenant_id": "string",
"region_name": "string"
}
]

request parameters

nameLocationtyperequiredChinese nameillustrate
bodybodyTenantRegionListnonone

return result

status codeStatus code meaningillustratedata model
200OKsuccessInline

return data structure

nametyperequiredconstraintChinese nameillustrate
anonymous[TeamAppsResource]falsenonenone
» total_cpuintegerfalsenonetotal cputotal cpu
» total_memoryintegerfalsenoneTotal memorytotal memory
» used_cpuintegerfalsenoneused cpuoccupy cpu
» used_memoryintegerfalsenoneUsed memoryused internal memory
» used_cpu_percentagenumberfalsenoneUsed cpu percentagepercentage of cpu
» used_memory_percentagenumberfalsenoneUsed memory percentagepercentage of memory used
» team_idstringtruenoneteam idTeam ID
» team_namestringtruenoneTeam nameTeam Name
» team_aliasstringtruenoneTeam aliasTeam nickname
响应示例
[
{
"total_cpu": 0,
"total_memory": 0,
"used_cpu": 0,
"used_memory": 0,
"used_cpu_percentage": 0,
"used_memory_percentage": 0,
"team_id": "string",
"team_name": "string",
"team_alias": "string"
}
]

Model

TenantRegionList

{
"tenant_id": "string",
"region_name": "string"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
tenant_idstringtruenoneTenant idtenant id
region_namestringtruenoneRegion namedata center name

TeamAppsResource

{
"total_cpu": 0,
"total_memory": 0,
"used_cpu": 0,
"used_memory": 0,
"used_cpu_percentage": 0,
"used_memory_percentage": 0,
"team_id": "string ",
"team_name": "string",
"team_alias": "string"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
total_cpuintegerfalsenonetotal cputotal cpu
total_memoryintegerfalsenoneTotal memorytotal memory
used_cpuintegerfalsenoneused cpuoccupy cpu
used_memoryintegerfalsenoneUsed memoryused internal memory
used_cpu_percentagenumberfalsenoneUsed cpu percentagepercentage of cpu
used_memory_percentagenumberfalsenoneUsed memory percentagepercentage of memory used
team_idstringtruenoneteam idTeam ID
team_namestringtruenoneTeam nameTeam Name
team_aliasstringtruenoneTeam aliasTeam nickname