云桌面 WORKSPACE-查询租户配额:响应参数

时间:2025-02-28 14:34:18

响应参数

状态码:200

表3 响应Body参数

参数

参数类型

描述

quotas

QuotaNoLimit object

配额信息。

site_quotas

Array of SiteQuotaNoLimit objects

站点配额信息,暂不包括中心站点。

表4 QuotaNoLimit

参数

参数类型

描述

resources

Array of ResourceNoLimit objects

配额资源列表。

表5 SiteQuotaNoLimit

参数

参数类型

描述

resources

Array of ResourceNoLimit objects

配额资源列表。

site_id

String

站点ID。

表6 ResourceNoLimit

参数

参数类型

描述

type

String

资源类别。

general_instances:普通桌面

Memory:内存

cores:CPU

volumes:磁盘数量

volume_gigabytes:磁盘容量

gpu_instances:GPU桌面

deh:云办公主机

users:用户

policy_groups: 策略组

Cores: CPU(配额工具使用)

quota

Integer

配额数。

used

Integer

配额已用值。

unit

String

配额单位。

状态码:400

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:401

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:403

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:404

表10 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:500

表11 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

support.huaweicloud.com/api-workspace/ShowQuotas.html