Files
cloudpods/docs/schemas/quota.yaml

134 lines
4.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
QuotaListResponse:
type: object
properties:
quotas:
type: array
items:
$ref: '#/quota'
QuotaGetResponse:
type: object
properties:
quotas:
type: object
$ref: '#/quota'
quota:
type: object
description: 配额信息
properties:
domain_id:
type: string
description: 在配额列表中只是当前配额的适用域ID
project_id:
type: string
description: 在配额列表中只是当前配额的适用项目ID
cpu:
type: integer
description: CPU配额
memory:
type: integer
description: 内存配额(MB)
storage:
type: integer
description: 虚拟机磁盘配额MB
port:
type: integer
description: 内网网口配额(个数)
eip:
type: integer
description: 公网IP配额个数
secgroup:
type: integer
description: 安全组配额(个数)
isolated_device:
type: integer
description: 透传设备GPU配额
snapshot:
type: integer
description: 快照配额(个数)
bucket:
type: integer
description: 对象存储存储桶配额(个数)
object_gb:
type: integer
description: 对象存储容量配额GB
object_cnt:
type: integer
description: 对象存储个数配额(个数)
image:
type: integer
description: 镜像配额
usage.cpu:
type: integer
description: CPU使用量
usage.memory:
type: integer
description: 内存使用量
usage.storage:
type: integer
description: 虚拟机磁盘使用量MB
usage.port:
type: integer
description: 内网网口使用量(个数)
usage.eip:
type: integer
description: 公网IP使用量个数
usage.secgroup:
type: integer
description: 安全组使用量(个数)
usage.isolated_device:
type: integer
description: 透传设备GPU使用量
usage.snapshot:
type: integer
description: 快照使用量(个数)
usage.bucket:
type: integer
description: 对象存储存储桶使用量(个数)
usage.object_gb:
type: integer
description: 对象存储容量使用量GB
usage.object_cnt:
type: integer
description: 对象存储个数使用量(个数)
usage.image:
type: integer
description: 镜像使用量
total.cpu:
type: integer
description: 该字段只有域配额才有代表该域分配给下属项目的CPU配额的总和
total.memory:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的内存配额的总和
total.storage:
type: integer
description: 该字段只有域配额才有代表该域分配给下属项目的虚拟机磁盘配额MB的总和
total.port:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的内网网口配额(个数)的总和
total.eip:
type: integer
description: 该字段只有域配额才有代表该域分配给下属项目的公网IP配额个数的总和
total.secgroup:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的安全组配额(个数)的总和
total.isolated_device:
type: integer
description: 该字段只有域配额才有代表该域分配给下属项目的透传设备GPU配额的总和
total.snapshot:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的快照配额(个数)的总和
total.bucket:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的对象存储存储桶配额(个数)的总和
total.object_gb:
type: integer
description: 该字段只有域配额才有代表该域分配给下属项目的对象存储容量配额GB的总和
total.object_cnt:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的对象存储个数配额(个数)的总和
total.image:
type: integer
description: 该字段只有域配额才有,代表该域分配给下属项目的镜像配额的总和