Quota
get_quota(id)
async
update_quota(id, quota)
async
Update a quota.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
int
|
The id of the quota to update. |
required |
quota |
QuotaUpdateReq
|
required |
get_quotas(reference=None, reference_id=None, sort=None, page=1, page_size=10, limit=None, **kwargs)
async
Get quotas.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
reference |
str
|
The reference type of the quota. TODO: document what these values can be. |
None
|
reference_id |
str
|
The reference id of the quota |
None
|
sort |
str
|
Sort method. Valid values include:
|
None
|
page |
int
|
The page number to retrieve resources from. |
1
|
page_size |
int
|
The number of resources to retrieve per page. |
10
|
limit |
int
|
The maximum number of quotas to retrieve. |
None
|
Returns:
Type | Description |
---|---|
List[Quota]
|
The quotas |