查看配额状态-GetUFileQuota

查看配额状态

Request Parameters

Parameter nameTypeDescriptionRequired
QuotaTypestring配额类型,取值为storage-volume, download-traffic或request-countYes
ProjectIdstring项目IDNo
该API无法展示地域信息,获取地域配额信息请使用GetUFileQuotaInfo

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
LeftQuotafloat剩余的配额数值No

Request Example

https://api.ucloud.cn/?Action=GetUFileQuota
&QuotaType=storage-volume

Response Example

{
    "Action": "GetUFileQuotaResponse",
    "Retcode": 0,
    "LeftQuota": 55
}