action | 说明 |
---|---|
add | 增量增加配额 |
sub | 增量减少配额 |
reset | 重置所有配额为0 |
replace | 替换所有配额,对于不存在的配额项,设置为0 |
update | 更新存在的配额 |
delete | 删除配额 |
{
"image_quotas": {
"Image": 0,
"Type": "string",
"action": "string",
"created_at": "2019-08-24T14:15:22Z",
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"domain_id": "string",
"project_id": "string",
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z"
}
}
curl --location --request POST 'https://example.com:30888/image_quotas//' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_quotas": {
"Image": 0,
"Type": "string",
"action": "string",
"created_at": "2019-08-24T14:15:22Z",
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"domain_id": "string",
"project_id": "string",
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z"
}
}'
{
"region_quotas": [
{
"account": "string",
"account_id": "string",
"brand": "string",
"bucket": 0,
"cache": 0,
"cloud_env": "string",
"created_at": "2019-08-24T14:15:22Z",
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"domain": "string",
"domain_id": "string",
"eip": 0,
"eport": 0,
"instance_snapshot": 0,
"loadbalancer": 0,
"manager": "string",
"manager_id": "string",
"mongodb": 0,
"object_cnt": 0,
"object_gb": 0,
"port": 0,
"project": "string",
"project_id": "string",
"provider": "string",
"rds": 0,
"region": "string",
"region_id": "string",
"snapshot": 0,
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z"
}
]
}